Over a million developers have joined DZone.

Griffon 1.1.0 released

DZone's Guide to

Griffon 1.1.0 released

· ·
Free Resource
The Griffon team is happy to announce Griffon 1.1.0, the latest release of the 1.x series.

Griffon is an application framework for developing desktop applications in the JVM, with Groovy as the primary language of choice.

This release brings new functionality that should make working with i18n content and resources a much pleasant experience. To begin with, the i18n plugin has been reworked and incorporated into core inside the griffon.core.i18n package. Every Griffon application is now i18n aware, messages by a (configurable) MessageSource. The Griffon Guide includes a new chapter on the subject.

Paired with i18n we get another set of APIs: resource management and injection. It's now possible to define resources such as images, icons, colors that should become available on a Model class, but instead of putting them on code you define them on external external resource files. These resource files happen to be Locale aware, exactly like their messages (i18n) counterparts. Resources may be injected programmatically or automatically by annotating properties/fields with @InjectedResource. The Griffon Guide also includes a brand new chapter explaining all options and formats.

Then there's the ActionManager incubated by the actions plugin. This component is capable of harvesting controller actions (whether they are closures or methods, doesn't matter) and create toolkit specific Actions that are added to builders using a naming convention. All aspects of an action (name, description, icon, etc) are handled by externalized resources (leveraging the new i18n features). Both Swing and JavaFX plugins provided custom support for their respective ActionManagers.

Be aware that some plugins should not be used anymore (i18n, i18n-support, actions) as they are no longer compatible with Griffon. The spring and the dialogs have changed to reflect the new i18n APIs, it's important that you upgrade to their latest releases when moving to Griffon 1.1.0.

Finally the Griffon Guide has been migrated to grails-doc 2.x, resulting in a more interactive experience.

Full listing of bugs fixed in this release can be found at [ http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11833&version=18430]
Full release notes are located here.
You can download the Griffon distribution from the download page.

Thanks to all who contributed to this release!

Keep on Groovying!

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}