ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: <untar> and <unjar> trash symlinks?
Date Thu, 23 Aug 2001 05:47:01 GMT
On Wed, 22 Aug 2001, Shankar Unni <> wrote:

> I'm trying to have one of my build files un-tar a "tar" file. But it
> looks like symlinks in the tar file are trashed when expanding the
> archive (it creates a zero-length file instead).

Java doesn't know about symlinks and the classes that implement the
<untar> task don't deal with them.

> Similarly, "zip" files created with symlinks (using the "-y" flag to
> zip) are also mangled:

Same here. I wonder what Winzip would do with them 8-)

> Is there *any* way to do this without forking off an external "zip"
> or "tar" task?



View raw message