On 2009-03-03, Shawn Castrianni <shawn.castria...@halliburton.com> wrote:

> Java 1.6 seems to have available:

> canRead
> canWrite
> canExecute (new to 1.6)
> setReadable (new to 1.6)
> setWritable (new to 1.6)
> setExecutable (new to 1.6)

which is insufficient since it only get/sets the bits for the current
user and not the owner/group or "other" permissions on Unix.

> which makes me think this is now possible to do in a platform
> independent way from ANT.

If Ant wouldn't target JDK 1.4, that is 8-)

Yes, it would be possible to have a Java 6+ extension of
zip/tarfileset that could try to autodetect settings, agreed.  Want to
file an enhancement request in bugzilla?  If you wanted to implement
it, that would be even better.

Stefan

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

Reply via email to