wood burning stoves 2.0
The moose likes Ant, Maven and Other Build Tools and the fly likes org.apache.tools.ant.ProjectHelper.addLocationToBuildException (ProjectHelper.java:541) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "org.apache.tools.ant.ProjectHelper.addLocationToBuildException (ProjectHelper.java:541)" Watch "org.apache.tools.ant.ProjectHelper.addLocationToBuildException (ProjectHelper.java:541)" New topic

org.apache.tools.ant.ProjectHelper.addLocationToBuildException (ProjectHelper.java:541)

ArunSankar Kumarakurubaran

Joined: Jan 29, 2010
Posts: 1
/tmp/arun/partial_build/Scripts/build.xml:53: The following error occurred while executing this line:
/tmp/arun/partial_build/Scripts/build.xml:66: The following error occurred while executing this line:
/tmp/arun/partial_build/Scripts/build.xml:82: The following error occurred while executing this line:
/tmp/arun/partial_build/Scripts/build.xml:132: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)

Under what conditions these errors may come? From ant source code.

Please help me in this.

(Edited the title so it doesn't cause displays to be absurdly wide -- Paul C)
Peter Johnson

Joined: May 14, 2008
Posts: 5852

ArunSankar, welcome to Java Ranch!

We can help you better if you tell the details. Please provide the build.xml file (or at least the target that gets the error) and the full output for that target, including the "compiler error output" mentioned in the text you posted.

You might also run the build with the -v flag to see if that gives more information about the error.

JBoss In Action
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: org.apache.tools.ant.ProjectHelper.addLocationToBuildException (ProjectHelper.java:541)
It's not a secret anymore!