diff options
author | Wink Saville <wink@google.com> | 2013-04-29 23:33:04 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-04-29 23:33:04 +0000 |
commit | bb9b49029ee9168061adaa08cbe251d35d421e66 (patch) | |
tree | 0d25d038b000a5c9fadbdf357c6a405fe0c909a5 | |
parent | 4349e11df9a06178b8106bb05f61b4d508b5d172 (diff) | |
parent | adf95183f60f13ee0760af23a7ffb4bed264fd1f (diff) | |
download | protobuf-bb9b49029ee9168061adaa08cbe251d35d421e66.tar.gz protobuf-bb9b49029ee9168061adaa08cbe251d35d421e66.tar.bz2 protobuf-bb9b49029ee9168061adaa08cbe251d35d421e66.zip |
Merge "Fix typos in protobuf readme."
-rw-r--r-- | java/README.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/java/README.txt b/java/README.txt index 82c1ed53..3e3fedb5 100644 --- a/java/README.txt +++ b/java/README.txt @@ -100,7 +100,7 @@ To create a jar file for the runtime and run tests invoke directory. The generated jar file is <protobuf-root>java/target/protobuf-java-2.2.0-micro.jar. -If you wish to compile the MICRO_RUTIME your self, place +If you wish to compile the MICRO_RUNTIME your self, place the 7 files below, in <root>/com/google/protobuf and create a jar file for use with your code and the generated code: @@ -116,10 +116,10 @@ If you wish to change on the code generator it is located in /src/google/protobuf/compiler/javamicro. To generate code for the MICRO_RUNTIME invoke protoc with ---javamicro_out command line parameter. javamciro_out takes -a series of optional sub-parameters separated by comma's +--javamicro_out command line parameter. javamicro_out takes +a series of optional sub-parameters separated by commas and a final parameter, with a colon separator, which defines -the source directory. Sub-paraemeters begin with a name +the source directory. Sub-parameters begin with a name followed by an equal and if that sub-parameter has multiple parameters they are seperated by "|". The command line options are: @@ -130,7 +130,7 @@ java_package -> <file-name>|<package-name> java_outer_classname -> <file-name>|<package-name> opt: - This change the code generation to optimize for speed, + This changes the code generation to optimize for speed, opt=speed, or space, opt=space. When opt=speed this changes the code generation for strings so that multiple conversions to Utf8 are eliminated. The default value @@ -144,8 +144,8 @@ java_use_vector: java.util.ArrayList<> is used. When java.util.Vector is used the code must be compiled with Java 1.3 and when ArrayList is used Java 1.5 or above must be used. - The using javac the source parameter maybe used to - control the version of the srouce: "javac -source 1.3". + The using javac the source parameter may be used to + control the version of the source: "javac -source 1.3". You can also change the <source> xml element for the maven-compiler-plugin. Below is for 1.5 sources: |