ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Azoulay, Zacky" <>
Subject send mail if target fail
Date Tue, 16 Jul 2002 19:35:41 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