ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Schutte" <>
Subject RE: Problems with zip/tgz and shell scripts
Date Sat, 14 Oct 2000 22:25:51 GMT
> sorry if this point was already mentioned. I couldn't find
> an archive of this mailing-list.

It's at

> My problem is:
> I've got a shellscript for an application and I want to deliver it
> in a tar-gz (and an zip) along with the application files.
> My problem is that the ant-tar-gz (and zip) task doesn't preserve the
> rights to execute a shellscript. I tried the 1.2 Release Candidate and
> it didn't work either.

That's right, but it is documented behaviour. Java can't reach file
permissions, that's why.
If you could use ant to do the unpacking, you can use the <chmod> task
afterwards. Otherwise you could try to use <exec> to call the native tar


View raw message