title: Ant target for building protocol buffer files
body: <p>Can anyone show me how to write ant rules (<code>build.xml</code>) for creating a .jar file from  a .proto file?</p>
  
  <p>Basically, I have written a functional <code>example.proto</code> and I can use the command line <code>protoc</code> to output java files.  But I want an ant rule to automate the above process as part of my build.  Can someone share a code snippet for a starting point?</p>