----- Original Message -----
Sent: Monday, January 22, 2001 5:11 PM
Subject: getting result back from an <exec> task

Is there any way to get the exit code from an <exec> (or an <ant>) task and use that - put it into a property, something like that? 
It would be possible to put the exit-code from exec into a property (by changing ant's code). Currently both will completely exit the build-process. For exec you could use 'failonerror="false"' to avoid this, but you can't test for the result form inside your buildfile.
 
Can you tell us for what you would use this?
 
Nico
 

Reply via email to