aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-04-22 05:20:45 +0200
committerSven Gothel <[email protected]>2011-04-22 05:20:45 +0200
commit0ad2f3f0b54ef0088cfbfef30c35144491effe30 (patch)
tree26c278f7ceadfc7673a5fc8ff3a6f2b7aca695e6 /make
parent9b8021b1b3d740a978e13824c3030f52d6506089 (diff)
copy all fonts and shader to build folder, allowing ide debugging
Diffstat (limited to 'make')
-rw-r--r--make/build-jogl.xml8
-rw-r--r--make/build-test.xml6
2 files changed, 12 insertions, 2 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml
index b708ae0dc..6a0eca500 100644
--- a/make/build-jogl.xml
+++ b/make/build-jogl.xml
@@ -1396,7 +1396,7 @@
<!--
- Build the jogl.jar files.
-->
- <target name="build-jars-dependset" depends="gluegen.cpptasks.detect.os,build-jars-javase" >
+ <target name="build-jars-dependset" depends="init,gluegen.cpptasks.detect.os" >
<dependset>
<srcfileset dir="${src.java}"
includes="${java.part.util.fixedfuncemu.shadercode} ${java.part.util.graph.shadercode} ${java.part.util.graph.fonts}"/>
@@ -1404,7 +1404,7 @@
includes="${jogl.all.jar} ${jogl.all-noawt.jar} ${jogl.util.jar} ${jogl.util.fixedfuncemu.jar}" />
</dependset>
</target>
- <target name="build-jars" depends="build-jars-dependset" />
+ <target name="build-jars" depends="build-jars-dependset,build-jars-javase" />
<target name="setup-manifestfile" depends="common.init">
<property name="manifestfile" value="joglversion"/>
@@ -1490,6 +1490,10 @@
<fileset dir="${src.java}"
includes="${java.part.util.fixedfuncemu.shadercode} ${java.part.util.graph.shadercode} ${java.part.util.graph.fonts}"/>
</jar>
+ <copy todir="${classes}">
+ <fileset dir="${src.java}"
+ includes="${java.part.util.fixedfuncemu.shadercode} ${java.part.util.graph.shadercode} ${java.part.util.graph.fonts}"/>
+ </copy>
</target>
<target name="build-jars-all-noawt-javase" depends="setup-manifestfile">
<jar manifest="${build.jogl}/tempversion" destfile="${jogl.all-noawt.jar}" filesonly="true">
diff --git a/make/build-test.xml b/make/build-test.xml
index b6c728870..18b131594 100644
--- a/make/build-test.xml
+++ b/make/build-test.xml
@@ -33,6 +33,8 @@
<condition property="jvmarg.headless" value="-Djava.awt.headless=true"><not><isset property="isOSX"/></not></condition>
<property name="batchtest.timeout" value="1800000"/> <!-- 30 min -->
+
+ <property name="java.part.test.shadercode" value="com/jogamp/opengl/test/junit/jogl/demos/es2/shader/*"/>
</target>
<!-- ================================================================== -->
@@ -97,7 +99,11 @@
<fileset dir="${src.test}">
<exclude name="**/*.java"/>
</fileset>
+ <fileset dir="${src.test}" includes="${java.part.test.shadercode}"/>
</jar>
+ <copy todir="${classes}">
+ <fileset dir="${src.test}" includes="${java.part.test.shadercode}"/>
+ </copy>
</target>
<target name="test.manual.run" depends="test.compile">