ant-user mailing list archives

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

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 name="a" depends="check.error" if="lll">		
		<antcall target="sendmail"/>

regards zacky

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

View raw message