I'm also interested in a portable protoc compiler - java would be nice, but 
python would work too. No one has a comment on this?

On Friday, January 24, 2014 2:07:27 AM UTC-7, Matthias Hogerheijde wrote:
>
> Hi,
>
> I've successfully compiled protoc in order to generate Java sources from a 
> .proto file. (In this case gtfs-realtime.proto 
> <https://developers.google.com/transit/gtfs-realtime/gtfs-realtime-proto>
> .)
>
> We're using this in a Maven project. My wish is to have Maven compile the 
> Java source from the .proto files automatically; and not have the compiled 
> sources checked in into Git.
> I've configured Maven to automatically execute protoc with the desired 
> parameters to generate the sources for me; all is going well.  I even 
> configured Maven to use the Windows executable when on a Windows platform.
>
> But the Linux version is not portable. When compiling the 
> protoc-executable it hard-codes some absolute paths. This means that I 
> cannot ship the executable with the project, for other programmers working 
> on the same project don't have the same folder-tree as I do; and I don't 
> want to force them to either.
>
> Does anyone know of a way to have a portable solution to generate the code 
> on the fly, without having every contributor on the project having to 
> download/configure/compile protoc?
>
> Kind Regards,
> Matthias Hogerheijde
>

-- 
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 http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to