ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Faatuai, Frotz" <Frotz.Faat...@am.sony.com>
Subject RE: Reminder: [SUBMIT] Attr, a chmod equivalent for Windows
Date Fri, 03 Aug 2001 17:58:30 GMT
chmod: I tend to like the ports provided via GNU sources.   Stuff from
Delorie had historically been reasonable ports.  He and his stuff
are now part of Cygnus/Redhat.  The current URL for that stuff is here.

http://sources.redhat.com/cygwin/

In most cases, I find relying on GNU tools is an excellent way of
trying to ignore the current OS.  You're still tied to something, but
FSF has done an excellent job of keeping the GNU toolset cross-platform.
(At least the platforms that I care about...;-}

chgrp and chown are trickier.  These commands know too much about the host
OS security subsystem and are inherently platform-dependent.  I would not
request an override for these two tasks.

-----Original Message-----
From: Martin van den Bemt [mailto:mvdb@mvdb.com]
Sent: Friday, August 03, 2001 9:33 AM
To: ant-dev@jakarta.apache.org
Subject: RE: Reminder: [SUBMIT] Attr, a chmod equivalent for Windows 


Can you say where I can find the chmod variant for winnt / 2000. I have that
box here too, so I can use it for sanity testing.. (isn't there also a chgrp
and chown replacement for win ?)

Mvgr,
martin

> -----Original Message-----
> From: Faatuai, Frotz [mailto:Frotz.Faatuai@am.sony.com]
> Sent: Friday, August 03, 2001 6:36 PM
> To: ant-dev@jakarta.apache.org
> Subject: RE: Reminder: [SUBMIT] Attr, a chmod equivalent for Windows
>
>
> Martin: Looking at the 1.3 (stock) Chmod.java (I know its not yours).
> I see an "OS" validity check that is inappropriate for my OS.  Yes I
> run NT 4, but I also have a port for chmod.  As you review your code,
> would you think about ways to allow seemingly invalid Win32 users to
> specify an override.
>
> Having the initial indication that Win32 is not a viable platform to
> execute on, by default is fine.  Just allow those who configure the
> environment to be more neutral to utilize the functionality if they
> can.
>
> As I get time, I'll figure out Bugzilla and report this inconvenience
> against the 1.3 Chmod.java.
>
> -----Original Message-----
> From: Martin van den Bemt [mailto:mvdb@mvdb.com]
> Sent: Friday, August 03, 2001 6:53 AM
> To: ant-dev@jakarta.apache.org
> Subject: RE: Reminder: [SUBMIT] Attr, a chmod equivalent for Windows
>
>
> we were talking about chown chgrp and chmod..
>
> > I just sneak in into the thread to remind you that the 'Attr'
> task (at the
> > origin for the thread) runs on Windows and can be tested on NT...
> >
> > Jerome
>

Mime
View raw message