Friday, February 15, 2008

Super Select Tool Release Delayed

I ran into some trouble with OpenJUMP’s I18N class. I’m having trouble locating the properties files located in the Super Select Tool JAR file with the I18N Class. The content on the OpenJUMP I18N wiki page got me to thinking about other options for I18N in OpenJUMP. I’ve take a closer look at Java’s ResourceBundle class and I like the basic concept of using the class for I18N in OpenJUMP.

I’ve decided to implement a class that is very similar to the ResourcBundle class for use in the Super Select Tool and my other plug-ins for OpenJUMP. This class will differ from the standard ResourceBundle class in at least three (3) of important ways:

The location of the text files containing the translated Strings will be passed to the class directly, wither as a File object or as an InputStream. This will avoid the use of the default searching mechanism in the standard ResourceBundle class and will give the programmer control over where exactly to find the translation files for use in the ResourceBundle.

The ResourceBundle will only allow access to translated Strings, and not other types of objects. This will simplify the classes use.

The class will use YAML text files for persistent storage of the translated Strings. This will allow the developer to store more than a key and value for each translated String. They will also be able to store a description of the translates String, translation notes, and the name of the GUI class using the translated String.

This class will be called YAMLResourceBundle. It will have at least two (2) support classes, YAMLResourceBundleFactory and YAMLResourceBundleUtilities. The utility class will allow client code to search for Strings based on the contents of the description, translation notes, or GUI class for each translated String.


The Sunburned Surveyor (A.K.A. - Landon Blake)

Thursday, February 14, 2008

Weekly Builds of OpenJUMP Now Available At Redefined Horizons

The computer that was serving as the generous host of our nightly builds of OpenJUMP took a dump. We've been without a nightly build for a while, although there was some discussion about having a "corporate sponsor" already involved in OpenJUMP host the nightly build for us. (SourceForge doesn't have a way to host nightly builds.)

Until that corporate sponsor materializes I will do my best to host WEEKLY (not nightly) builds of the JPP SVN Repository for OpenJUMP at my www.redefinedhorizons.com website.

You can download the files here:
http://www.redefinedhorizons.com/oj_weekly_build/

There is one zip file for the "executable distribution" of OpenJUMP. Download this zip file if you want to actually run the computer on your desktop. The other zip file contains just the source code.

The Sunburned Surveyor
Posted on 12:05 PM | Categories: