Re: Under a parent directory delete only 4 out of 6 child directories [non-empty]

2008-11-03 Thread Rohit P
Thanks for the suggestions. Actually i would like to delete the child directories by using only once parent directory. Something similar to deleting set of only .java files under sub-directories. Hence i considered task like , instead of directly deleting the child directories one after the other.

Re: parallel targets

2008-11-03 Thread David Weintraub
There are several things: First of all, if you want true parallel in running tasks, take a look at the Ant task. This truly allows you to run tasks in parallel to each other. Are you using tasks and these are failing, or is something else failing. For example, you are calling JUnit from the com

Re: Under a parent directory delete only 4 out of 6 child directories [non-empty]

2008-11-03 Thread David Weintraub
Have you tried setting the "includeemptydirs" parameter in the delete task to true? That will also delete any directory that is actually empty once the files are deleted. You can also try instead of . -- David Weintraub [EMAIL PROTECTED] On Mon, Nov 3, 2008 at 6:45 AM, Rohit P <[EMAIL PROTEC

RES: java.lang.NoClassDefFoundError in custom task

2008-11-03 Thread Andre Dantas Rocha
Hello Steve, I realized that it was a classloader problem. I fixed the code using the same strategy used in org.apache.tools.ant.taskdefs.ExecuteJava. Thanks, Andre -Mensagem original- De: Steve Loughran [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 3 de novembro de 2008 11:30

Re: problem resolving "latest" artifact

2008-11-03 Thread Adrian Woodhead
buzzterrier wrote: I publish milestone and release status artifacts to the same Ivysvn repository using the ivy buildnumber feature. Below is the milestone ant task I use (note that the release task is identical, but has a "release" status):

Re: parallel targets

2008-11-03 Thread Markus Ueberall
Hi, you could try the following (compare the outputs of "ant task1 task2" and "ant parallel"): Bad luck. Hello, world. Ad astra, Markus car_car_car

Re: parallel targets

2008-11-03 Thread car_car_car
My targets contain junit. when they fail - the whole target fails - this information is usfull to me for other reasons. I want to be able to keep running the other targets DESPITE the failure. what's happening now is that if one of the target fails its tests - the other targets won't start. ca

Re: Under a parent directory delete only 4 out of 6 child directories [non-empty]

2008-11-03 Thread Mark Salter
Rohit P wrote: > Hi, > I have a directory "Parent" containing 6 "child" directories with files.I > have a task of deleting only 4 "child" directories with their files. The second example in the manual does (I think) give you the answer you need:- http://ant.apache.org/manual/CoreTasks/dele

Re: java.lang.NoClassDefFoundError in custom task

2008-11-03 Thread Steve Loughran
Andre Dantas Rocha wrote: Hi all, I'm trying to create a custom task that make some transformations using Javassist (actually, this is my first Ant task). The task is very simple, but can't figure out why it always produces a java.lang.NoClassDefFoundError (since the corresponding jar is in

AW: parallel targets

2008-11-03 Thread Jan.Materne
>I'm using ant in cruise control and I'm having trouble defining my target order. > >I have a project with single 'init' target and multiple independent 'target_A...Z'. > >I couldn't find the syntax that runs the 'init' target and >only after its >success runs the other target independently. >mean

parallel targets

2008-11-03 Thread car_car_car
Hello I'm using ant in cruise control and I'm having trouble defining my target order. I have a project with single 'init' target and multiple independent 'target_A...Z'. I couldn't find the syntax that runs the 'init' target and only after its success runs the other target independently. meani

Under a parent directory delete only 4 out of 6 child directories [non-empty]

2008-11-03 Thread Rohit P
Hi, I have a directory "Parent" containing 6 "child" directories with files.I have a task of deleting only 4 "child" directories with their files. I tried 2 approaches in getting this done. But couldn't accomplish. Approach 1: Result: This action delet