Skip to content
Trhrft compile time support
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Apache Thrift integration

Plugin page:

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.


This plugin requires you to have a valid thrift compiler installed. Follow the installation instructions laid out in the Thrift Wiki. Once installed you must instruct the build where to locate the thrift executable. Edit griffon-app/conf/BuildConfig.groovy with the following content

apache.thrift.executable = "/usr/local/bin/thrift" // change this path to your own path

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.


Thrift version currently supported is 0.8.0.


  • thrift - compiles thrift sources (.thrift) then compiles the generated java sources.
Something went wrong with that request. Please try again.