When you invoke the proto compiler are you passing a value for -I (the
import path) such that  "abc/first.proto" can be found? It defaults to the
current working directory.

On Wed, Apr 14, 2010 at 9:20 AM, DK <[email protected]> wrote:

> Hi,
>
> I have a proto file (first.proto) in folder abc and package abc. I
> need to create a new proto file (second.proto) in another folder xyz
> and new package, which needs to include first.proto
>
> I have tried
>
> import "abc/fist.proto" ==> Doesn't work. Proto Compiler errors
> import "../sbc/first.proto" ==> Doesn't work. Proto Compiler errors
>
> Whats the best way to achieve this?
>
>  -- DK
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<protobuf%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to