diff options
author | Sven Gothel <[email protected]> | 2010-09-23 18:58:03 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-09-23 18:58:03 +0200 |
commit | 4bb9fed247d8151b317c32dd1f8d7bde03a1bcb6 (patch) | |
tree | dd097af09126ce7d7e7b3bf3ff0cd3132cbd80b9 /nbproject | |
parent | 35da0bfcb126c8b296a64274dcf5b757daa723d3 (diff) |
Sync with JOGL: 1c02f0eeb539ff5de7259b822893ab63a9cc3ab0
Diffstat (limited to 'nbproject')
-rw-r--r-- | nbproject/ide-file-targets.xml | 17 | ||||
-rw-r--r-- | nbproject/project.xml | 15 |
2 files changed, 31 insertions, 1 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> diff --git a/nbproject/project.xml b/nbproject/project.xml index ecd14b4..e688bdf 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -46,6 +46,19 @@ </arity> </context> </action> + <action name="debug.single"> + <script>nbproject/ide-file-targets.xml</script> + <target>debug-selected-file-in-src</target> + <context> + <property>debug.class</property> + <folder>src</folder> + <pattern>\.java$</pattern> + <format>java-name</format> + <arity> + <one-file-only/> + </arity> + </context> + </action> </ide-actions> <export> <type>folder</type> @@ -75,7 +88,7 @@ <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1"> <compilation-unit> <package-root>src</package-root> - <classpath mode="compile">../gluegen/build/gluegen-rt.jar:../jogl/build/jogl/jogl.all.jar:../jogl/build/nativewindow/nativewindow.all.jar:../jogl/build/newt/newt.all.jar:../joal/build/joal.jar</classpath> + <classpath mode="compile">../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</classpath> <built-to>build</built-to> <source-level>1.5</source-level> </compilation-unit> |