Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Table of Contents
outlinetrue

Overview

Griffon 1.0.1 - is the first maintenance release of the 1.0 series. The team did it best to get 1.0.0 out of the door on time, unfortunately some bugs managed to scape the last sweep before closing the release. This is a bug-fix only release, no new features have been added.

Fixes

Buildtime

Running Applet/Webstart Modes

A few developers reported they couldn't run applications in either applet or webstart mode due to unresolved variables in the launch scripts. We're happy to say a fix was quickly found and only required that the launch scripts be patched.

Running an Application from Griffonsh

Running applications from within griffonsh encountered and error with a missing variable due to some system properties not being initialized at the right time. The bug affected only run-app/run-webstart/run-applet; all other commands could be executed without a problem.

Default Imports affect JavaFX applications

Earlier in the 0.9.x series the team added the ability to define additional imports per artifacts. Once swing support moved to its own plugin the default imports for Swing views were left in core; this caused trouble in JavaFX views as some of the auto imported class turned out to be not what the developer expected.

Application Naming Conventions

Griffon failed to run an application when its names contained a hyphen ( - ) and was created using the default archetype. The problem laid in the name choosing of the default MVC.

Signing JNLP Files

According to section 5.4.1 of the JNLP specificaction signed JNLP files must be included in the main JAR otherwise a security dialog may appear. The fix for this bug requires developers to explicitly instruct the build if they want the JNLP file included inside the application's jar, by adding he following snippet to BuildConfig.groovy

Code Block
languagegroovy
griffon {
    jnlp {
        sign = true
    }
}

Sample Applications

Griffon 1.0.1 ships with 8 sample applications of varying levels of complexity demonstrating various parts of the framework. In order of complexity they are:

File Viewer

File Viewer is a simple demonstration of creating new MVCGroups on the fly.

Source: samples/FileViewer

To run the sample from source, change into the source directory and run griffon run-app from the command prompt.

GroovyEdit

GroovyEdit is an improved version of FileViewer that uses custom observable models.

Source: samples/GroovyEdit

To run the sample from source, change into the source directory and run griffon run-app from the command prompt.

Font Picker

Font Picker demonstrates form based data binding to adjust the sample rendering of system fonts.

Source: samples/FontPicker

To run the sample from source, change into the source directory and run griffon run-app from the command prompt.

Greet

Greet, a full featured Griffon Application, is a Twitter client. It shows Joint Java/Groovy compilation, richer MVCGroup interactions, and network service based data delivery.

Source: samples/Greet

To run the sample from source, change into the source directory and run griffon run-webstart from the command prompt. Because Greet uses JNLP APIs for browser integration using run-app will prevent web links from working.

SwingPad

SwingPad, a full featured Griffon Application, is a scripting console for rendering Groovy SwingBuilder views.

Source: samples/SwingPad

To run the sample from source, change into the source directory and run griffon run-app from the command prompt.

GroovyFXPad

GroovyFXPad, a full featured Griffon Application, is a scripting console for rendering GroovyFX views.

Source: samples/GroovyFXPad

To run the sample from source, change into the source directory and run griffon run-app from the command prompt.

FxBrowser

FxBrowser is a trivial JavaFX powered browser that demonstrates Griffon's integration with JavaFX.

Source: samples/FxBrowser

To run the sample from source, change into the source directory and run griffon run-app from the command prompt.

WeatherWidget

WeatherWidget demonstrates binding, threading and plugin usage.

Source: samples/WeatherWidget

To run the sample from source, change into the source directory and run griffon run-app from the command prompt.

Release Notes

1.0.1

JIRA Issues
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18574&pid=11833&resolution=1&sorter/field=priority&sorter/order=DESC&sorter/field=issuekey&sorter/order=ASC&tempMax=1000