Jim Crossley wrote:
Use ant's <get> task to hit the jmx-console. The URL should look like this:I just played with this, to see what would happen, and it indeed does wait until it has been deployed. Messages during this indicates to me that this procedure is not a "Wait until all deployment is finished" but a replacement for my file copying, but that is ok on my development machine.
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.
I will rewrite my deploy target on Monday - thanks for a good suggestion.
--
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: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user