Is it possible in a simple fashion to have the code compile using java 1.4.2 and java 1.5.0. We have two components, and one needs to be compiled using 1.4.2 and one with 1.5.0.
You can provide the complete path of the executable file you want to use in the javac task of your script. To compile two components seperately you need to write two seperate tasks, each specifying the complete path of the javac compiler you wish to use.
e.g
javac executable="${WAS_HOME}\runtimes\base_v5\java\bin\javac.exe" In the executable property for each task specifify the location of your javac compiler. This should solve your problem