summaryrefslogtreecommitdiffstats
path: root/nbproject/ide-file-targets.xml
diff options
context:
space:
mode:
Diffstat (limited to 'nbproject/ide-file-targets.xml')
-rw-r--r--nbproject/ide-file-targets.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/nbproject/ide-file-targets.xml b/nbproject/ide-file-targets.xml
index f5597bc..6fd63a2 100644
--- a/nbproject/ide-file-targets.xml
+++ b/nbproject/ide-file-targets.xml
@@ -13,4 +13,21 @@
</classpath>
</java>
</target>
+ <!-- TODO: edit the following target according to your needs -->
+ <!-- (more info: http://www.netbeans.org/kb/articles/freeform-config.html#runsingle) -->
+ <target name="debug-selected-file-in-src">
+ <fail unless="debug.class">Must set property 'debug.class'</fail>
+ <path id="cp">
+ <pathelement path="../gluegen/build/gluegen-rt.jar:../jogl/build/nativewindow/nativewindow.all.jar:../jogl/build/jogl/jogl.all.jar:../jogl/build/newt/newt.all.jar:../joal/build/joal.jar"/>
+ <pathelement location="build"/>
+ </path>
+ <nbjpdastart addressproperty="jpda.address" name="jogl-demos" transport="dt_socket">
+ <classpath refid="cp"/>
+ </nbjpdastart>
+ <java classname="${debug.class}" fork="true">
+ <classpath refid="cp"/>
+ <jvmarg value="-Xdebug"/>
+ <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
+ </java>
+ </target>
</project>