SBT equivalent of Ant target
- by adelbertc
What is the SBT equivalent (if any) of Ant targets? For example, a snippet in a build.xml file for Ant would be:
<target name="runClient" description="run client">
<java classname="client.Client" fork="true">
<jvmarg value="-Djava.rmi.server.codebase=${client_web_codebase}"/>
<jvmarg value="-Djava.security.policy=policy"/>
<arg value="localhost"/>
<classpath>
<pathelement location="dist/client.jar"/>
</classpath>
</java>
</target>
And then I would do something like ant runClient 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?