An project that can be adjusted for your own needs.
From the bin directory try the following commands:

1. Compile the source code:
$ ./ajc.sh compile

2. Download artifacts as specified in src/java/resources/ajc/ivy.xml:
$ ./ajc.sh retrieve

3. Display available commands:
$ ./ajc.sh help

4. Execute an ajc project custom command: 
$ ./ajc.sh hello-ajc

Visit the ProtoJ website for more information at
http://code.google.com/p/protoj/