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

Unzip task: combination of fileset and patternset is broken when patternset is 
exclude, it seems to be OK with include





------- Additional Comments From [EMAIL PROTECTED]  2003-01-29 11:05 -------
I summarize your bug report by saying that you complain that exclude patterns 
do not work. I have 
tried this myself against the CVS head version of Expand.java (the underlying 
class for the unzip 
task) and I do not have problems with exclude patterns.
Here was my snippet :
<target 
name="expexclude">
<delete dir="output2" quiet="true"/>
<unzip  dest="output2">
    
<patternset>
<exclude  name="jdepend/docs/**"/>
<exclude  name="jdepend/lib/**"/>
    
</patternset>
    <fileset dir="." >
      <include name="**/*.zip"/>
    
</fileset>
</unzip>
</target>
I did not get the jdepend/docs and jdepend/lib paths in the 
output2 subdir, so this looks OK
Which version of ant are you using ?
Can you reproduce your 
problem in a small build file ?
Another point : whether zip files are listed in a fileset or are 
taken individually should not make any difference.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to