[protobuf] writing a rpc plugin

2010-08-08 Thread Peter
Hi folks, I am new to protocol buffer, but interested in writing a customized Java rpc lib. The new version recommend to write it in a plugin. However, I cannot find any tutorial on this. Could anybody give an example to help me start? Thanks! Wenhao -- You received this message because you a

[protobuf] Re: Python script as a compiler plugin

2010-08-08 Thread Sean Lin
Write a Bat to run python script. Use this command protoc --plugin=protoc-gen-j2me=path/to/protoc-gen-j2me.bat -- j2me_out=output-path your.proto On Aug 5, 9:26 pm, Ralf wrote: > For my J2ME port, I used the compiler plugin system introduced in > protobuf 2.3.0. It really simplified my work - th

[protobuf] Re: writing a rpc plugin

2010-08-08 Thread Yegor
I think we're in the same boat. All I've found is: - http://code.google.com/apis/protocolbuffers/docs/reference/other.html - http://code.google.com/apis/protocolbuffers/docs/reference/cpp/google.protobuf.compiler.plugin.pb.html A tutorial would be nice. I am too lazy to learn by trial and error