RE: Change JAVA home for one Javac task and not the other

2006-08-31 Thread Noel Sebastien \(BIL\)
understand the sense of "extdirs" options. Anyway works fine without using it. -Original Message- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: mercredi 30 août 2006 16:04 To: Ant Users List Subject: Re: Change JAVA home for one Javac task and not the other Hello Sebas

RE: Change JAVA home for one Javac task and not the other

2006-08-30 Thread Stephen McConnell
> -Original Message- > From: Marc Farrow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 30 August 2006 11:10 PM > To: Ant Users List > Subject: Re: Change JAVA home for one Javac task and not the other > > Can't you just specify the source level when you ca

Re: Change JAVA home for one Javac task and not the other

2006-08-30 Thread Antoine Levy-Lambert
Hello Sebastien, Marc, you have to fork the in this case. so Regards, Antoine Original-Nachricht Datum: Wed, 30 Aug 2006 09:39:43 -0400 Von: "Marc Farrow" <[EMAIL PROTECTED]> An: "Ant Users List" Betreff: Re: Change JAVA home for one Javac task

Re: Change JAVA home for one Javac task and not the other

2006-08-30 Thread Marc Farrow
Can't you just specify the source level when you call the javac task? The same as Something like javac -source 1.3 -target 1.3 com.mycompany.MyClass.java On 8/30/06, Noel Sebastien (BIL) <[EMAIL PROTECTED]> wrote: Hello, I have one build.xml, with two Javac tasks (amongt several other ones).

Change JAVA home for one Javac task and not the other

2006-08-30 Thread Noel Sebastien \(BIL\)
Hello, I have one build.xml, with two Javac tasks (amongt several other ones). The first javac task uses the default java.home (which is our JDK 1.4.1) => works fine The second javac task should use another java.home (JDK 1.3.1 for example) => but how do change the javac path ? Something like sys