0 Replies Latest reply on Jun 28, 2006 1:01 PM by Anonymous User

    Synchronous/programatic EAR deployment

    Anonymous User Newbie

      Hi all,

      I'm trying to detect if the deployment of my EAR file has succeeded from within a script. We have lots of tricky JNDI wiring that needs to be done, and it often goes wrong, so I want my "ant deploy" script to fail if the EAR fails to deploy cleanly.

      Most people seem to be using the DeploymentScanner to deploy stuff. While this is neat, it makes it a bit tricky to work out if your EAR has deployed OK.

      Does anyone know of a way to block until the deployment has succeeded or failed, and returned an error message of some kind?