Answer the question
In order to leave comments, you need to log in
How to automatically specify java_package option in .proto file?
Hello!
I am developing an application in java.
I have some .proto files, I compile them with maven and protobuf-maven-plugin, everything is fine. But.
When I add another .proto file, I have to write options at the beginning of it:
option java_package = "пакет";
option java_outer_classname = "Имя";
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question