We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
All generated Java classes are without package name. What am I doing wrong?
Here is my compilation code:
java -jar wire-compiler-1.6.0-jar-with-dependencies.jar \ --java_out=../app/src/main/java/my/package/name/proto api.proto
First few lines look like this:
// Code generated by Wire protocol buffer compiler, do not edit. // Source file: /full/path/to/api.proto import com.squareup.wire.Message; import com.squareup.wire.ProtoField; import static com.squareup.wire.Message.Datatype.INT32; import static com.squareup.wire.Message.Datatype.STRING; import static com.squareup.wire.Message.Label.REQUIRED; public final class ResponseError extends Message {
The text was updated successfully, but these errors were encountered:
Ok, I'm stupid. Forgot to set package in .proto file.
Sorry, something went wrong.
No branches or pull requests
Hi!
All generated Java classes are without package name. What am I doing wrong?
Here is my compilation code:
First few lines look like this:
The text was updated successfully, but these errors were encountered: