ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Schwaebli <hans_schwae...@yahoo.com>
Subject Unzip task question
Date Wed, 10 Sep 2008 11:14:14 GMT
I want to unzip a part of the zip file.

For example in the zipfile there are these folders:

-a
 -b
 -c
 -d
  -e
 -f

I want just folder "e" to export. But if I do, then it creates the whole structure in the
output folder:

-a
 -d
  -e

I use:

        <unzip src="zipfile.zip" dest="c:/tmp">
            <patternset>
                <include name="/**/e/**/*"/>
            </patternset>
        </unzip>

Moving and deleting folders afterwards is a workaround. Is there any real solution in Ant
for this?



      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message