Hello Emmanuel
Le 26/01/14 15:44, Emmanuel Blondel a écrit :
Thanks for the detailed information. I'm following it, and try to
migrate the metadata module to SIS 0.3 and use Geotk 4.0-M1 for the rest.
Cool :-)
Just one doubt that comes to my mind: until now i've used JDK 6, and
Geotk 3.21. I had no problem with using JDK 6 with this Geotoolkit
version. Now, i see the Getoolkit main web-page that mentions JDK 7 as
pre-requisite, and indeed i got a error "Unsupported major.minor
version 51.0" with DefaultGeographicCRS class. Is JDK 7 mandatory
coming with Geotk 4.0? I ask because i also see they are 2 development
branches (JDK 6 and 7) in Apache SIS.
Geotk 4.0 switched to JDK7 in order to simplify its development with a
single branch. It is also in line with the intended new role for Geotk
- a laboratory for SIS - in which case Geotk may try newer technologies
than SIS does.
Apache SIS releases targets JDK6. But I personally do SIS development on
the JDK7 branch because I found that this is the most efficient way to
be aware of new JDK7 features and to design the library in a way that
take advantage of them. I found the cost of backporting to JDK6 small
enough if that work is done at least monthly.
The SIS JDK7 branch is not officially released by Apache. The Geotk
project deploys "SIS for JDK7" JARs on its own Maven repository for
faster development cycle between SIS developments and the corresponding
Geotk updates, but this is not official Apache releases.
Hopefully, when we will have finished to migrate to SIS all the Geotk
modules that you need, the "SIS + Geotk" hack could end and you could
rely only on the official Apache releases. But do you have a need for
JDK6 support in the meantime?
Martin