Win a copy of Design for the Mind this week in the Design 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