[protobuf] Re: Issue 183 in protobuf: --java_out=output_list_file= parameter fails when compiling multiple proto files
Updates: Status: WontFix Comment #6 on issue 183 by xiaof...@google.com: --java_out=output_list_file= parameter fails when compiling multiple proto files https://code.google.com/p/protobuf/issues/detail?id=183 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- 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 protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Re: Issue 183 in protobuf: --java_out=output_list_file= parameter fails when compiling multiple proto files
Comment #4 on issue 183 by t.broyer: --java_out=output_list_file= parameter fails when compiling multiple proto files http://code.google.com/p/protobuf/issues/detail?id=183 In the event you'd like to fix this anyway, it might be as easy as adding a new method to CodeGenerator: public: virtual bool Generate(const vectorconst FileDescriptor* parsed_files, const string parameter, OutputDirectory* output_directory, string* error); to encapsulate the loop that's found in both CommandLineInterface::GenerateOutput and PluginMain (the latter function would need some refactoring to actually build the vectorconst FileDescriptor* out of the DescriptorPool and CodeGeneratorRequest::file_to_generate) and that could be overridden (or you could make it non-virtual and provide start/end protected virtual methods as hooks called before and after the loop respectively). The current per-FileDescriptor method would likely become protected too. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email to proto...@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 183 in protobuf: --java_out=output_list_file= parameter fails when compiling multiple proto files
Comment #1 on issue 183 by ken...@google.com: --java_out=output_list_file= parameter fails when compiling multiple proto files http://code.google.com/p/protobuf/issues/detail?id=183 Yeah, this cannot be fixed without design changes. Perhaps you could instead take advantage of .jar output mode? If you output to a .jar, then you can enumerate files in the .jar easily. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email to proto...@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 183 in protobuf: --java_out=output_list_file= parameter fails when compiling multiple proto files
Comment #2 on issue 183 by t.broyer: --java_out=output_list_file= parameter fails when compiling multiple proto files http://code.google.com/p/protobuf/issues/detail?id=183 I actually do not have a need for it myself, I just stumbled upon it while working on my Java-based plugin (where I want to output a file listing other files generated by each .proto file processed; namely a GWT module that inherits/ the GWT modules generated for each .proto file), and it happened to me that it couldn't have been done in C++ using the CodeGenerator API (and PluginMain) only. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email to proto...@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
[protobuf] Re: Issue 183 in protobuf: --java_out=output_list_file= parameter fails when compiling multiple proto files
Comment #3 on issue 183 by ken...@google.com: --java_out=output_list_file= parameter fails when compiling multiple proto files http://code.google.com/p/protobuf/issues/detail?id=183 Well, you're the first person ever to report this. I suspect no one actually uses this feature... -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email to proto...@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.