>
> Hm, I think you may have misunderstood me. GOPATH seems to be some 
> variable to control the paths searched by the Go language compiler
>
> Yes, it's true. I was in  golang context, I looked in the source at 
github. Im not familar with this but i think that rel paths from the file 
descriptor are not useful to detec the fullpath exactly, I have seen that 
you did not handle main()  arguments at first. Dont you get anything you 
need through the args of the main()?. arg[0] should be the command to exec 
your program. and you can get info from getcwd. I havn't wrote a plugin for 
protoc, but i think protoc should pass all arguments to the plugins.  

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to