ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Conditional chmod
Date Thu, 02 Nov 2000 08:43:16 GMT
At 12:44  2/11/00 -0800, you wrote:
>You ask why it isn't ignored on Windows? Actually, I've been wondering why
>it *is* ignored.
>

>Certainly, Windows doesn't support the same file modes that some other
>systems do, but how do I set or clear the read-only attribute on files under
>Windows? How about the archive attribute? Is there a Windows equivalent to
>the Unix chmod within Ant that I'm not aware of?

no one has found a need for it so no one has committed such a task.

>Of course, calling the task 'chmod' in the first place does indicate a
>strong bias towards a certain OS on the part of the Ant developers, which
>seems more than a little inappropriate in a tool which purports to be OS
>independent...

Well considering it is only relevent on one particular OS don't you think
it would be a little stupid to invent a different name for what everyone is
familiar with ?

Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message