RE: Direcotry Delete based on pattern

2003-03-17 Thread Chaganthi, Madhusudan R.
I dont know if a task exists as such. But maybe you can use a few of the existing tasks combined to do this. PSEUDO-CODE Can you not get the name of each directory and parse it into an int. If the parsing goes fine, delete that directory If parsing throws a FormatException or something on thos

xerces

2003-03-17 Thread Ciramella, EJ
What version of XERCES is packaged with ant?

Direcotry Delete based on pattern

2003-03-17 Thread Chris Reeves
I have a load of directories, all with numeric names (e.g. 123, 734, 231) - hundreds of them. I need to delete all these directories, while leaving any directories with non-numeric names intact. I thought I could use a patternset, but that won't do it. Any suggestions? Chris ---

RE: property set in sub-task not defined

2003-03-17 Thread Pedro Salazar
Indeed, Dominique! You're completely right about that. That was *my* mistake and a horrible one - I was printing ${lib.casspath} ("classpath" spell error). Once again, thank you! :) P.S.- Your quickly answers were superb! Pedro Salazar. On Mon, 2003-03-17 at 21:30, Dominique Devienne wrote: > I

RE: property set in sub-task not defined

2003-03-17 Thread Dominique Devienne
I think you are mistaken, as the following proves: P:\org_apache\antx>%ANT_HOME%/bin/ant -f lib-classpath.xml -Dlib.dir=Z:\dev\null Buildfile: lib-classpath.xml -lib.dir.exists?: -set.lib.classpath: test: [echo] lib.classpath = BUILD SUCCESSFUL Total time: 1 second P:\org_apache\antx>%ANT

RE: property set in sub-task not defined

2003-03-17 Thread Pedro Salazar
Hi Dominique, your sample does not work! The output if you "echo" the "${lib.classpath}" is "${lib.classpath}", and not is value... Should I test it OK? thanks, Pedro Salazar. On Mon, 2003-03-17 at 20:46, Dominique Devienne wrote: > Using pure Ant: > > > > ... > > > >

RE: property set in sub-task not defined

2003-03-17 Thread Dominique Devienne
Using pure Ant: ... Using Ant-contrib would be nicer of course. Maybe one day it will make it to Ant: some committer seem to prefer spaghetti Ant as above than an , but maybe just maybe the wind is turning from recent posts on ant-dev... --DD -Original Message-

condition based on target

2003-03-17 Thread ope
I don't know if this is the best way to solve my problem so if anyone has another suggestion please let me know... The issue I am dealing with is that I have two main targets 'full' and 'update'. Both of these targets depend on one rather large target with one minor difference. So far I just run