ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Ortiz" <chrono.d...@gmail.com>
Subject On error Redo some TasK
Date Tue, 13 May 2008 06:06:24 GMT
Hi,Here is my question, how do i redo or execute some task's when another
fail

for example , if targetA fail go to onErrorTargetATarget...

 <target name="targetA" >
        ....
    </target>

 <target name="onErrorTargetATarget" >
        ....
<delete ..... />
    </target>

been the main mainTarget


 <target name="mainTarget" depends="targetA, targetB, targetC" >
        ....
    </target>

thks in advance

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message