You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Erik Svendsen <es...@lyngso-industri.dk> on 2000/10/18 10:21:48 UTC

Is this an expected exception when a build fails?

Hi

When I encounter an error in a file, the build fails. Thats OK, but
why do I get the following exception and stacktrace??

I am running v1.2rc

PS: It does the same when running the modern compiler

BUILD FAILED

z:\pro\work\esv\src\build.xml:110: Error starting classic compiler:
z:\pro\work\esv\src\build.xml:110: Compile failed, messages should ha
ve been provided.
        at
org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java:480)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:332)
        at org.apache.tools.ant.Target.execute(Target.java:142)
        at org.apache.tools.ant.Project.runTarget(Project.java:818)
        at org.apache.tools.ant.Project.executeTarget(Project.java:532)
        at org.apache.tools.ant.Project.executeTargets(Project.java:506)
        at org.apache.tools.ant.Main.runBuild(Main.java:400)
        at org.apache.tools.ant.Main.main(Main.java:130)

Total time: 4 seconds
Error starting classic compiler:

---
Erik Svendsen  
Software Engineer  
Lyngsø Industri  A/S  
tlf: +45 96 980 980  
email: esv@lyngso-industri.dk



Re: Is this an expected exception when a build fails?

Posted by Stefan Bodewig <bo...@bost.de>.
Thanks, I've fixed it in CVS.

Stefan