aboutsummaryrefslogtreecommitdiffstats
path: root/nbproject/ide-file-targets.xml
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-07-10 14:30:49 +0200
committerMichael Bien <[email protected]>2010-07-10 14:30:49 +0200
commit6a6faf9388bdbc2e3b762c20a89a0745698fb1c7 (patch)
tree0cf4de7c18ed5fea7502617e11723a54ef63fb7d /nbproject/ide-file-targets.xml
parentcca0e32878a2c196aab969e1dfb75de6bca6b3f7 (diff)
added netbeans compile-single and run-single acthion bindings.
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>