[protobuf] Job.proto:11:18: DescriptorProto is not defined.

2012-10-02 Thread Fahad Madani
Hi, I am trying to compile my .proto file using protoc compiler and generate java classes for the same. Below is my Job.proto file *import google/protobuf/descriptor.proto; option java_package = com.myfile.test; option java_outer_classname = JobProto; message Job{ required string

Re: [protobuf] Job.proto:11:18: DescriptorProto is not defined.

2012-10-02 Thread Jason Hsueh
To start with you need to use the qualify with the package as google.protobuf.DescriptorProto. See the section on Name Resolution: https://developers.google.com/protocol-buffers/docs/proto#packages Assuming your paths are set up correctly it should work after that. On Fri, Sep 28, 2012 at 2:19