You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/05/11 21:18:04 UTC

DO NOT REPLY [Bug 28911] New: - &Co extract absolute paths at the root.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28911>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28911

<unzip>&Co extract absolute paths at the root.

           Summary: <unzip>&Co extract absolute paths at the root.
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: alexeys@inventigo.com


Create a zip with absolute path inside:
<zip ipfile="zip.zip">
  <zipfileset dir="dir1" prefix="/absolute/path"/>
</zip>

unzip it:

<mkdir dir="dir2"/>
<unzip src="zip.zip" dest="dir2"/>

the files are unzipped in /absolute/path folder, not in ./dir2/absolute/path

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org