ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Hegewald <tychoh...@googlemail.com>
Subject Check JBoss 7 EAR is deployed
Date Thu, 05 Apr 2012 09:51:13 GMT
Hi,

i'm starting a jboss 7.1.1 with an exec task:

<target name="start">
	<exec dir="jboss_home/bin" executable="cmd.exe" spawn="true">
		<arg line="/c call standalone.bat" />
	</exec>
</target>

this works for me.
Now i want to check if the EAR inside the deployment folder is fully deployed.
I tryed with "waitFor " but i can't run antoher "Exec" inside  the
waitFor to check the Application is up.

A simple http request is not sufficient, because the localhost:8080 is
running before the Application is fully deployed.

Thanks
Sebastian

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message