diff options
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 15 |
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}"> |