Why should Chmod.java and Attrib.java force an operating system
precondition?

    protected boolean isValidOs() {
        return Os.isFamily("unix") && super.isValidOs();
    }

It is simply not true that the os family must be unix for the task to run.
"unix" should probably be a default value, but the os parameter should be
enhanced to allow a list of valid families e.g. "unix, windows" thereby
allowing chmod to be used under windows and unix based builds.

Rob



> -----Original Message-----
> From: Jesse Stockall [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 25, 2002 2:13 PM
> To: ant-dev
> Subject: [SUBMIT] Attrib task (chmod for Windows)
>
>
> Hi
>
> Here is a a new Task for changing file attributes on Windows. It is
> based on the Chmod task.
>
>
>
>
> --
>  Jesse Stockall                       |       Tel: 1+
> 613.599.2441 ext. 243
>  CRYPTOCard Corporation               |       Fax: 1+ 613.599.2442
>  Suite 304, 300 March Rd.     |       email: [EMAIL PROTECTED]
>  Ottawa, ON, Canada K2K 2E2   |       web: www.cryptocard.com
> ---------------------------------------------------------------------
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to