Hi Andy,
are you just trying to ensure that your sources will compile to be, say,
1.3 compliant? This was a problem that I faced for a while and I believe
it was solved on this mailing list. I thought specifying
source/target=1.3 should or would be enough but it is not - you have to
specify the bootclasspath:
<javac source="1.3"
target="1.3"
bootclasspath="C:/Java/jdk1.3.1_16/jre/lib/rt.jar"
srcdir="${source}"
destdir="${classes}" />
Hoping that this was your problem ;)
Barry
Andy Wickson wrote:
Hi,
I know that using <javac ..... executable=<PATH TO JAVAC>
I can specify the javac that I want to use for a compilation but is it
possible to do this the other way round?
I.e., I want to explicitly specify to Ant the runtime to use for itself at
startup (one which it won't find as default in the $PATH) and then use the
default javac for the compilation itself.
Thanks,
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]