ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Exiting ant task without aborting build
Date Thu, 17 Mar 2005 06:36:25 GMT
sure, while coding the task you can simply exit the execute() method without
throwing a BuildException.

mmh or do you mean from inside the buildfile?
It cant - a task is an atomic instruction. You couldnt stop a
System.out.println("test") while 
execution.


Jan

> -----Ursprüngliche Nachricht-----
> Von: Michael Pelz Sherman [mailto:mpelzsherman@yahoo.com]
> Gesendet am: Donnerstag, 17. März 2005 00:50
> An: Ant Users List
> Betreff: Exiting ant task without aborting build
> 
> Is there a way to exit an ant task without aborting the 
> entire build (i.e.
> using the <fail> task)?
> 
> Thanks,
> - mps
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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