This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Author

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

ArunSankar Kumarakurubaran
Greenhorn

Joined: Jan 29, 2010
Posts: 1
BUILD FAILED
/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
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: org.apache.tools.ant.ProjectHelper.addLocationToBuildException (ProjectHelper.java:541)
 
Similar Threads
Fully Automate Build & Deployment Using Ant
Got problem while building the application
Build Error
difficulty installing Sun's JWSDP
help me regarding ExceptionInInitializerError while build