Re: [protobuf] Can't get import ../file.proto to compile

2013-10-03 Thread Feng Xiao
For each .proto file there is a canonical name and this name is used in the import statement. The canonical name is a relative file path name (. and .. is not allowed) and you can choose which directory to relative to by using the --proto_path argument properly. For example, suppose you have a

Re: [protobuf] Can't get import ../file.proto to compile

2013-10-03 Thread Steve Maher
Thanks for the explanation. Turns out there is a per-project import path setting in Eclipse that will let me do things the right way and also make the plugin happy. Steve On Thu, Oct 3, 2013 at 2:15 PM, Feng Xiao xiaof...@google.com wrote: For each .proto file there is a canonical name and