--- David Corbin <[EMAIL PROTECTED]> wrote:
> Does Ant return a different code to indicate failure?  If so, this could
> be done by modifying (or wrapping) the ANT launch script...

Yes. I added the following to my 'ant' script:

  java -classpath $LOCALCLASSPATH ... || {
    exit 1
  }
  exit 0

so I can do 'ant || dosomethingonfailure'. I could also add a
dosomethingonfailure in the "exit 1" block and/or a dosomethingonsuccess
before the "exit 0", just haven't yet.

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/

Reply via email to