ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: <copy> task problem
Date Tue, 25 May 2004 06:36:14 GMT
On Mon, 24 May 2004, Neta Bar Tal <NETAB@amdocs.com> wrote:

> the copied files are not with the same permissions as the sources
> files.

That is because Java doesn't provide access to the file permissions at
all.  See the "Unix Note" at the end of
<http://ant.apache.org/manual/CoreTasks/copy.html>.

> can anyone please assist of how should I chmod the files to +x in
> the dest dir, after I copy them?

Either use <exec>/<apply> with cp as the manual says or run <chmod>
after copy inside the dest dir.

Stefan

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


Mime
View raw message