A very quick look at Chmod.class in ant.jar of
tomcat 3.2.1 distribution (reporting 1.3alpha in version.txt)
brought me to the following line (copied by hand):
protected boolean isValidOs() {
return System.getProperty("path.separator").equals(":") &&
(!System.getProperty("os.name").startsWith("Mac") ||
System.getProperty("os.name").endWith("X")) && super.isValidOs();
}
Just a question pops up in my mind:
what about portability ?
Marco
----- Original Message -----
From: "Mark Galbreath" <[EMAIL PROTECTED]>
> There IS a way to do it, because the ANT utility can take a chmod
parameter
> from the build.xml file and create the files with the specific permissions
> you need. The source code for ANT is at jakarta.apache.org/ant and you
can
> look for the specific method that does this. Actually, if you find it,
post
> it here - it would be a really useful bean!
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html