http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.lang.String&arg=${deploy.target}
Your deploy.target property should look something like this: file:/the/path/to/your/app.ear
The <get> task is synchronous, so upon its return, your app will be deployed. That way, your test target may depend on your deploy target.
Good luck,
Jim
Thorbjørn Ravn Andersen wrote:
I would like for my "ant deploy" task - which currently just copies files into server/default/deploy - to wait until JBoss has finished deploying and is ready to serve again, as I have a status page I would like to be automatically checked to confirm that things are ok, before continuing. Jetty reports a 404 until things are fully deployed :(
Can this be done? Or can I make Jetty wait to serve the request until the whole system is ready again?
[If this is in the pay-documentation, please say so. My work does not have a credit card :( ]
Thorbjørn Ravn Andersen Scandiatransplant
Skejby Sygehus, indgang 3
+45 89 49 53 01 DK-8200 Århus N
http://biobase.dk/~tra
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user