AW: On error Redo some TasK

2008-05-12 Thread Jan.Materne
There is no built-in mechanism for that. If a task fails - the build fails. You could try something with conditional targets and AntContrib: ... ...same... Some targets failed. - TargetA: ${failed.A} ... Jan > -Ursprü

AW: On fail listener?

2007-01-15 Thread Jan.Materne
Ask the BuildEvent for further information ... Jan ---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-< import org.apache.tools.ant.BuildListener; import org.apache.tools.ant.BuildEvent; import java.io.*; public class BuildFailedListener implements BuildListener {

AW: On fail listener?

2007-01-10 Thread Jan.Materne
Using custom BuildListeners. http://ant.apache.org/manual/listeners.html http://ant.apache.org/manual/develop.html#buildevents http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/BuildListener.java Jan >-Ursprüngliche Nachricht- >Von: James Carr [mailto:[EMAIL

AW: on

2005-11-21 Thread Jan.Materne
Mmh - working for Ant 1.7 you could use nested . There is a for them... Jan >-Ursprüngliche Nachricht- >Von: Dominique Devienne [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 21. November 2005 16:48 >An: Ant Users List >Betreff: Re: on > >On 11/21/05, Antoine Levy-Lambert <[EMAIL PROT