banshaotang / protobuf-dt

Automatically exported from code.google.com/p/protobuf-dt
0 stars 0 forks source link

Have an option to compile .protos whenever necessary #238

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There is a preference to "Compile .proto files on save", but I would like to 
have an option to compile them when needed -- i.e. whenever the corresponding 
.java is missing or has an older timestamp than the proto.

Without that option, in order for things to work, one needs to have the ant 
target trigger as an external program, which adds friction to bringing protos 
to a project. And since the plugin knows which protos generate which java 
files, that feels quite suboptimal.

Original issue reported on code.google.com by zorze...@google.com on 24 Jan 2013 at 7:18