Skip to: Site menu | Main content

A Grails-like Rich Internet Framework

LangBridge Plugin Print

Description

The LangBridge plugin enables compiling commons Java/Groovy sources ahead of every other source available on a Griffon application. This allows other JVM lang plugins (like Clojure, Scala and JavaFx) to implement/reference a common interface or POJO.

Installation

The current version of griffon-lang-bridge-plugin is 0.2.1

To install just issue the following command

griffon install-plugin lang-bridge

Usage

Upon installation the plugin will generate a directory at $appdir/src/commons, you can place the common code there. Compilation of that code is guaranteed to be done before any other compilation happens. However you may compile that code manually by invoking

griffon compile-commons

History

Version Date Notes
0.2.1 11-17-09 compile-commons script should work with help command now
0.2 07-28-09 Renamed $appdir/src/interfaces to $appdir/src/commons
0.1 07-28-09 Initial release