ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Vernum <Tim.Ver...@macquarie.com.au>
Subject RE: <exec> problem with exit value
Date Mon, 09 Apr 2001 07:58:57 GMT

From: Vincent Massol [mailto:vmassol@octo.fr]

> I am trying to use the exec task to call another ant build 
> file in some
> other directory (I don't want ot use the <ant> task to do 
> that because I
> don't want to inherit any of the properties from the calling 
> build.xml).
> However, when the called ant build file fails, the calling 
> build file does
> not generate a "build failed" and does not stop.

Have you thought about maybe using the <java> task, and calling
 the ant Main class?

Mime
View raw message