Rebhan, Gilbert wrote:

So if i need to support builds for jdk 1.5 i have to
go via path/to/jdk1.5/bin/javac.exe and <exec> , right ?


I think you can probably get javac to switch by

fork="true"
executable=path/to/jdk1.5/bin/javac.exe
includejavaruntime="false"
includeAntRuntime="false"

you have to set up the classpath to include all the jdk5 jars, because you will probalby need to strip out ant and the jdks runtime from the classpath handed to javac.


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

Reply via email to