README.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Protocol Buffers - Google's data interchange format
  2. Copyright 2008 Google Inc.
  3. This directory contains the Java Protocol Buffers runtime library.
  4. Installation
  5. ============
  6. 1) Install Apache Maven if you don't have it:
  7. http://maven.apache.org/
  8. 2) Build the C++ code, or obtain a binary distribution of protoc. If
  9. you install a binary distribution, make sure that it is the same
  10. version as this package. If in doubt, run:
  11. $ protoc --version
  12. You will need to place the protoc executable in ../src. (If you
  13. built it yourself, it should already be there.)
  14. 3) Run the tests:
  15. $ mvn test
  16. If some tests fail, this library may not work correctly on your
  17. system. Continue at your own risk.
  18. 4) Install the library into your Maven repository:
  19. $ mvn install
  20. 5) If you do not use Maven to manage your own build, you can build a
  21. .jar file to use:
  22. $ mvn package
  23. The .jar will be placed in the "target" directory.
  24. Usage
  25. =====
  26. The complete documentation for Protocol Buffers is available via the
  27. web at:
  28. http://code.google.com/apis/protocolbuffers/