Skip to content

mikhailai/protobuf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extension for Google's Protocol Buffers

Copyright 2008 Google Inc.
The protocol buffers code: https://github.com/protocolbuffers/protobuf
Reference: https://developers.google.com/protocol-buffers/

Overview

This repository contains Java Protocol Buffers Nano compiler plugin and runtime library. Google published the Java Nano code for a short time, then stoped supporting it, and removed the code. The repository contains that code, made compile again. It consists of the two following components.

Java Nano Runtime Library

Should be build with Maven. To generate .jar file, cd into "javanano" and run:

 $ mvn package

To Install it into your Maven repository:

 $ mvn install

See the javanano README for more details.

Proto Compiler Plugin

Allows compiling the the .proto file into Java nano. To build, run:

 $ bazel build ...

You would need to install Bazel, see https://bazel.build for more details.

The resulting binary will be:

bazel-bin/protoc-gen-javanano

Place it into a directory included in your PATH, and run:

protoc --javanano_out=<dir> <NormalProtoParams>

Note, this compiles against a specific protoc version: not sure if it'll work well with a different protoc. See the WORKSPACE file for that version.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published