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 16529] - Unzip task: combination of fileset and patternset is broken when patternset is exclude, it seems to be OK with include
Date Wed, 29 Jan 2003 11:05:45 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=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 levylambert@tiscali-dsl.de  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: ant-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ant-dev-help@jakarta.apache.org


Mime
View raw message