Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Overview

Griffon 1.2.0 - is the latest release in the 1.x series

Dependencies

The following dependencies have been upgraded

  • groovy-all 2.0.6
  • slf4j-api 1.7.2
  • slf4j-log4j12 1.7.2
  • jcl-over-slf4j 1.7.2
  • jul-to-slf4j 1.7.2
  • org.springframework.beans 3.2.0.RELEASE
  • org.springframework.context 3.2.0.RELEASE
  • org.springframework.context.support 3.2.0.RELEASE
  • org.springframework.core 3.2.0.RELEASE

Features

Buildtime

New Commands

The following commands have been added

  • list-templates: displays a list of all available templates that can be used in the current project.
  • upload-release: uploads a release package to an artifact repository. This one differs from release as it expect the release package file to exist already, e.g. downloaded from a remote artifact repository.
  • wrapper: creates or updates files required by the Griffon wrapper command.

Toolkit Aware Plugin Install

Griffon supports several UI toolkits for which many plugins may exist. Some of these plugins provide the same behavior but targeting a different UI toolkit, for example miglayout (swing) vs. miglayout-javafx (javafx). Now, every Griffon application has a default UI toolkit specified in its metadata; this fact makes it possible to simplify plugin installation by only specifying the common plugin name, that is, the following command

will install miglayout-javafx if the application has javafx defined as its UI toolkit. On the other hand, it will install miglayout if the UI toolkit is swing.

Usage Tracking

An opt-in usage tracking system has been put into place in order to monitor the development of the Griffon community and help drive the roadmap for future features. There's no personal information being recorded; usage tracking can be disabled/enabled at any time. Verifying the current status of usage tracking is done by invoking this command

Enabling or disabling usage tracking is done with

Usage tracking is turned off automatically if running in offline mode.

IDE Support

DSL descriptors for both Intellij IDEA and Eclipse have been updated to their latest compatible syntax.

Runtime

Service LifeCycle

Services now have their own life-cycle methods, similarly to their MVC counterparts. See the section Service LifeCycle for more information.

Service Configuration DSL

Services properties may now be configured externally to the service class, using a simple DSL. Refer to the Service Configuration DSL section to learn more.

External Configuration

Applications now have the ability to specify alternate locations for configuration files and scripts. Simply configure griffon.config.locations in Config.groovy, for example

Section External Configuration Support covers this feature in more detail.

New Application Events

Instances managed by the application (such as MVC members) will now trigger a DestroyInstance event when the instance is no longer needed. This event is the counterpart of NewInstance.

Compatibility

The following plugins need to be updated to their latest versions

  • eclipse-support
  • spring
  • spock

Sample Applications

Griffon 1.2.0 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.2.0

Loading
Type Key Summary Assignee Reporter Priority Status Resolution Created Updated Due
Bug GRIFFON-552 Integrate with Itellij IDEA Andres Almiray Sofia Sun Critical Closed Fixed Sep 30, 2012 May 12, 2013
Bug GRIFFON-347 [SwingPad] Running Sphere sample results in an error Andres Almiray Andres Almiray Major Closed Fixed Mar 24, 2011 May 12, 2013
Bug GRIFFON-547 Griffon command throws a shell error upon execution Andres Almiray Andres Almiray Major Closed Fixed Sep 09, 2012 May 12, 2013
Improvement GRIFFON-553 Intellij GDSL for Swing building should include named parameters Andres Almiray Jason Winnebeck Major Closed Fixed Oct 01, 2012 May 12, 2013
Improvement GRIFFON-554 Run a 'clean' after upgrading plugins Andres Almiray Wim Deblauwe Major Closed Fixed Oct 02, 2012 May 12, 2013
Bug GRIFFON-555 ListPlugins throws an error when attempting a query on a remote repository in offline mode Andres Almiray Andres Almiray Major Closed Fixed Oct 05, 2012 May 12, 2013
Improvement GRIFFON-556 Toolkit specific plugins should be able to be installed by using aliases Andres Almiray Andres Almiray Major Closed Fixed Oct 05, 2012 May 12, 2013
Improvement GRIFFON-557 Give a better error message when plugins could not be installed due to incompatible versions Andres Almiray Andres Almiray Major Closed Fixed Oct 05, 2012 May 12, 2013
Task GRIFFON-560 Upgrade to Groovy 2.x Andres Almiray Andres Almiray Major Closed Fixed Oct 08, 2012 May 12, 2013
Bug GRIFFON-561 The guide does not cover reverseConverter: in the binding section Andres Almiray Andres Almiray Major Closed Fixed Oct 10, 2012 May 12, 2013
Bug GRIFFON-562 IzPack installer adds unneeded quotes to PATH environment variable Andres Almiray Andres Almiray Major Closed Fixed Oct 15, 2012 May 12, 2013
Improvement GRIFFON-563 Add lifecycle handling methods to griffon.core.GriffonService Andres Almiray Andres Almiray Major Closed Fixed Oct 16, 2012 May 12, 2013
Improvement GRIFFON-565 Allow service properties to be configured externally Andres Almiray Andres Almiray Major Closed Fixed Oct 16, 2012 May 12, 2013
Improvement GRIFFON-567 Improve CSS style used to generate PDF version of Griffon Guide Andres Almiray Andres Almiray Major Closed Fixed Oct 19, 2012 May 12, 2013
New Feature GRIFFON-568 Add a command that lists all currently available artifact templates Andres Almiray Andres Almiray Major Closed Fixed Oct 21, 2012 May 12, 2013
New Feature GRIFFON-569 Add a command that creates/updates wrapper files Andres Almiray Andres Almiray Major Closed Fixed Oct 22, 2012 May 12, 2013
New Feature GRIFFON-570 Keep track of usage stats Andres Almiray Andres Almiray Major Closed Fixed Oct 23, 2012 May 12, 2013
New Feature GRIFFON-571 Trigger event when an artifact instance is destroyed Andres Almiray Andres Almiray Major Closed Fixed Oct 31, 2012 May 12, 2013
Bug GRIFFON-572 Can't instantiate services Andres Almiray Andres Almiray Major Closed Fixed Oct 31, 2012 May 12, 2013
Bug GRIFFON-573 Services should be unregistered as application event listeners upon destruction Andres Almiray Andres Almiray Major Closed Fixed Oct 31, 2012 May 12, 2013
Showing 20 out of 40 issues Refresh

  • No labels