Open
Description
openedon Oct 27, 2015
I tried to switch to wire 2.0 and it's spewing errors. Maybe I'm just getting something wrong with the proto_path setting?
~/level/brotofuff/resources/proto $ java -jar ~/wire-compiler-2.0.0-jar-with-dependencies.jar --java_out=~/wiretmp --proto_path=. `find . -name '*.proto'`
yields a whole bunch of stuff like this:
./users.proto needs to import users.proto
for field error2 (././users.proto at 24:3)
in message com.levelmoney.proto.users.SendPasswordResetResponse (././users.proto at 17:1)
The proto in question looks like this:
message SendPasswordResetResponse {
enum SendPasswordResetError { ... }
optional common.Error error = 1;
optional common.Events events = 2;
optional SendPasswordResetError error2 = 3;
}
Activity