Description
Provides integration with Google Protocol Buffers – a language-neutral, platform-neutral, extensible way of serializing structured data for use in communications protocols, data storage, and more.
Installation
The current version of griffon-protobuf-plugin is 0.5
To install just issue the following command
Usage
This plugin requires you to have a valid protoc compiler installed. Follow the installation instructions laid out in the java tutorial. Once installed you must instruct the build where to locate the protoc executable. Create a file named BuildConfig.groovy (if it doesn't exist) at griffon-app/conf with the following content
Place your .proto sources at $basedir/src/protobuf. They will be automatically compiled to java sources (and classes) whenever the application is compiled. Alternatively you may call the protoc command to compile protobuf sources at any time.
Scripts
- protoc - compiles protobuf sources (
.proto) then compiles the generated java sources.
History
Version |
Date |
Notes |
|---|---|---|
0.5 |
10-21-11 |
Release sync with Griffon 0.9.4; Upgrade to Protobuf 2.4.1 |
0.4 |
03-11-11 |
Release sync with Griffon 0.9.2; Upgrade to Protobuf 2.4.0a |
0.3 |
07-22-10 |
Release sync with Griffon 0.9 |
0.2 |
03-01-10 |
Upgraded to Griffon 0.3 |
0.1 |
11-18-09 |
Initial release |