Re: Copy paradox - permissions and filters

2006-04-07 Thread Jeffrey E Care
The core problem is that there is no 100% pure Java way to get or set file permissions. See JSR 203 (http://www.jcp.org/en/jsr/detail?id=203) Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere

RE: Copy paradox - permissions and filters

2006-04-07 Thread Stephen McConnell
> -Original Message- > From: Brown, Carlton [mailto:[EMAIL PROTECTED] > That's cheesy and I don't want to do it. Write your own task. public class KludgeTask() { public void execute() { // grap the files // record permissions // execu

Copy paradox - permissions and filters

2006-04-07 Thread Brown, Carlton
All: I have found a dilemma on what ought to be a simple task. I need to copy some files from one location to another and run them through a filter. OK, great. Ant has filters I can use. Wait... these are scripts. They need to be executable. Ant's copy task doesn't preserve file permi