ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: How can I exit from Ant when running my own task?
Date Mon, 11 Aug 2003 12:39:39 GMT
throw a new one?


try {
    // a BuildException maybe thrown here
} catch (BuildException be) {
    // your handling
    throw new BuildException(be);
}



Jan

> -----Original Message-----
> From: Bui Dinh Chien [mailto:ChienBD@fsoft.com.vn]
> Sent: Monday, August 11, 2003 2:47 PM
> To: Ant Users List
> Subject: How can I exit from Ant when running my own task?
> 
> 
> Hi all,
> I use Ant task in my own task.
> In my own task I catch BuildException for Ant task error. So how can I
> exit from Ant when Ant task throws BuildException?
> 

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