Casey Daniell wrote:
Try setting just the javac process...

  <javac srcdir="${src}"
         destdir="${build}"
         fork="true"
         source="1.2"
         target="1.2"
  />

OR

  <javac srcdir="${src}"
         destdir="${build}"
         fork="yes"
         executable="/opt/java/jdk1.2/bin/javac"
         compiler="javac1.2"
  />


Hello, I'm afraid the first version won't work. Use the second one, fork must be true, executable set to the javac.exe from your jdk1.2 installation (for example: c:\java\jdk1.2\bin\javac.exe). I think that compiler attribute is ignored when executable is set. You may try to set target attribute, but in my oppinion it is not necessary.

Best regards

Ondrej Svetlik

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

Reply via email to