ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: cp or <copy> in windows?
Date Wed, 17 Mar 2004 15:38:50 GMT
Barry:
  I think you're missing the fact that cygwin is
basically just a layer over Windows (MS-DOS).  As such
its file permissions are a presentation of the Windows
filesystem.  Unless you use the environment setting
CYGWIN=ntea you should be able to safely ignore
Unix-style permissions under cygwin and rely on <copy>
to preserve permissions as you have already seen.  See
http://www.cygwin.com/cygwin-ug-net/using-filemodes.html
for an explanation.  If you decide to detect cygwin,
you may find that the environment variable TERM is set
to the value "cygwin" under cygwin.  It is for me,
anyway.  See the <property> task for loading
environment variables as properties.

-Matt


__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

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


Mime
View raw message