Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
547d76ed
Commit
547d76ed
authored
Jul 31, 2017
by
king6cong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add classpath for java example Makefile
parent
9b505a92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
Makefile
examples/Makefile
+1
-1
README.txt
examples/README.txt
+7
-0
No files found.
examples/Makefile
View file @
547d76ed
...
...
@@ -51,7 +51,7 @@ list_people_gotest: list_people.go list_people_go
go
test
list_people.go list_people_test.go
javac_middleman
:
AddPerson.java ListPeople.java protoc_middleman
javac AddPerson.java ListPeople.java com/example/tutorial/AddressBookProtos.java
javac
-cp
../java/core/target/
*
.jar
AddPerson.java ListPeople.java com/example/tutorial/AddressBookProtos.java
@
touch
javac_middleman
add_person_java
:
javac_middleman
...
...
examples/README.txt
View file @
547d76ed
...
...
@@ -28,6 +28,13 @@ These examples are part of the Protocol Buffers tutorial, located at:
"-lpthread" from the linker commands (perhaps replacing it with something else).
We didn't do this automatically because we wanted to keep the example simple.
## Java ##
protobuf-java-*.jar can be generated by:
cd ../java
mvn package
and will be used by "make java"
## Go ##
The Go example requires a plugin to the protocol buffer compiler, so it is not
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment