ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cognet.com.au>
Subject Re: Multiple builds and failures
Date Wed, 20 Dec 2000 21:46:02 GMT
David,

Ant's general philosohpy to date has been to fail quickly. If there is some
problem, Ant does not try to limp along. You fix it and build again. If you
want that changed, it would be best to get involved in the Ant-Dev
discussions about Ant's future direction.

> From: <David.Bailey@lawson.com>
> To: <ant-user@jakarta.apache.org>
>
> It appears, however, that a single error in one subdirectory halts the
entire
> build.  I'm assuming that this is due to the fact that ant slurps up all
the
> data in all the build.xml files and tries to execute everything in one
fell
> swoop with a single JVM.  So the question is, short of using <java />
with the
> 'fork' attribute to perform each separate build, is there any way to get
ant to
> continue building regardless of errors it may encounter?

Your assumption is not quite right. the builds are run relatively
independently, but within the same VM. Ant, however, takes into account the
results from a sub-build and propagates any build exceptions to the parent
build, halting it too.

Conor



Mime
View raw message