I have a relatively simple target (below) that starts tomcat
in a separate VM and then deploys a war into that tomcat
and then runs a junit test in a separate VM.
<target name="test" depends="init">
<parallel>
<antcall target="start_tomcat"/>
<sequential>
<sleep seconds="20"/>
<antcall target="deploy"/>
<sleep seconds="5"/>
<antcall target="runtests"/>
<antcall target="stop_tomcat"/>
</sequential>
</parallel>
</target>
However the junit test never seems to start. There are no
junit logs written and ant never returns.
The runtests target is...
<target name="runtests">
<echo message="running tests" />
<junit printsummary="yes" haltonfailure="yes" haltonerror="yes" fork="yes">
<classpath refid="project.class.pathrunjunit"/>
<formatter type="plain" />
<test name="com.peopledoc.dmintegration.module.DmIntSoapTest" />
</junit>
</target>
I get the echo but then it seems to hang and not return.
Any clues would be much appreciated.
Thanks.
Stuart.
Stuart Barlow
Tel: +44 131 468 8205
*************************************************************************
Information in this email is confidential and may be privileged. It is
intended for the named addressee(s) only. If you have received it in
error please notify the sender immediately and delete it from your
system. You should not otherwise copy, retransmit, use or disclose its
contents to anyone.
*************************************************************************
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>