- 1 Overview
- 2 Fixes
- 2.1 Buildtime
- 3 Sample Applications
- 3.1 File Viewer
- 3.2 GroovyEdit
- 3.3 Font Picker
- 3.4 Greet
- 3.5 SwingPad
- 3.6 GroovyFXPad
- 3.7 FxBrowser
- 3.8 WeatherWidget
- 4 Release Notes
- 4.1 1.0.1
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
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