RE: Ant exec find -exec problem

2006-11-15 Thread Anderson, Rob (Global Trade)
> This looks very good. I do have antcontrib but I see that the > 'for' task isn't operational. It's actually commented out in > the antcontrib.properties, as "Tasks Requiring Ant 1.6 or > higher" and this is Ant 1.6.5 ! Huh? I will uncomment it and > see if that works. Thanks! It's been a

Re: Ant exec find -exec problem

2006-11-15 Thread Peter Reilly
three answers: 1) you do not need to escape the args for find as you are not using a shell: 2) for is only for ant1.6+ so to avoid confusion with ant1.5 it is only defined in the xml task/type definitions of ant-contrib. The recommended way to use this is via xml namespaces, drop ant-con

RE: Ant exec find -exec problem

2006-11-15 Thread Elaine Fortin
This looks very good. I do have antcontrib but I see that the 'for' task isn't operational. It's actually commented out in the antcontrib.properties, as "Tasks Requiring Ant 1.6 or higher" and this is Ant 1.6.5 ! Huh? I will uncomment it and see if that works. Thanks! At 11:41 AM 11/15/2006

RE: Ant exec find -exec problem

2006-11-15 Thread Elaine Fortin
Of course, that's a paste error. It should have read: At 11:35 AM 11/15/2006 -0800, you wrote: You may not put "find" in the part. -Original Message- From: Elaine Fortin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 11:21 AM To: user@ant.apache.

RE: Ant exec find -exec problem

2006-11-15 Thread Anderson, Rob (Global Trade)
I have a target in my build.xml that deletes files older than 60 days. Here is how I did it purely in Ant... Deleting files older than 60 days from the archive: You could easi

RE: Ant exec find -exec problem

2006-11-15 Thread Chun Ji
You may not put "find" in the part. -Original Message- From: Elaine Fortin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 11:21 AM To: user@ant.apache.org Subject: Ant exec find -exec problem Importance: Low I am trying to create an Ant script to move files that are 10