RE: Path question

2002-10-03 Thread Yyy Xxx
Use "location" instead of "value" in your property task. It will normalize the path and also document that you are dealing with files instead of arbitrary strings. Here's an example: buildDir-value = ${buildDir-value} buildDir-location = ${buildDir-location} InstallShieldComp

FilterReader adds final EOL if one does not exist

2002-10-03 Thread Shackelford, John-Mason
Cheers. Just want to document the fact that running a FilterReader on a file adds a final EOL if one does not exist. I Noticed this when working with the Junits for filters. Remove the final EOL from both the "expected" and "input" files and the JUnits fail. If someone considers this a bug, we

Re: and defaultexcludes behaviour

2002-10-03 Thread Mike Morris
Jesse Stockall wrote: > On Wed, 2002-10-02 at 07:33, Mike Morris wrote: > >>which does /not/ delete "*~" files as I woudl have expected. On RTFMing >>I surmise that it is because "*~" is one of the defaultexclude patterns. >> So I /could/ turn off defaultexcludes, but then would have to add >>

RE: expanded properties

2002-10-03 Thread Dominique Devienne
Have you looked at in ? --DD -Original Message- From: Rosendahl Sten - stro [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 8:02 AM To: 'Ant Users List' Subject: expanded properties I am trying to put a unexpanded classpath (with property expressions such as ${product.home

RE: Path question

2002-10-03 Thread Mike Dougherty
Try the task. Then you don't have to remember to put the right separator in when defining properties. /mike > -Original Message- > From: Stephenson, Martin [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 6:27 AM > To: '[EMAIL PROTECTED]' > Subject: Path question > > >

Re: [ANNOUNCEMENT] Ant 1.5.1 Released

2002-10-03 Thread Magesh Umasankar
Oops - the subject has now been changed to reflect the correct release version. Nasty cut-n-paste mistake - sorry. Cheers, Magesh *** * Yawn: The only time some married men ever * * get to open their mouth. * *

[ANNOUNCEMENT] Ant 1.5 Released

2002-10-03 Thread Magesh Umasankar
This is to announce that Jakarta Ant-Dev has released Version 1.5.1 of Apache Ant, a Java-based build tool. The release is available in binary and source forms at http://jakarta.apache.org/builds/jakarta-ant/release/v1.5.1/ The changes between the last release and this one are also highlighted t

Re: Path question

2002-10-03 Thread George McKinney
- Original Message - From: "Stephenson, Martin" <[EMAIL PROTECTED]> > ... > F:\Development/Builds/1.0.0.0/ISComponents > > But the program I'm calling doesn't like the forward-slash - it want's > Backslashes, ie.: > > F:\Development\Builds\1.0.0.0\ISComponents > > Is there some way I can

Re: Ant 1.5.1 official release??

2002-10-03 Thread Damon Hill
Thank you. I will install and let you know. cheers, M Damon Hill Integrator : TURBO/Jets Valtech Technoloies, Inc. "Science is built up of facts, as a house is built of stones; but an accumulation of facts is no more a science than a heap of stones is a house." - Henri Poincare >>> [EMAIL PR

RE: JUnit: setUp() method called multiple times ?

2002-10-03 Thread Dominique Devienne
Just be aware that the constructor is called way early, when JUnit is building the test suite of all the tests. It may not matter with /, but it does with the text TestRunner (junit.textui.TestRunner). Either use junit.extensions.TestSetup, or more easily ensure yourself the initialization happen

Re: Ant 1.5.1 official release??

2002-10-03 Thread Magesh Umasankar
- Original Message - From: "Damon Hill" <[EMAIL PROTECTED]> > ** High Priority ** > > Is there a time frame as to when Ant 1.5.1 will become an "official" > release as opposed to the > "beta" release as it is referred to on the website?? > > The reason I am asking is because it is lab

RE: Path question

2002-10-03 Thread Shackelford, John-Mason
Martin, Typically you want to assign properties which specify paths with the location attribute: This will assign the property the appropriate canonical filename for host os. I am working on a filter that will adjust paths specified in a property file in the same way and hope to make it avail

Ant 1.5.1 "official" release?

2002-10-03 Thread M Damon Hill
Is there a time frame as to when Ant 1.5.1 will become an "official" release as opposed to the"beta" release as it is referred to on the website??The reason I am asking is because it is labeled as Beta on the website however, the company thatI work for needs the fixes in 1.5.1 (the inheriting

RE: Path question

2002-10-03 Thread Wannheden, Knut
try using the "location" attribute of . i.e. -- knut > -Original Message- > From: Stephenson, Martin [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 3. Oktober 2002 15:27 > To: '[EMAIL PROTECTED]' > Subject: Path question > > > Hi all > > I have a property called "b

Ant 1.5.1 official release??

2002-10-03 Thread Damon Hill
** High Priority ** Is there a time frame as to when Ant 1.5.1 will become an "official" release as opposed to the "beta" release as it is referred to on the website?? The reason I am asking is because it is labeled as Beta on the website however, the company that I work for needs the fixes in 1

Path question

2002-10-03 Thread Stephenson, Martin
Hi all I have a property called "buildDir" setup as follows: And I also have a property "InstallShieldComponentsDir" Now, I'm calling a batch file, which in turn calls a program with takes the Path stored in "InstallShieldComponentsDir" My problem is that "InstallShieldComponentsDir" has t

Re: JUnit: setUp() method called multiple times ?

2002-10-03 Thread Conor MacNeill
P. Fleury wrote: > Erik Hatcher wrote: > >> Correct. This is just the way JUnit works (regardless of it being run >> from Ant or otherwise). setUp(), testXXX, tearDown() setUp(), >> testZZZ(), tearDown() - that is the JUnit-way, call setUp(), then a >> test method, then tearDown() repeat

Re: JUnit: setUp() method called multiple times ?

2002-10-03 Thread Stefano Mancarella
P. Fleury wrote: > ... if I create a TestSuite giving it the MyBigTest.class, it will > actually create the big object 3 times for my three test functions! > I though that the setUp() and tearDown() methods were here for exactly > that purpose. If not, what are they here for ? :-) The setUp() m

Re: JUnit: setUp() method called multiple times ?

2002-10-03 Thread P. Fleury
Erik Hatcher wrote: > Correct. This is just the way JUnit works (regardless of it being run > from Ant or otherwise). setUp(), testXXX, tearDown() setUp(), > testZZZ(), tearDown() - that is the JUnit-way, call setUp(), then a > test method, then tearDown() repeatedly. > > Erik > Mmm.

Re: JUnit: setUp() method called multiple times ?

2002-10-03 Thread Erik Hatcher
Correct. This is just the way JUnit works (regardless of it being run from Ant or otherwise). setUp(), testXXX, tearDown() setUp(), testZZZ(), tearDown() - that is the JUnit-way, call setUp(), then a test method, then tearDown() repeatedly. Erik otisg wrote: > I believe that's n