Skip to content

Instantly share code, notes, and snippets.

@leif81
Created September 9, 2011 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leif81/1206293 to your computer and use it in GitHub Desktop.
Save leif81/1206293 to your computer and use it in GitHub Desktop.
'ant debug' target to launch jswat debug session
<target name="debug" depends="build">
<property name="cp" refid="project.classpath"/>
<exec executable="jswat">
<arg value="-J-Djswat.classpath=${cp}"/>
<arg value="-J-Djswat.sourcepath='${src.dir}'"/>
<arg value="-J-Djswat.launch=${main-class}"/>
<arg line="-J-Djswat.jvmopts='${cmd.line.arg.config} ${cmd.line.arg.logging}'"/>
</exec>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment