Skip to end of metadata
Go to start of metadata

Description

Provides integration with Apache Thrift – a software framework for scalable cross-language services development. It combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and OCaml.

Installation

The current version of griffon-thrift-plugin is 0.3
To install just issue the following command

Usage

This plugin requires you to have a valid thrift compiler installed. Follow the installation instructions laid out at the Thrift Wiki. Once installed you must instruct the build where to locate the thrift executable. Create a file named BuildConfig.groovy (if it doesn't exist) at griffon-app/conf with the following content

griffon-app/conf/BuildConfig.groovy

Place your .thrift sources at $basedir/src/thrift. They will be automatically compiled to java sources (and classes) whenever the application is compiled. Alternatively you may call the thrift command to compile thrift sources at any time.

Scripts

  • thrift - compiles thrift sources (.thrift) then compiles the generated java sources.

History

Version

Date

Notes

0.3

03-11-11

Release sync with Griffon 0.9.2; Upgrade to Thrift 0.5.0.0

0.2

07-22-10

Release sync with Griffon 0.9

0.1

03-01-10

Initial release

  • No labels