Hi All
I am currently running
ant under
java 1.3 (long story - but this is so I can run the Borland BES 5.1 java2iiop command - won't run under anything else).
I have a requirement to now use a third party java 1.5 built jar (Adgen 7.5 runtime). I can't do this in the 1.3, so my plan was to make the javac command run under java 1.5, but targeting the resulting classes back to 1.3 (using target=1.3).
I'm using the following task
However when the compiler is external the parameters to javac are ignored (I get a warning).
Is there any way to do this???
Without the options being passed, the resultant jar is a 1.5 jar - which just passes the problem up to the next layer in the system. At some point I need to bring the bytecode down to v1.3, and the lower the better as this is the only part of the system where we have a dependency on java 1.5.
Any other suggestions also welcome!
Regards
Steve
[ September 10, 2006: Message edited by: Steve Dalton ]