remoteant causing build failure

2005-08-30 Thread a c
When using remoteant on Solaris and Windows, the antserver being on Solaris, I get this error: [remoteant] Command caused a build failure: [EMAIL PROTECTED] I'm using ANT 1.6.5 on both machines, with updated ant-contrib.jar, commons-net.jar, and jakarta-oro-.jar. Anyone have any ideas? thanks

Error executing RSH from ANT script

2005-08-30 Thread Michael . Giroux
I'm getting the following error message on the console view when I execute rsh in an ANT script. [exec] Terminal readThe handle is invalid. [exec] /home/jerome The execute task is:              The shell script contains a single pwd command. When executed directly from a

question

2005-08-30 Thread Bret Kumler
I'm using cactus and the ant task is failing because I removed junit.jar from ant/lib. I read http://ant.apache.org/faq.html#delegating-classloader-1.6 I tried creating a new task def but I still get the same error, can't find a class junit/framework/Test I made sure the lib is in t

RE: Multiple invocations

2005-08-30 Thread Anderson, Rob (Global Trade)
Cool. Please vote for the bug also. Votes help commiters prioritize the bugs. -Rob A > -Original Message- > From: Dick, Brian E. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 30, 2005 10:23 AM > To: Ant Users List > Subject: RE: Multiple invocations > > Thanks Rob. I applied the fi

RE: [Junit] How to handle TestSuites correctly

2005-08-30 Thread Marcel Stör
Keith Hatton wrote: > forkmode="once" will take care of that if you are using Ant 1.6.2+. > Also, http://gsbase.sourceforge.net/ has a set of Junit extensions > such as an OrderedTestSuite that might help you. (Of course, the > purist approach says your unit tests should be independent of one > ano

RE: Multiple invocations

2005-08-30 Thread Dick, Brian E.
Thanks Rob. I applied the fix to my copy of the 1.6.5 source. Works great! -Original Message- From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 30, 2005 12:36 PM To: Ant Users List Subject: RE: Multiple invocations As far as I know, it has not been comm

RE: Multiple invocations

2005-08-30 Thread Anderson, Rob (Global Trade)
As far as I know, it has not been committed. If you are in need of this fix please go vote for the bug and add yourself to the CC: list. You can also download the patch attached to the bug and build and run the fixed code. -Rob A > -Original Message- > From: Dick, Brian E. [mailto:[EMAI

RE: Probs with property expansion in loops

2005-08-30 Thread Dominique Devienne
> From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > i have a problem with properties in > > Once the first time the updatelist and deletelist are loaded for the > first environment = @{Lum} it cannot be overwrited for the next > environment in the list ${Lums}. > > How to make that loops work wi

RE: Probs with property expansion in loops

2005-08-30 Thread Rebhan, Gilbert
Hi, Rick Thanks a million !! you've made my day :-))) Dealing with for + macrodef ain't easy, as i never used that before ... Now i have = for list="[EMAIL PROTECTED] and for list="[EMAIL PROTECTED] in the inner loops 3 and 4 Gilbert -Original Message- From: Rick Genter [mailto:

RE: Probs with property expansion in loops

2005-08-30 Thread Rick Genter
Try incorporating the name of the lib into the property. Something like: Then use [EMAIL PROTECTED] throughout. -- Rick Genter Principal Engineer Silverlink Communications (781) 272-3080 x242 -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]

RE: Probs with property expansion in loops

2005-08-30 Thread Rebhan, Gilbert
Hi, yup, i'm using ant-contrib. i know, that in core ant properties are immutable, but i thought, that would be handled internally by macrodef, which is used under the hood of the antcontrib / for task. What is the correct syntax to use var in a for loop i don't believe i may use var name= ..

RE: Probs with property expansion in loops

2005-08-30 Thread Burgess, Benjamin
In core ant, properties are immutable. Also, there are no loops. However, using ant-contrib you can add a for loop. Also with ant-contrib you will have to use to unset the property. Ben Burgess -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 3

RE: War task to include multiple lib files?

2005-08-30 Thread Burgess, Benjamin
Lib is just a FileSet. In the manual it states: "The , whether implicit or explicit in the directory-based task, also acts as an selector container. This can be used to create arbitrarily complicated selection criteria for the files the task should work with. See the Selector documentation for m

Probs with property expansion in loops

2005-08-30 Thread Rebhan, Gilbert
Hi, i have a problem with properties in scenario = Three lists : - list with all environments that should be served (loaded outside all loops) - list with all servers of one environment (loaded in loop 2) - list of files to be deleted on those servers - list of files to be copied to those

RE: [Junit] How to handle TestSuites correctly

2005-08-30 Thread Keith Hatton
forkmode="once" will take care of that if you are using Ant 1.6.2+. Also, http://gsbase.sourceforge.net/ has a set of Junit extensions such as an OrderedTestSuite that might help you. (Of course, the purist approach says your unit tests should be independent of one another, but there can be times

Substitution in a file with the name of the file itself

2005-08-30 Thread etienne_frejaville
Hello,     Does anybody knows how to write a task in order to substitute in all the files of a directory a given pattern by the name of the matched file ?     Thanks in advance.     Etienne. **

Re: [Junit] How to handle TestSuites correctly

2005-08-30 Thread Marcel Stör
Joe Schmetzer wrote: > On Tue, 2005-08-30 at 13:40 +0200, Marcel Stör wrote: >> Hi all, >> >> We're having major difficulties using the junit/junitreport targets >> with JUnit TestSuites. >> >> Usually, the junit target produces an XML file for each test class >> and junitreport produces a superb r

Re: [Junit] How to handle TestSuites correctly

2005-08-30 Thread Joe Schmetzer
On Tue, 2005-08-30 at 13:40 +0200, Marcel Stör wrote: > Hi all, > > We're having major difficulties using the junit/junitreport targets with > JUnit TestSuites. > > Usually, the junit target produces an XML file for each test class and > junitreport produces a superb report based on those files.

[Junit] How to handle TestSuites correctly

2005-08-30 Thread Marcel Stör
Hi all, We're having major difficulties using the junit/junitreport targets with JUnit TestSuites. Usually, the junit target produces an XML file for each test class and junitreport produces a superb report based on those files. In our case, however, we end up with one XML file only since our Tes

Re: custom classloader for a task

2005-08-30 Thread Jochen Theodorou
Conor MacNeill schrieb: Jochen Theodorou wrote: Hi all, Te problem I have is a little complex but I hope you can help me. Groovy has an ant task to compile groovy classes and a task to use groovy from within ant see http://groovy.codehaus.org/Groovy+Ant+Task for details. But in some envirome

Re: custom classloader for a task

2005-08-30 Thread Jochen Theodorou
Dominique Devienne schrieb: Well, I think you summed it up pretty well. Forking is IMHO a good solution to avoid these conflicting jars, since you fully control the classpath of the forked VM. I guess you could create your own classload, and make the root classloader (the one which loads rt.jar)

Failures/Errors Errors/Failures in JUnit report

2005-08-30 Thread Greg Irvine
I'm using Ant 1.6.2 (still haven't upgraded to a newer release yet), but I've noticed that the junitreport results have a minor inconsistency which proves confusing. The Summary table shows the columns (in order) Tests Failures Errors Success Rate Time But in the Packages table immedia