ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Elkins" <celk...@scardini.com>
Subject Re: Problems with zip/tgz and shell scripts
Date Sat, 14 Oct 2000 23:27:04 GMT
> Hi all,
>
> sorry if this point was already mentioned. I couldn't find
> an archive of this mailing-list.
>
> 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.
>
> Maybe I'm wrong (I dunno).
>
No, you're quite right. The tar task doesn't preserve permissions, because
java.io.File doesn't propogate that information from the underlying file system.
Unfortunately, you'll have to tar your packages the old-fashioned way.

> Thanks in advance for your response,
> ant is pretty cool,
> charly
>

--
Christopher Elkins


Mime
View raw message