Running Ant from BATCH FILES  
Author Message
mel_palmeruk





PostPosted: 2005-6-9 18:02:00 Top

java-programmer, Running Ant from BATCH FILES Hi

Does anyone know is it possible to conditionally continue with a batch
file depending on the result of an ant script.

I want to only continue with the batch file if the ant command was
succesfull - otherwise abort the script for user to see the error.

Thanks in Advance.

 
Thomas Kellerer





PostPosted: 2005-6-9 18:30:00 Top

java-programmer >> Running Ant from BATCH FILES On 09.06.2005 12:02 email***@***.com wrote:
> Hi
>
> Does anyone know is it possible to conditionally continue with a batch
> file depending on the result of an ant script.
>
> I want to only continue with the batch file if the ant command was
> succesfull - otherwise abort the script for user to see the error.
>
Just have a look at ant.bat how it's done there.

Thomas