Code review: Allow protoc to output directly to zip/jar.

3 views
Skip to first unread message

Kenton Varda

unread,
Dec 23, 2009, 9:19:11 PM12/23/09
to Protocol Buffers, Ambrose Feinstein, Jason Hsueh
Hi Ambrose,

When you have a chance, can you please review this change:


The effect is that protoc can output directly to zip files (and it recognizes jar, war, and par as being aliases for zip):

  protoc --java_out=foo.jar foo.proto

BTW, we should probably attribute the source of the CRC table.  Where did you get it?

(Please note that I've CC'd the public mailing list on this e-mail.)

Kenton Varda

unread,
Dec 23, 2009, 9:23:21 PM12/23/09
to Protocol Buffers, Ambrose Feinstein, Jason Hsueh
This would be so much more awesome if javac could take source jar files as input and simply compile everything in the jar.  But no.  Hmph.  I guess I will need a stupid wrapper script.
Reply all
Reply to author
Forward
0 new messages