ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knuplesch, Jürgen <Juergen.Knuple...@icongmbh.de>
Subject Errorhandling using exec and cmd.exe
Date Fri, 12 Oct 2007 10:10:03 GMT

Hello,

We have an Ant-File that executes a Batch-File (Windows .bat) and if the Batchfile fails,
We get a return code=0.
But we want to evaluate errors. 

How can the Batchfile tell the ANT-Skript that an error occurred?

Greetings

Jürgen


-- 
Jürgen Knuplesch                    www.icongmbh.de
icon Systemhaus GmbH                Tel. +49 711 806098-275
Sophienstraße 40                    
D-70178 Stuttgart                   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message