summaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-11-10 03:42:07 +0100
committerSven Gothel <[email protected]>2009-11-10 03:42:07 +0100
commit08d7de9c49d6bd778d0a915731ae9edbafdf646c (patch)
treeea200a3ec874ae4e7115c51e902f4a5e2982c037 /make/build.xml
parent2d5f1650af2b64f7a8d25842b2b95192b3e4a4e9 (diff)
Redbook seperation ..
Diffstat (limited to 'make/build.xml')
-rw-r--r--make/build.xml15
1 files changed, 9 insertions, 6 deletions
diff --git a/make/build.xml b/make/build.xml
index dd14d05..080ae68 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -102,12 +102,7 @@
<property name="jogl.demos.data.jar" value="../${rootrel.build}/jogl-demos-data.jar" />
<property name="jogl.demos.src.zip" value="../${rootrel.build}/jogl-demos-src.zip" />
- <condition property="jogl.redbook.excludes"
- value="redbook/**">
- <not>
- <isset property="jogl.redbook" />
- </not>
- </condition>
+ <property name="jogl.redbook.excludes" value="redbook/**" />
</target>
@@ -129,6 +124,13 @@
<copy file="../lib/stax-1.2.0.jar" todir="../${rootrel.build}" />
</target>
+ <target name="redbook-javac" if="jogl.redbook">
+ <javac destdir="${classes}" source="1.5" target="1.5" debug="true" debuglevel="source,lines">
+ <src path="${src}/redbook/src" />
+ <classpath refid="jogl-demos.classpath" />
+ </javac>
+ </target>
+
<target name="all-desktop" unless="isGLES">
<mkdir dir="${classes}" />
<path id="jogl-demos.classpath">
@@ -161,6 +163,7 @@
<src path="${src}" />
<classpath refid="jogl-demos.classpath" />
</javac>
+ <antcall target="redbook-javac" inheritrefs="true" />
<antcall target="nurbs" inheritrefs="true" />
<jar destfile="${jogl.demos.jar}">
<fileset dir="${classes}">