ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: Any chance to have <copy> to preserve file permissions?
Date Wed, 04 Dec 2002 17:30:45 GMT

----- Original Message -----
From: "Ken Wood" <>
To: "Ant Developers List" <>
Sent: Tuesday, December 03, 2002 7:44 PM
Subject: Re: Any chance to have <copy> to preserve file permissions?

> Yes, everyone wishes ant could copy files on unix and
> preserve permissions. But, java doesn't recognize those
> permissions, so the copy cannot preserve them - it can't
> preserve something it does not see.
> You can use 'exec' to run 'cp' and preserve permissions...
> Alexey Solofnenko wrote:
> >
> > Fair enough. But don't you think it might be really important to be able
> > copy executable files on Unix?
> >
> > - Alexey.

At some point in the future, ant is bound add ant-native tasks where we do
our own JNI wrappers to do things not possible before: symlink work, getting
at permissions, maybe some more. But it would a dog to try and port, build,
test all that stuff for all the platforms ant supports, which is why I am
not in a rush to do it.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message