https://github.com/vaci/capnproto-java-rpc rebased on top of capnproto-java master branch
Find a file
2014-05-19 08:43:58 -04:00
compiler/src/main/cpp Remove generator module and replace with compiler and runtime modules 2014-05-19 08:37:13 -04:00
examples/src/main Moved files, updated readme, added src/main/generated to build.scala for IDE support 2014-05-15 19:12:58 -04:00
project Remove generator module and replace with compiler and runtime modules 2014-05-19 08:37:13 -04:00
runtime/src/main/java/org/capnproto Cosmetic refactor: add final keyword where possible 2014-05-19 08:43:58 -04:00
.gitignore Add make as a compile task in the generator project, remove capnpc-java binary when sbt clean is run 2014-05-16 13:16:00 -04:00
.travis.yml oops 2014-05-15 23:08:58 -04:00
CONTRIBUTORS ah, so that's how you spell it 2014-05-15 23:30:05 -04:00
LICENSE ah, so that's how you spell it 2014-05-15 23:30:05 -04:00
Makefile Remove generator module and replace with compiler and runtime modules 2014-05-19 08:37:13 -04:00
README.md word wrap 2014-05-16 22:40:48 -04:00
version.sbt Add SBT as build system, add Java package annotation for generated code 2014-05-15 19:05:20 -04:00

capnproto-java: Cap'n Proto for Java

This is an experimental pure Java implementation of Cap'n Proto.

It doesn't do much yet.

getting started

You will need SBT. We recommend this version.

$ sbt compile
$ echo '(people = [(id = 123, name = "Alice", email = "alice@example.com", employment = (school = "MIT"))])' \
 | capnp encode examples/src/main/schema/addressbook.capnp AddressBook \
 | java -cp generator/target/scala-2.11/classes:examples/target/scala-2.11/classes/ \
   org.capnproto.examples.AddressbookMain read

To generate IntelliJ project files, do sbt update gen-idea.