summaryrefslogtreecommitdiffstats
path: root/nbproject/ide-file-targets.xml
blob: 6fd63a273138e5bc8cf6f8d01fc2d1a8330c0c59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<project basedir=".." name="jogl-demos-IDE">
    <property name="ant.script" value="make/build.xml"/>
    <!-- TODO: edit the following target according to your needs -->
    <!-- (more info: http://www.netbeans.org/kb/articles/freeform-config.html#runsingle) -->
    <target name="run-selected-file-in-src">
        <fail unless="run.class">Must set property 'run.class'</fail>
        <java classname="${run.class}" failonerror="true" fork="true">
            <jvmarg value="-Djava.library.path=${basedir}/../gluegen/build/obj:${basedir}/../jogl/build/jogl/obj:${basedir}/../jogl/build/newt/obj:${basedir}/../jogl/build/nativewindow/obj:"/>
            <classpath>
                <pathelement path="build/jogl-demos.jar:../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"/>
                <pathelement location="build"/>
            </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>