ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Sorry... Wrong subject from previous email. (echo statements not in order)
Date Mon, 04 Aug 2003 16:44:06 GMT
The sequence of 'echo' messages seems to be out of
wack... I'm using the <parallel> tag with an embedded
<sequential> tag but this doesn't make sense. Can
someone explain this?

Here's my target:

	<target name="deploy.test" depends="cptests">
			<echo message="Starting Tomcat"/>
			<antcall target="tc"/>
			<echo message="Finished Tomcat, should be started
				<sleep minutes="7"/>
				<echo message="Finished sleeping for 5 minutes"/>
				<echo message="[*** Starting Unit Tests ***]" />
				<antcall target="test" />
				<echo message="[*** Completed Unit Tests ***]" />
				<echo message="Shutting down Tomcat"/>
				<antcall target="stop.tomcat"/>
				<echo message="Finished Shutting down Tomcat"/>


The echos in my logs don't seem to be in the right

The 'tc' target should be showing up in between
'Starting Tomcat' and 'Finished Tomcat, should be
started'. Why would it execute the 'Finished Tomcat'
echo when Tomcat did not complete?

     [echo] Starting Tomcat
     [echo] Finished Tomcat, should be started

     [echo] [*** STARTING TC... ***]

------- End of forwarded message -------

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message