Re: adding to fileset

2007-03-30 Thread Matt Benson
--- Byron Vonthal <[EMAIL PROTECTED]> wrote: > I have a fileset with excludes that I need to > continue to grow. > > I'm using Ant 1.6.5 and cannot upgrade. > This has been something on my list for awhile. It may be that Ant 1.7.1 should ship with a task whose purpose is to add more children

RE: Problem with condition selection property; Help needed

2007-03-30 Thread Anderson, Rob (Global Trade)
OK. I think I understand what you are trying to do. I would suggest using the task, rather than the task, because the task has a keepgiong attribute. Here is a solution that works for me. *** You have chosen not to deploy ${sourc

adding to fileset

2007-03-30 Thread Byron Vonthal
I have a fileset with excludes that I need to continue to grow. I'm using Ant 1.6.5 and cannot upgrade. Now I want to add another exclude to the same fileset. I want to be able to add files to fileset and then use the final value. Something like:

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 2

2007-03-30 Thread Christopher Gardner
Same code base environment (projects a, b, c, and d) described in the prior posting "Ant 1.6.5 Classloading and JUnit Problem 1" (ant 1.6.5, Java 1.5, Windows, eclipse 3.2.2, CruiseControl). There is a third-party directory at the same level as the individual project directories. Each project de

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

RE: ant / with jdk 5

2007-03-30 Thread Rebhan, Gilbert
Hi, Peter -Original Message- From: Peter Reilly [mailto:[EMAIL PROTECTED] Sent: Friday, March 30, 2007 10:57 AM To: Ant Users List Subject: Re: ant / with jdk 5 /* > Is it possible to use Ant 1.6.5 with java 5 and > use ? Yes, however it is better to specify source as well. I normally

Re: Re: Re: Issue with javac task

2007-03-30 Thread Peter Reilly
On 30 Mar 2007 04:38:00 -, query <[EMAIL PROTECTED]> wrote: Hi, Thanks for your response. I had tried compiling java code with debug option enabled earlier. That was working fine. But I want to compile java source with debug option disabled. What may be the reason for the difference in cla

Re: ant / with jdk 5

2007-03-30 Thread Peter Reilly
On 3/30/07, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: Hi, our deployment env right now = Win2003 Server, Ant 1.6.5, jdk1.4.2_08 Soon we have to support projects, that run under / must be compiled for java 5 also We' ll have a mix of projects for jdk 1.4 and jdk 5 then. I'm looking for the

ant / with jdk 5

2007-03-30 Thread Rebhan, Gilbert
Hi, our deployment env right now = Win2003 Server, Ant 1.6.5, jdk1.4.2_08 Soon we have to support projects, that run under / must be compiled for java 5 also We' ll have a mix of projects for jdk 1.4 and jdk 5 then. I'm looking for the most simple solution to support both java versions, mean