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/12 10:33:39 UTC
DO NOT REPLY [Bug 28911] -
&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.
------- Additional Comments From peter.reilly@corvil.com 2004-05-12 08:33 -------
I support it depends on how absolute paths in zip files
should be treated.
The jar command can handle zip files (jar files are zip files),
it honours the absolute path.
The linux unzip command does not honour the absolute path,
it strips the leading / and treats the paths as relative
paths. It does this with a lot of whining:
warning: stripped absolute path spec from /
mapname: conversion of failed
warning: stripped absolute path spec from /home/
creating: home/
warning: stripped absolute path spec from /home/preilly/
creating: home/preilly/
warning: stripped absolute path spec from /home/preilly/tmp/
creating: home/preilly/tmp/
warning: stripped absolute path spec from /home/preilly/tmp/build.xml
inflating: home/preilly/tmp/build.xml
Since <unzip/> and <unjar/> are basicly the same task,
it would be odd to have different behaviour for them.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org