A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Engineering
»
Ant, Maven and Other Build Tools
Author
Not able to Exclude Multiple JAR files while doing a build
Praneet Mirchandani
Ranch Hand
Joined: Dec 16, 2009
Posts: 46
posted
Apr 07, 2011 05:04:49
0
Hi,
I am trying to exclude multiple JAR files through my build script. For now I have successfully managed to exclude only one JAR file. Here is the code:
<fileset id="wmc.pricing.struts.build.dependencies" dir="${wmc.pricing.struts.lib.dir}" excludes="**/tomcat-dbcp.jar"> </fileset>
I tried to exclude multiple JAR files using the below code. However this didnt work.
<fileset id="wmc.pricing.struts.build.dependencies" dir="${wmc.pricing.struts.lib.dir}" excludes="**/tomcat-dbcp.jar, **/servlet-api.jar"> </fileset>
Any idea how to exclude multiple JAR files?
Please let me know.
Thanks,
Praneet
I agree. Here's the link:
http://zeroturnaround.com/jrebel
subject: Not able to Exclude Multiple JAR files while doing a build
Similar Threads
Pre Compiling jsp
ant exception
HOW TO COMPILE JAVA FILES PROGAMMATICALLY
Building Seam projects in Eclipse
BUILD FAILED in Build.xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter