You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Knuplesch,
Jürgen <Ju...@icongmbh.de> on 2007/10/12 12:10:03 UTC
Errorhandling using exec and cmd.exe
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