ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Azoulay, Zacky" <zacky.azou...@sap.com>
Subject run some targets even if one of them was fail.
Date Wed, 17 Jul 2002 06:59:23 GMT
Hi,

I need to run some target even if one of them was fail.

can we run a target and continue if it was fail.

I need to run mail target from the same build xmlfile in case of another target was fail.


	 <target name="check.error"  >		
			<fail message="mmm"/>
			<property name="lll" value="aaa"/>
	</target>

	 <target name="a" depends="check.error" if="lll">		
		<antcall target="sendmail"/>
	</target>

regards zacky


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


Mime
View raw message