Morning, I pretty new to protobuf, but I already got the basics and compiled all my definitions in a single file to a Java class called "Proto". I wanted to split the definitions into separate files, mainly to get the advantage of being able to include them into a Latex document separately for documentation purposes.
Having all definitions in separate files results one of the following problems: *1) Compiling into separate files:* Classes are in a separate "proto" package, but are always inner classes of NameInCamelCaseOuterClass. TemplateOuterClass.Template template = TemplateOuterClass.Template.newBuilder().setId(1).setName("XY").setContent("...").build(); *2) Compiling into one file:* Setting "option java_outer_classname = "Proto";" results in: edu/.../proto/Proto.java: Tried to write the same file twice. *Is there any way having separate files but one outer class named "Proto" just like when all definitions are in one file with "option java_outer_classname = "Proto";"?* -- 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 protobuf+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.