title: SBT equivalent of Ant target
body: <p>What is the SBT equivalent (if any) of Ant targets? For example, a snippet in a build.xml file for Ant would be:</p>
  
  <pre><code>&lt;target name="runClient" description="run client"&gt;
      &lt;java classname="client.Client" fork="true"&gt;
          &lt;jvmarg value="-Djava.rmi.server.codebase=${client_web_codebase}"/&gt;
          &lt;jvmarg value="-Djava.security.policy=policy"/&gt;
          &lt;arg value="localhost"/&gt;
          &lt;classpath&gt;
              &lt;pathelement location="dist/client.jar"/&gt;
          &lt;/classpath&gt;
      &lt;/java&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>And then I would do something like <code>ant runClient</code> to launch the application "client.Client" with the jvmargs specified in the XML.. is there an SBT equivalent, or a way for SBT to hook into Ant to do this?</p>