ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William I. Zumwalt" <wizumw...@yahoo.com>
Subject help w/ jar files
Date Fri, 27 Aug 2004 16:06:24 GMT
In case this gets posted a few times ... apologies.

How do I include the files under the 'web' directory
as shown in the 'includes' attribute, yet not include
the 'web' directory itself? In otherwords, I want the
files under 'web' to be in the top level of the jar
file just as 'com/**' does. 

<jar destfile = "${proj.dist}/${proj.name}.war"
    basedir = "${proj.temp}"
    includes = "web/**, com/**"
    excludes = "com/comp/management/ejb/**, META-INF">
</jar>

---
The dir structure ${proj.temp} looks like ...

|- web/
|   |- *.html, *.vm, etc...
|   |- META-INF/ (for web-app)
|   |- WEB-INF/
|
|- com/
|   |- *.class
|   
|- META-INF/ (for ejb's)


Any help much appreciated.
Will





		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message