Skip to end of metadata
Go to start of metadata

Overview

Griffon 1.0.2 - is the second maintenance release of the 1.0 series. This is mostly bug-fix release, with only 2 small features added.

Fixes

Buildtime

File Paths on Windows

Users reported having issues with applications on Windows platforms whose names either contained a hyphen or one or more paths contained whitespace characters. A couple of bugs were filed and fixed for this matter.

Resolve Application Name

The create-app command did not react properly when an application name was not given as an argument.

Griffonsh did not honor --env option

No matter how you specified the --env option griffonsh would never use it. This was a last minute bug introduced in 1.0.0.

Service instantiation error lost

Griffon would eat any exceptions thrown by services instantiated by the default ServiceManager, making it difficult to find the problem. The exception is now logged as soon as it occurs.

Additional Compile Paths

There may be times where additional sources should be compiled along with application sources, for example when a custom patch is needed when targeting a particular platform or applying a security fix that should not be included in the application's versioned sources.

Additional sources may be defined in BuildConfig.groovy in the following way

You may define literal or File values. Paths are assumed to be relative to the application's root.

Additional Resource Paths

Sometimes you' want additional resources to be included with the application but their inclusion is conditional, for example when packaging a generic applicaiton that contains customization for clients A and B you'd want an application per client that only includes the client's respective logos and brand recognition resources. Another example would be protected resources that should not be included in the application's sources under SCM.

Additional resources may be defined in BuildConfig.groovy in the following way

You may define literal or File values. Paths are assumed to be relative to the application's root.

Sample Applications

Griffon 1.0.2 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.2

Loading
T Key Summary Assignee Reporter P Status Resolution Created Updated Due
Bug GRIFFON-530 run-app on projects with composed name Andres Almiray Fabrizio Cucci Major Closed Fixed Jul 10, 2012 Sep 21, 2012
Bug GRIFFON-534 The signature file name should be allowed to contain hyphens Andres Almiray Steinar Haugen Major Closed Fixed Jul 10, 2012 Sep 21, 2012
Bug GRIFFON-537 Exception while running test-app on plugin with add-on Andres Almiray Dean Iverson Major Closed Fixed Jul 20, 2012 Sep 21, 2012
Bug GRIFFON-538 Specifying --env=prod or --env=production no longer works for commands in griffonsh Andres Almiray Dean Iverson Major Closed Fixed Jul 23, 2012 Sep 21, 2012
Improvement GRIFFON-539 Allow additional source directories to be compiled Andres Almiray Andres Almiray Major Closed Fixed Jul 25, 2012 Sep 21, 2012
Improvement GRIFFON-540 Allow additional directories in the classpath before launching an application during development Andres Almiray Andres Almiray Major Closed Fixed Jul 25, 2012 Sep 21, 2012
Bug GRIFFON-541 Error with run-app on windows - path problems again? Andres Almiray Dean Iverson Major Closed Fixed Jul 26, 2012 Sep 21, 2012
Bug GRIFFON-542 Can't resolve application name when creating an application Andres Almiray Andres Almiray Major Closed Fixed Jul 27, 2012 Sep 21, 2012
Bug GRIFFON-544 UberBuilder does not use resolveFactory Danno Ferrin Danno Ferrin Major Closed Fixed Jul 31, 2012 Jan 11, 2013
Bug GRIFFON-535 Better information when a service constructor fails Andres Almiray Steve Ash Minor Closed Fixed Jul 16, 2012 Sep 21, 2012

  • No labels