Anyone can show me a pointer about how to write ant rules (build.xml) for creating a .jar file from a .proto file?
Basically, I have write a legitimate example.proto and I can use the command line to compiled output java file: Struct.java internalStruct.java.
What I want is to write an ant rule to automate the above process. Any existing read? Or can someone share some code snippet for a starting point?