Hello all

I added an "About" [1] class providing configuration information, to be run from the command-line or on a remote machine using MBean. The reason for this class is that, by experience, many issues reported by users are caused for example by the application connecting to another EPSG database than the one the user though it was connecting. So this class is supposed to tell which resources the application is actually using. This first draft reports only basic information like JVM version and libraries on the classpath, but it should be completed with information like EPSG version when other SIS modules will progress.

Note that this tools is not aimed to be an application, so it doesn't collapse with the sis-app module.

To make easier the usage of this tools from the command-line, I also ported a Maven plugin which put JAR files with all dependencies together in the "target/binaries" directory of the project root [2]. This is similar but not identical to the Maven assembly plugin. One difference is that the JDK7 version of this plugin uses hard links instead of copying the files, so it should be very cheap. On JDK6, links are not easily available, so I don't know yet if we should run this plugin for those branches (running on JDK6 would copies the files, which would waste a few Mb on the developer machine).

    Martin


[1] https://builds.apache.org/job/sis-jdk7/site/apidocs/org/apache/sis/util/About.html
[2] https://builds.apache.org/job/sis-jdk7/site/sis-build-helper/index.html

Reply via email to