ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28320] - copy task preserving permissions
Date Mon, 12 Apr 2004 22:16:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28320>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28320

copy task preserving permissions





------- Additional Comments From schveiguy@yahoo.com  2004-04-12 22:16 -------
I understand the unwillingness to accept native code as a part of Ant, 
especially since there really isn't an ant-proper way to build shared 
libraries yet.  I also agree that a patch to java 1.5 (very unlikely) would be 
the best answer.

I must disagree on your interpretation in that building with file-permission 
correct copy would work "wrongly" on other platforms.  It currently 
works "wrongly" on ALL platforms, as the operating system/environment decides 
the permissions of the new file, allowing differences in operating system 
environments to affect the build process.  In the case of the current release 
of Ant, it is by your standards broken since the chmod task is not implemented 
on all platforms, making any build which uses chmod build "wrongly" on non-
unix platforms.  This new feature would open the door to an actual correct 
solution, which is consitant across all platforms.

I'm more inclined not to use chmod as I need to build my projects on both 
Linux and Windows (hence the attractive nature of Ant).  In addition, a 
permission-preserving copy seems like a much more natural solution than having 
to use chmod after each copy.

For now, I'll see if ant-contrib will accept the library, and some task I 
create, as part of its build, since it really is the only ant-like project 
that could build such a library anyways :)

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


Mime
View raw message