• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Error code _from_ ANT

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am trying to execute an ANT build.xml file from within a PERL script. I would like the ANT process to return an error code if there is a problem somewhere in its execution.
I have tried "haltonerror" etc. But these error codes remain within the ANT process, and the process does not exit back to the outer PERL process.
Any help will be very much appreciated. Thanks !
P.S: Just want to say hi, since I am new to this message board
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having the same problem. I want to capture ant failures in the batch file or shell script I use to call ant.

Does ant expose the error code to the outer envirnoment?
 
reply
    Bookmark Topic Watch Topic
  • New Topic