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.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/nbproject/ide-file-targets.xml b/nbproject/ide-file-targets.xml
new file mode 100644
index 0000000..c7f6fb0
--- /dev/null
+++ b/nbproject/ide-file-targets.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project basedir=".." name="JOAL-IDE">
+ <!-- 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}/build/obj"/>
+ <jvmarg value="-Djogamp.debug.NativeLibrary=true"/>
+ <classpath>
+ <pathelement path="../gluegen/build/gluegen-rt.jar:build/classes:test/classes:../gluegen/make/lib/junit.jar"/>
+ </classpath>
+ </java>
+ </target>
+ <!-- TODO: edit the following target according to your needs -->
+ <!-- (more info: http://www.netbeans.org/kb/articles/freeform-config.html#compilesingle) -->
+ <target name="compile-selected-files-in-src">
+ <fail unless="files">Must set property 'files'</fail>
+ <!-- TODO decide on and define some value for ${build.classes.dir} -->
+ <javac destdir="test/classes" includes="${files}" source="1.5" srcdir="test/src" includeantruntime="false">
+ <classpath path="../gluegen/build/gluegen-rt.jar:build/classes:../gluegen/make/lib/junit.jar"/>
+ </javac>
+ </target>
+</project>