I have downloaded protocol buffers (2.6.0) and I am trying to compile the .proto files. I run the following from inside the downloaded protobuf-2.6.0 directory
$ protoc --version
libprotoc-2.6.0
$ cd java
$ protoc --java_out=src/main/java -I../src ../src/google/protobuf/descriptor.proto
$ ls src/main/java
com
There are no errors on the protoc command, but the compilation should have generated source files in src/main/java/google/protobuf
--java_outspecifies where generated Java source files should go-Ispecifies the directory where imports can be found
I see nothing wrong with my command. Any ideas?
Thanks