ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22240] - 'excludes' attribute of war task fails to exclude files included by a nested fileset.
Date Fri, 08 Aug 2003 14:24:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22240

'excludes' attribute of war task fails to exclude files included by a nested fileset.





------- Additional Comments From peter.reilly@corvil.com  2003-08-08 14:24 -------
Except that the excludes does not work for those...
see
<project>
    <typedef resource="net/sf/antcontrib/antlib.xml"/>
    <delete quiet="yes" dir="src"/>
    <delete quiet="yes" file="w.war"/>
    <mkdir dir="src"/>
    <touch file="app.xml"/>
    <touch file="src/x.xml"/>
    <war destfile="w.war" webxml="app.xml" excludes="**/x.xml">
        <classes dir="src"/>
    </war>
    <shellscript shell="bash">
        jar tf w.war
    </shellscript>
</project>

gives the output:
Buildfile: /home/preilly/proj/learning/war/build.xml
Deleting directory /home/preilly/proj/learning/war/src
Deleting: /home/preilly/proj/learning/war/w.war
Created dir: /home/preilly/proj/learning/war/src
Creating /home/preilly/proj/learning/war/src/x.xml
Building war: /home/preilly/proj/learning/war/w.war
META-INF/
META-INF/MANIFEST.MF
WEB-INF/
WEB-INF/classes/
WEB-INF/classes/x.xml
WEB-INF/web.xml

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


Mime
View raw message