facebook/swift — pull request #27 by hgschmie (2012-10-24 06:24:45+00:00)
Title: add code generator and maven plugin

do "mvn clean install", then "cd swift-demo; mvn clean package"

Needs some polishing and logging in the generator and the maven plugin but generally works. The template code also requires a bit more looking after.

TODO

- client/server ?
- immutable beans for structs (switch on config)

usage:

com.facebook.mojo
swift-maven-plugin
0.1-SNAPSHOT

generate

com.fb.demo

${project.basedir}/target/generated-sources/swift

${project.basedir}/src/main/idl

**/*.thrift