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 <[EMAIL PROTECTED]> 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 > > ===== > ([EMAIL PROTECTED]) > > __________________________________________________ > Do You Yahoo!? > Yahoo! Shopping - Thousands of Stores. Millions of Products. > http://shopping.yahoo.com/
