summaryrefslogtreecommitdiffstats
path: root/nbproject/ide-file-targets.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-09-23 18:58:03 +0200
committerSven Gothel <[email protected]>2010-09-23 18:58:03 +0200
commit4bb9fed247d8151b317c32dd1f8d7bde03a1bcb6 (patch)
treedd097af09126ce7d7e7b3bf3ff0cd3132cbd80b9 /nbproject/ide-file-targets.xml
parent35da0bfcb126c8b296a64274dcf5b757daa723d3 (diff)
Sync with JOGL: 1c02f0eeb539ff5de7259b822893ab63a9cc3ab0
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>