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=18637>.
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=18637

defaultexcludes not works with zip,tar,jar tasks or bag with CVS directories





------- Additional Comments From [EMAIL PROTECTED]  2003-04-03 10:01 -------
Directory for example ant CVS snapshot:
...
build.xml
check.xml
CVS
docs
docs.xml
...
ant task
    <zip destfile="ant.zip" basedir="ant" defaultexcludes="false"/>
resulting archive does not contain CVS directory !!!

posible fix in class org.apache.tools.ant.taskdefs.Zip
in function executeMain()
        if (baseDir != null) {
            FileSet fs = (FileSet) getImplicitFileSet().clone();
            fs.setDefaultexcludes(useDefaultExcludes);  //Add this string
            fs.setDir(baseDir);
            vfss.addElement(fs);
        }
This is solution only for zip task the same problem exists for tar, jar tasks
(and may be others)

Reply via email to