I have an ant task that starts and stops jboss:
<target name="run-jboss">
<parallel>
<echo message="--------------- atempting to start JBoss ------------"/>
<exec dir="c:\java\jboss\bin" executable="cmd.exe" os="Windows XP">
<arg line="/c c:\java\jboss\bin\run_unid_nocache.bat"/>
</exec>
<sequential>
<echo message="--------------- waiting fo Jboss to
start ------------"/>
<waitfor maxwait="5" maxwaitunit="minute" checkevery="30"
checkeveryunit="second">
<http url="http://localhost:9080/app"/>
</waitfor>
<echo message="--------------- I think Jboss is started ------------"/>
<echo message="++++++++++++++++++++++++ Stopping JBoss
++++++++++++++++++++++++++"> </echo>
<exec dir="c:\java\jboss\bin" executable="cmd.exe" os="Windows XP">
<arg line="/c c:\java\jboss\bin\shutdown.bat -s localhost:1099"/>
</exec>
<echo message="++++++++++++++++++++++++ JBoss Stopped
++++++++++++++++++++++++++"> </echo>
</sequential>
</parallel>
</target>
the problem is that the ant task never finish execution, although the jboss
is stopped. I think the java process is never killed. Any body has any
ideea?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]