• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

errors generated when running Ant build file in Eclipse

 
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic