title: Ant common usage calling java methods
body: <p>What is the common usage of using ant to execute a java class or method.</p>
  
  <p>I have multiple methods within on class that I need to call if ant run or restore are run. Both run and restore are methods of the same java class but, I cannot seem to get ant run to execute Class.beginExecution() and ant restore to execute Class.beginRestore()..</p>
  
  <p>Thanks</p>