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ü
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 {
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
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