This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I add a jar file to a War file WEB-INF/lib directory

 
Tony Evans
Ranch Hand
Posts: 598
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a simple webservice but now I need to add a Jar file to the WEB-INF/lib directory in my WAR file, has anyone got a good example of how to do this. Thanks

Tony
 
Tony Evans
Ranch Hand
Posts: 598
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<target name="utiljar">
<wspackage output="${build}/${ear_file}" warName="${war_file}" overwrite="False" utilJars="${lib}/${middleware_jar_file}"/>
</target>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic