Win a copy of Event Streams in Action this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Java XML Pack & Tomcat

 
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On setting up the Java XML pack, the instructions said this:
Note: When you run the examples on Tomcat you must copy all the JAR files from the Java XML Pack to CATALINA_HOME/common/lib. Some of these files already exist in Tomcat distribution and should be overwritten by the Java XML Pack JARs.
I�m using ant to build & deploy my projects, so wouldn�t it be easier just to specify something in my build.xml file?
I�m not sure what though - anyone give me a hint?
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you post ir any build.xml file here then we may have an idea what to do?
what do u say?
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My build.xml file doesn't have anything in it! I am trying to get someone to help me specify what I should put there to make ant find the XML classes to compile with, and to grab them and put them in the right place for tomcat to run the app with them too...
 
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adam - look in your "....tomcat...../examples" directory for a build.xml file that can be used as a pattern for any of your servlet/JSP type projects.
There is also documentation in the Ant user manual on writing simple application build.xml files.
HTH, Guy
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!