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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to