Added example of ant execution from java, removed unused prototypes