Re: execute junit in directory

2007-04-30 Thread David Kavanagh
Here's the junit target I have (verbatim). It allows me to include or exclude specific tests, or groups of tests by using the test.junit.include.files or test.junit.exclude.files properties, but those can be left blank.

Re: execute junit in directory

2007-04-30 Thread Pamela perez
Thanks that already I have proven it and it does not work. tests.dir directory TestsCases he is not correct??? - Mensaje original ---

Re: execute junit in directory

2007-04-30 Thread David Kavanagh
Pamela, You can use the sub-element instead of . that allows you to specify a fileset which pulls in all of your junit test files. David On 4/30/07, Pamela perez <[EMAIL PROTECTED]> wrote: As I can execute all the test you marry of a directory. this script executes single one.

execute junit in directory

2007-04-30 Thread Pamela perez
As I can execute all the test you marry of a directory. this script executes single one. I need to execute them all then testcases. help me LLama Gratis a cualquier PC del M

Re: Indirect property lookup failing.

2007-04-30 Thread Martin Gainty
Hi George yes properties are by design immutable (once set cannot change) I think you may want to look at implementing dynamic set capability with 'variable' http://ant-contrib.sourceforge.net/tasks/tasks/variable_task.html Does this help? M-- This email message and any files transmitted with

Re: Perform a task for every folder from the file.

2007-04-30 Thread mpr
Try to replace those '\' by an other character, like '/' You can do that by adding a filter *before* . Camer38 wrote: > > It is a part of a bigger application so I cannot change the version af > Ant. > I would like to follow my first idea , that almost work correctly. The > problem that I

Re: Perform a task for every folder from the file.

2007-04-30 Thread mpr
I have one more question connected with a topic as well. I use but i would like to do operation as fallows: where ${prefix} is user defined property How to do that? mpr wrote: > > Yes, it works. > > Thanks a lot for a help > > > Patrick Martin-2 wrote: >> >> You miss param="dir" in

Re: Perform a task for every folder from the file.

2007-04-30 Thread mpr
Yes, it works. Thanks a lot for a help Patrick Martin-2 wrote: > > You miss param="dir" in > > On 4/30/07, mpr <[EMAIL PROTECTED]> wrote: >> >> Looks cool for me but: >> >> > name="fullGenericTokenReplacements"> >> >> >> > property="src.file.head"/> >

Re: Perform a task for every folder from the file.

2007-04-30 Thread Patrick Martin
You miss param="dir" in On 4/30/07, mpr <[EMAIL PROTECTED]> wrote: Looks cool for me but:

Re: Perform a task for every folder from the file.

2007-04-30 Thread mpr
Looks cool for me but: I get BUILD FAILED C:\CM

scp task does not correctly handle directories

2007-04-30 Thread Jean-Noël Rivasseau
Hi I am using Ant 1.6.5 and Ant 1.7 on Gentoo Linux amd64, and the same behavior appears. When using the scp task, I cannot copy a directory that contains subdirectories. When copying a directory that has no subdirectories, things work fine, but any directory with subdirs in it will cause the sc

Re: Perform a task for every folder from the file.

2007-04-30 Thread Patrick Martin
Hello, I think you don't need to use antcount for that (even though this is a great task ... ;-)) you should be able to load your file with loadfile, without filtering, and then use ac:for with delimiter="${line.separator}" [...] [...] Rgds, Patrick On 4/30/07, Camer38 <[EMAIL PROTECTED]>

Re: Perform a task for every folder from the file.

2007-04-30 Thread Camer38
It is a part of a bigger application so I cannot change the version af Ant. I would like to follow my fir idea , that almost work. The problem that I have is describe below. I have the file user.properties and inside a paths to folders are defined e.g. C:\CMDOCUMENTATION4\DOCCENTER\BUILD C:\C

Re: Perform a task for every folder from the file.

2007-04-30 Thread Matt Benson
I didn't read your error message closely enough the first time. It shows that is taken as belonging to the ac namespace, indicating it couldn't be found in the default namespace. The example requires Ant 1.7 . -Matt --- mpr <[EMAIL PROTECTED]> wrote: > > I have followed your instructions, do

Indirect property lookup failing.

2007-04-30 Thread George Storm
I am experimenting with ways to change the case of the text I am passing to a target. In the following test I have created a small table which I am accessing indirectly. >From my primary call (ant-test) I call (target1) which creates a compound string which will be used to lookup my replacement st

Re: Perform a task for every folder from the file.

2007-04-30 Thread mpr
I have followed your instructions, download the latest AC release and build ant-contrib.jar from source but I still get the same error. What do I have to do? Matt Benson wrote: > > I can't recall when AC last had a release; you might > have to build from the current source, wherein > can hand

Re: AW: AW: Passing data between 2 created tasks

2007-04-30 Thread Brian Agnew
Hi - 1) Makes sense 2) I'm looking at client issues with using , so a different task is not much use here. 3) Yes. That was the conclusion I'd come to. I just wanted to make sure that I was seeing expected behaviour in Ant before I implemented a work-around. Thx for your response, Brian On Mon

RE: How to set the next week start date

2007-04-30 Thread Rebhan, Gilbert
Seems like assumes a week starts with monday, what if you want the week to start with sunday ?! Is that influenced from the locale settings user.country | user.language ? Gilbert -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Monday, April 30, 2007 8:49