Re: Ant 1.6.5 Classloading and JUnit Problem 1

2007-03-30 Thread Dominique Devienne
On 3/30/07, Christopher Gardner <[EMAIL PROTECTED]> wrote: Do you recommend I explicitly do this in my ant script: set CLASSPATH= Yep. ant.bat also supports a -nocp switch now (or something similar), which is highly recommended by the Ant team (AFAIK), and certainly myself. Just look at all th

Re: Ant 1.6.5 Classloading and JUnit Problem 1

2007-03-30 Thread Christopher Gardner
I didn't mean to imply that I don't set the classpath in the junit task. I definitely do that. I just don't change the environment variable anywhere, which is what you were talking about. Do you recommend I explicitly do this in my ant script: set CLASSPATH= (to null)? On 3/30/07, Dominique

Re: Ant 1.6.5 Classloading and JUnit Problem 1

2007-03-30 Thread Dominique Devienne
On 3/30/07, Christopher Gardner <[EMAIL PROTECTED]> wrote: I'm having cruise run the standard ant.bat in ANT_HOME/bin, but not explicitly resetting the CLASSPATH anywhere. On 3/30/07, Dominique Devienne <[EMAIL PROTECTED]> wrote: > On 3/30/07, Christopher Gardner <[EMAIL PROTECTED]> wrote: > > I

Re: Ant 1.6.5 Classloading and JUnit Problem 1

2007-03-30 Thread Christopher Gardner
I'm having cruise run the standard ant.bat in ANT_HOME/bin, but not explicitly resetting the CLASSPATH anywhere. On 3/30/07, Dominique Devienne <[EMAIL PROTECTED]> wrote: On 3/30/07, Christopher Gardner <[EMAIL PROTECTED]> wrote: > I just verified that I was using the antscript option in my crui

Re: Ant 1.6.5 Classloading and JUnit Problem 1

2007-03-30 Thread Dominique Devienne
On 3/30/07, Christopher Gardner <[EMAIL PROTECTED]> wrote: I just verified that I was using the antscript option in my cruise config.xml. Thanks for the idea, though. But do you reset the CLASSPATH env. var in that script? --DD -

Re: Ant 1.6.5 Classloading and JUnit Problem 1

2007-03-30 Thread Christopher Gardner
I just verified that I was using the antscript option in my cruise config.xml. Thanks for the idea, though. Chris On 3/30/07, Dominique Devienne <[EMAIL PROTECTED]> wrote: On 3/30/07, Christopher Gardner <[EMAIL PROTECTED]> wrote: > [...] The junit task doesn't override any forking or > class

Re: Ant 1.6.5 Classloading and JUnit Problem 1

2007-03-30 Thread Dominique Devienne
On 3/30/07, Christopher Gardner <[EMAIL PROTECTED]> wrote: [...] The junit task doesn't override any forking or classloading defaults. [...] Now, if I set the junit options to be fork="true" and forkmode="once", calling the master build.xml through the command line and eclipse works perfectly; ca

Ant 1.6.5 Classloading and JUnit Problem 1

2007-03-30 Thread Christopher Gardner
I'm having a couple of ant problems that appear to be related to classloading. The first problem may be more of a CruiseControl question, but I'll try this group as well. I'll describe the second problem in another posting. In a Windows environment with Java 1.5, I have a master build.xml file