ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Wood <>
Subject Re: Javac task doesn't stop on error
Date Sat, 09 Dec 2000 05:39:53 GMT
My personal philosophy is that if something broke, nothing
more should follow. However, I also sometimes have to
face reality :^)

So, I did a local mod to Javac task to have an attribute
called 'proceed' that is false by default. In that case,
the compilation thows the build exception, and subsequent
tasks don't run. But if 'proceed' is set to 'on' in the buildfile,
then the Javac does NOT throw the build exception, it
logs a message that errors occured, but the build is proceeding...

Diane Holt wrote:

> --- Tim McCune <> wrote:
> > Basically, if one of the source files doesn't compile, the javac task
> > keeps on chugging.  I'd like it to stop in the case of a failure.
> > Any suggestions?
> Actually, I'm looking for just the opposite -- I want not only the <javac>
> task to keep on "keep on chugging", but the ant run as well (the old
> "keepgoing" issue).
> Diane
> =====
> (
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.

View raw message