ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurele Venet <>
Subject improved <fail/> task
Date Thu, 17 Jun 2004 14:05:01 GMT

I have changed the <fail/> task so as to be able to add an optional 
error status int value returned by ant when and if it exists.  Basically 
it goes like:

<fail message="" unless="prop1" status="1"/>

this allows for easier integration with automated shell scripts that may 
report various causes for errors or warnings.  Would this be a valuable 
addition to the main distro?



 Quote: The surest sign that intelligent life exists elsewhere in the
        universe is the fact that it has never tried to contact us.

  Aurele Vrata Venet
  European Space Astronomy Center
  P.O. Box 50727, 28080 Madrid - SPAIN
  Tel: +34 91 81 31 331 
  Fax: +34 91 81 31 322
  Ext: 322                                                            ;

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message