ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ant <tar> and <jar> tasks do not preserve file permissions?
Date Mon, 23 Sep 2002 07:00:43 GMT
On Fri, 20 Sep 2002, Michael Charters
<mcharter@fiore.physics.lsa.umich.edu> wrote:

> unfortunately, the ant jar task does not preserve the permissions on
> the files when it saves

There is no Java API to determine the permissions, thus Ant cannot
preserve them.

> i decided to try the tar task instead ... and that produces the same
> problem -- the permissions are not saved

But you can use <tarfileset> to explicitly set them if you know the
files that need non-default permissions.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message