Skip to content

phxql/capnp-java-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

A small example project to work with Cap'n proto and Java.

Usage

  1. Install cap'n proto
    1. On Fedora you can dnf install capnproto capnproto-devel
  2. Install cap'n proto for Java
    1. Put the capnpc-java binary somewhere on your $PATH
  3. The schema is stored in src/main/capnp/foo.capnp
  4. Execute the build.sh to compile the schema to Java files
    1. The generated java file is stored in src/main/java/de/mkammerer/capnp/test/Capnp.java
  5. See Main class for reading / writing

License

CC0

About

A small example project to work with Cap'n proto and Java.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages