ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billy.ba...@thirty3.net
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">
		<parallel>
			<echo message="Starting Tomcat"/>
			<antcall target="tc"/>
			<echo message="Finished Tomcat, should be started
successfully"/>
			<sequential>
				<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"/>
			</sequential>
		</parallel>
	</target>

=======================

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

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?

deploy.test:
     [echo] Starting Tomcat
     [echo] Finished Tomcat, should be started
successfully

tc:
     [echo] [*** STARTING TC... ***]

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

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


Mime
View raw message