I've tried to use the experimental Java support for writing the protoc
plugins from http://codereview.appspot.com/912042/show
Everything got compiled correctly but when I started using it, got the
protoc --java_out=. --plugin=protoc-gen-my --my_out=. config.proto
--my_out: protoc-gen-my: Plugin output is unparseable.
Redirecting the output of 'protoc-gen-my' script to a file and then
trying to recreate the 'CodeGeneratorResponse' in code worked without
However when using it with protoc, it refuses to parse it. :(
This is the content of my 'protoc-gen-my' script:
#cd `dirname $0`
#java -Xdebug -
#java -jar protobuf-java-codegen-0.1.jar 1> data.pb
java -jar protobuf-java-codegen-0.1.jar
Any idea what I could be doing wrong?
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at