SPECS: avalon-logkit.spec - builds with jdk 1.5 (just -target won'...
glen at delfi.ee
Sun Dec 2 17:52:14 CET 2007
On Sunday 02 December 2007 17:04:51 Jakub Bogusz wrote:
> On Sun, Dec 02, 2007 at 02:50:01PM +0100, glen wrote:
> > Author: glen Date: Sun Dec 2 13:50:01 2007 GMT
> > Module: SPECS Tag: HEAD
> > ---- Log message:
> > - builds with jdk 1.5 (just -target won't do)
> What about "-source 1.5"?
> -target selects destination VM, not source language specs.
nope. tried both. the problem is imho that abstract class all methods must be implemented or sth.
in this case java.sql has new methods that must be implemented.
besides, jdk makes such restriction:
[javac] The -source switch defaults to 1.5 in JDK 1.5.
[javac] If you specify -target 1.2 you now must also specify -source 1.2.
[javac] Ant will implicitly add -source 1.2 for you. Please change your build file.
(the buildfile has -source 1.2)
More information about the pld-devel-en