| Author |
How to add multiple JARs in a Single WAR file using ANT1.6 ?
|
Shrinivas Mujumdar
Ranch Hand
Joined: Aug 27, 2004
Posts: 328
|
|
Hello Everyone, Can anyobody tell me How to add multiple JARs in a Single WAR file using Ant1.6.3? Thanks in advance SHRINIWAS MUJUMDAR
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56150
|
|
|
As with any other type of file: by specifying an appropriate fileset element.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Pratik Lohia
Ranch Hand
Joined: May 05, 2005
Posts: 88
|
|
<war destfile="${build.dir}\strideWeb.war" basedir="${build.dir}\strideWeb" webxml="${build.dir}\strideWeb\WebContent\WEB-INF\web.xml" includes="**\*.*" excludes="WebContent\WEB-INF\**\*.*" manifest="${build.dir}\strideWeb\WebContent\META-INF\MANIFEST.MF"> <webinf dir="${build.dir}\strideWeb\WebContent\WEB-INF"> </webinf> </war> The basedir path contains all the jars I want to include in my war file. Hope this helps
|
 |
 |
|
|
subject: How to add multiple JARs in a Single WAR file using ANT1.6 ?
|
|
|