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).
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 sysproperty or ??
Please do not answer with the "target" attribute of javac, it is not my
purpose. I really want to point to another javac executable.
Thank you

> - Sébastien Noel -
> DEXIA - Banque Internationale à Luxembourg
>
>

---------------------
An electronic message is not binding on its sender.
Any message referring to a binding engagement must be confirmed in writing
and duly signed.
---------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Marc Farrow

Reply via email to