AW: Errorhandling using exec and cmd.exe

2007-10-12 Thread Jan.Materne
n [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 12. Oktober 2007 12:10 >An: user@ant.apache.org >Betreff: 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. &g

Errorhandling using exec and cmd.exe

2007-10-12 Thread Knuplesch , Jürgen
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 Knupleschwww.icongmbh.d