[geotk] [JIRA] Created: (GEOTK-41) Include de Derby dependencies in the bundles for convenience

Martin Desruisseaux (JIRA) jira at geomatys.com
Wed Sep 23 07:16:46 EDT 2009

Include de Derby dependencies in the bundles for convenience

                 Key: GEOTK-41
                 URL: http://jira.geotoolkit.org/browse/GEOTK-41
             Project: Geotoolkit
          Issue Type: Improvement
          Components: Referencing
    Affects Versions: 3.04
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
            Priority: Minor
             Fix For: 3.04

The EPSG factories in Geotk do not declare any dependency to a JDBC driver on intend, in order to let the user choose his database engine (PostgreSQL, Access, JavaDB, _etc_.). Note that JavaDB is available with 13 different locales (at the time of writting), so a user wanting JavaDB may want to choose his locale as well. Users may also want to choose the version of their JDBC driver. However this freedom come with an extra cost: the EPSG factories will not work if the user does not put explicitly a JDBC driver on the classpath. As a side-effect, it prevents the user from using the easy syntax:

java -jar geotk-referencing-SNAPSHOT.jar

since the classpath can not be modified that way; he has to use a more verbose command:

java -cp derby- org.geotoolkit.console.ReferencingCommands

A [geotk-epsg-javadb|http://www.geotoolkit.org/modules/referencing/geotk-epsg-javadb/index.html] module has been added, which has no purpose other than declaring explicitly the dependencies toward Derby. It enables the easier {{java -jar}} syntax. This module can also be used during the creation of the Geotk bundles in order to inject the Derby dependencies in the bundles. It would come at the cost of a 2 Mb increase of the JAR file however. This task is about injecting those dependencies, if the increase in download size is considered acceptable.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.geotoolkit.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the Geotoolkit mailing list