Re: Help with ant task

2011-05-24 Thread Scot P. Floess
Mind showing what you tried that didn't work??? Might be easier to see how you are trying to accomplish this and then point out what to do :) On Tue, 24 May 2011, rakesh mailgroups wrote: Hi, hope you can help as I am struggling to get this to work!! I have a lib directory that may poten

Help with ant task

2011-05-24 Thread rakesh mailgroups
Hi, hope you can help as I am struggling to get this to work!! I have a lib directory that may potentially contain libs such as: acme.jar acme-2011050241533.jar The two jars are related but I want only one in the directory. So, if acme-*.jar exists, then I need to delete acme.jar. I've tried

Re: [Ant 1.8.2] Bug in regexpmapper?

2011-05-24 Thread P.N.
Thank You for the answer! However, I'm finding the property to be set by this expression: So Ant can know, it's a filename property, while it's not a nice practise to ask first for the OS to convert the filename in a second step - e.g. windows file names can contain spaces without escaping,