copy files using mapper

2006-08-04 Thread satheesh
I Need to copy files from D:\dirA\dirB\dirC\dirD\*.jsp To D:\dirA\dirD\*.jsp, I tried with mapper also, I am unable to do this and I can't hard code this directory structure because I have many modules like dirA, Eg . here I need to remove the dirB\dirC D:\dirA1\dirB\dirC\dirDx\*.jsp To D:\di

Re: Patternset issue

2006-08-04 Thread Dominique Devienne
Could it be the missing 'a' in your ? --DD On 8/4/06, DHARNA, AJAY [AG/1000] <[EMAIL PROTECTED]> wrote: I have defined 2 patternset When I am running Junit - I am using patternset="One" and then patternset="Shared" But it is still picking up files from the package2 folder

Re: error from multiple antcalls, how to fail after all antcalls run?

2006-08-04 Thread glenn opdycke-hansen
It appears that a combination of and should/could/might work. Has anyone tried that?

Jar task whenempty attribute useless!

2006-08-04 Thread Geoffrey Mitchell
When I specify a value for the "whenempty" attribute of the jar task, a warning is generated saying "JARs are never empty, the contain at least a manifest file". This means that this attribute never has any effect! What's even worse is that it means that the default behavior as stated in the

RE: RE: Re: Setting the value of a property conditonally

2006-08-04 Thread cknell
If anyone was still scratching his or her head over my inability to see what's in front of me, please stop before you bleed. I've got it worked out. -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: [EMAIL PROTECTED] Sent: Fri, 04 Aug 2006 13:18:32 -0400 To:

Re: Setting the value of a property conditonally

2006-08-04 Thread Vishal Vishnoi
I'm a very satisfied customer of ant-contrib task for the type of use case defined in this thread. While I understand what Ant was originally written for, but the reality is it has grown and thankfully ant-contrib(http://ant-contrib.sourceforge.net/tasks/tasks/index.html) takes care of ad

Patternset issue

2006-08-04 Thread DHARNA, AJAY [AG/1000]
I have defined 2 patternset When I am running Junit - I am using patternset="One" and then patternset="Shared" But it is still picking up files from the package2 folder - is there something wrong that I am doing - I have tried switching them around where I use patternset="S

RE: Re: Setting the value of a property conditonally

2006-08-04 Thread cknell
Thanks to everyone who contributed. I now know the design decision that lays behind the functioning of . My Java is only now having the rust knocked off it, so I'm chary of trying to write a custom task for this purpose. I have been working on Plan B, creating the intermediate XML file from whi

Re: Setting the value of a property conditonally

2006-08-04 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: > I've been testing the task and either it > is very limited in its functioning or I am carrying > the wrong mental model into the exercise. Charles, I am going back to your initial mail to address your statement of having the wrong mental model. Here is where you o

Re: RE: Setting the value of a property conditonally

2006-08-04 Thread Antoine Levy-Lambert
Hi, if you need to make previous business day calculation, you could/should create a custom task doing exactly this. Regards, Antoine Original-Nachricht Datum: Fri, 4 Aug 2006 08:59:16 -0500 Von: "Dominique Devienne" <[EMAIL PROTECTED]> An: "Ant Users List" Betreff: Re: RE: S

Re: RE: Setting the value of a property conditonally

2006-08-04 Thread Dominique Devienne
I'm faced with a situation that calls for me to select the previous "business day". In the U.S. business days are generally Mon, Tue, Wed, Thu, Fri, with Saturday and Sunday not usually counted. On most days of the week, the previous business day is the current date - 1 day. On Monday however,

RE: RE: RE: Setting the value of a property conditonally

2006-08-04 Thread cknell
I'll have to think it over. It sounds reasonable at first glance. Thanks. -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: Tshepo Rachidi <[EMAIL PROTECTED]> Sent: Fri, 4 Aug 2006 15:41:37 +0200 To: "Ant Users List" Subject: RE: RE: Setting the value o

RE: RE: Setting the value of a property conditonally

2006-08-04 Thread Tshepo Rachidi
In that case create a target1 Target1 depends on target2 ,target3 , target4 Create condition 1, condition 2, condition 3 ,condition 4 Target2 only runs if condition 1 is true Target3 only runs if condition 2 is true Target4 only runs if condition 3 is true Does it help? -Original Messag

RE: RE: Setting the value of a property conditonally

2006-08-04 Thread cknell
Your example shows exactly the limitation I'm trying to get around. There are only two possible values that "hasMoney" can take in your example. Either "hasMoney" is "true" or "hasMoney" is false. I'm faced with a situation that calls for me to select the previous "business day". In the U.S. bu

RE: Setting the value of a property conditonally

2006-08-04 Thread Tshepo Rachidi
I think that u have to type as follows If I am wrong please rectify. I am still a newbie Regards, Tshepo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday 04 August 2006 15:01 To: user@ant.apache.org Subject: Setting

Setting the value of a property conditonally

2006-08-04 Thread cknell
I've been testing the task and either it is very limited in its functioning or I am carrying the wrong mental model into the exercise. I work mostly in XSLT these days. There I can set the value of a variable by testing any number of conditions and nested conditions using the element. appea

Re: PVCS Task

2006-08-04 Thread Steve Loughran
Bob Corcoran wrote: Hello, I'm getting the following error when trying to get files from PVCS via the PVCS Ant task: getsource: [echo] Getting ProjectRules source from \\x371-yy3002\folder3\zim\PVCSD\ProjectRules/lib for Promotion Group: Dev [exec] PVCS Version Manager (PCLI) v6.8.00

Re: How to send a data from ant to JUnit class?

2006-08-04 Thread Peter Reilly
An example: This sets the system property root to the basedir and copies the properties begining with test and build to corresponding system properties. Peter On 8/3/06, Vishal Vishnoi <[EMAIL PROTECTED]> wro