ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rum Pel" <rum_...@hotmail.com>
Subject chmod on windows
Date Tue, 04 Jun 2002 05:12:01 GMT
I thought all tasks are platform independant, but
chmod seems to work only on unix.
Whats the equivalent of chmod task on windows?

Also, is it possible to execute tasks based on conditions?
If os.family is unix
then
   chmod o-w file
else
if os.family is windows
then
   execute attrib -R file
endif.

The condition task doesnt seem to be for this purpose.

--rp.


--
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