File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

errors generated when running Ant build file in Eclipse

 
Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to complete a tutorial on ANT. I have created a project and the project calls for creating the WAR file using ANT. I am trying to to implement this in my dynamic web project in Eclipse and all my JAR files sit on the server and NOT in the lib directory of WEB-INF. I made a reference to this in my BUILD.XML file but I'm getting errors.

Here is my BUILD.XML file which I think is pretty simplistic:



The checked (selected) targets to execute in the TARGETS tab of the Edit Configuration dialog box in Eclipse are:

init
compile
war

Here are the errors that is being generated when I right-click the build.xml file and RUN AS ANT BUILD:



Being new to ANT, I'm not sure what I'm doing wrong. Any help/direction would be appreciated.

Thanks.
 
Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just got my problem resolved, I think because I was able to run a successful build with a generated WAR file.

I added the following to the compile which I had missed:



Thanks anyway.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic