aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-11-29 20:57:40 +0100
committerMichael Bien <[email protected]>2009-11-29 20:57:40 +0100
commit615fd41f7b6674c4b42e3f9f70b92c7088d0ad7d (patch)
tree95858fb09b4f4401098eb921fa67aeeee8c37ede
parent1360f3839ec52a8da5420946781327cb859597c4 (diff)
build should use gluegen.root property where possible.
-rw-r--r--make/build-jogl.xml10
-rw-r--r--make/build-nativewindow.xml10
-rw-r--r--make/build-newt.xml6
-rw-r--r--make/build.xml14
4 files changed, 20 insertions, 20 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml
index 23ad51a9e..6f97a336e 100644
--- a/make/build-jogl.xml
+++ b/make/build-jogl.xml
@@ -274,20 +274,20 @@
<property name="rootrel.obj.jogl" value="${rootrel.obj}/jogl" />
<property name="rootrel.obj.cg" value="${rootrel.obj}/jogl_cg" />
- <property name="javac.bootclasspath-cdc.jar" value="../../gluegen/make/lib/cdc_fp.jar"/>
+ <property name="javac.bootclasspath-cdc.jar" value="${gluegen.root}/make/lib/cdc_fp.jar"/>
<!-- GlueGen properties. -->
<!-- NOTE that these require a checked-out GlueGen workspace as a -->
<!-- sibling of the JOGL workspace. -->
- <property name="gluegen.make.dir" value="../../gluegen/make" />
+ <property name="gluegen.make.dir" value="${gluegen.root}/make" />
<property name="gluegen.build.xml" value="${gluegen.make.dir}/build.xml" />
- <property name="gluegen.jar" value="../../gluegen/${rootrel.build}/gluegen.jar" />
- <property name="gluegen-rt.jar" value="../../gluegen/${rootrel.build}/gluegen-rt.jar" />
+ <property name="gluegen.jar" value="${gluegen.root}/${rootrel.build}/gluegen.jar" />
+ <property name="gluegen-rt.jar" value="${gluegen.root}/${rootrel.build}/gluegen-rt.jar" />
<property name="nativewindow.core.jar" value="../${rootrel.build}/nativewindow/nativewindow.core.jar" />
<property name="nativewindow.x11.jar" value="../${rootrel.build}/nativewindow/nativewindow.x11.jar" />
<property name="nativewindow.awt.jar" value="../${rootrel.build}/nativewindow/nativewindow.awt.jar" />
- <property name="gluegen-rt-cdc.jar" value="../../gluegen/${rootrel.build}/gluegen-rt-cdc.jar" />
+ <property name="gluegen-rt-cdc.jar" value="${gluegen.root}/${rootrel.build}/gluegen-rt-cdc.jar" />
<property name="nativewindow.core.cdc.jar" value="../${rootrel.build}/nativewindow/nativewindow.core.cdc.jar" />
<property name="nativewindow.x11.cdc.jar" value="../${rootrel.build}/nativewindow/nativewindow.x11.cdc.jar" />
diff --git a/make/build-nativewindow.xml b/make/build-nativewindow.xml
index 2e3c431ec..c0930cb42 100644
--- a/make/build-nativewindow.xml
+++ b/make/build-nativewindow.xml
@@ -84,7 +84,7 @@
<isset property="setup.noAWT"/>
</condition>
- <property name="javac.bootclasspath-cdc.jar" value="../../gluegen/make/lib/cdc_fp.jar" />
+ <property name="javac.bootclasspath-cdc.jar" value="${gluegen.root}/make/lib/cdc_fp.jar" />
<echo message="setup.nodesktop: ${setup.nodesktop}" />
<echo message="setup.noall: ${setup.noall}" />
@@ -180,11 +180,11 @@
<!-- GlueGen properties. -->
<!-- NOTE that these require a checked-out GlueGen workspace as a -->
<!-- sibling of the NativeWindow workspace. -->
- <property name="gluegen.make.dir" value="../../gluegen/make" />
+ <property name="gluegen.make.dir" value="${gluegen.root}/make" />
<property name="gluegen.build.xml" value="${gluegen.make.dir}/build.xml" />
- <property name="gluegen.jar" value="../../gluegen/${rootrel.build}/gluegen.jar" />
- <property name="gluegen-rt.jar" value="../../gluegen/${rootrel.build}/gluegen-rt.jar" />
- <property name="gluegen-rt-cdc.jar" value="../../gluegen/${rootrel.build}/gluegen-rt-cdc.jar" />
+ <property name="gluegen.jar" value="${gluegen.root}/${rootrel.build}/gluegen.jar" />
+ <property name="gluegen-rt.jar" value="${gluegen.root}/${rootrel.build}/gluegen-rt.jar" />
+ <property name="gluegen-rt-cdc.jar" value="${gluegen.root}/${rootrel.build}/gluegen-rt-cdc.jar" />
<!-- The source directories. -->
<property name="src.java" value="${project.root}/${rootrel.src.java}" />
diff --git a/make/build-newt.xml b/make/build-newt.xml
index ad04973e4..e74a036bb 100644
--- a/make/build-newt.xml
+++ b/make/build-newt.xml
@@ -68,7 +68,7 @@
-->
<target name="base.init" depends="gluegen.cpptasks.detect.os">
- <property name="javac.bootclasspath-cdc.jar" value="../../gluegen/make/lib/cdc_fp.jar"/>
+ <property name="javac.bootclasspath-cdc.jar" value="${gluegen.root}/make/lib/cdc_fp.jar"/>
<condition property="setup.nodesktop">
<and>
@@ -209,14 +209,14 @@
<property name="rootrel.src.c" value="${rootrel.src}/native" />
<property name="rootrel.obj" value="${rootrel.build.newt}/obj" />
- <property name="gluegen-rt.jar" value="../../gluegen/${rootrel.build}/gluegen-rt.jar" />
+ <property name="gluegen-rt.jar" value="${gluegen.root}/${rootrel.build}/gluegen-rt.jar" />
<property name="nativewindow.core.jar" value="../${rootrel.build}/nativewindow/nativewindow.core.jar" />
<property name="nativewindow.x11.jar" value="../${rootrel.build}/nativewindow/nativewindow.x11.jar" />
<property name="nativewindow.awt.jar" value="../${rootrel.build}/nativewindow/nativewindow.awt.jar" />
<property name="jogl.core.jar" value="../${rootrel.build}/jogl/jogl.core.jar" />
<property name="jogl.egl.jar" value="../${rootrel.build}/jogl/jogl.egl.jar" />
- <property name="gluegen-rt-cdc.jar" value="../../gluegen/${rootrel.build}/gluegen-rt-cdc.jar" />
+ <property name="gluegen-rt-cdc.jar" value="${gluegen.root}/${rootrel.build}/gluegen-rt-cdc.jar" />
<property name="nativewindow.core.cdc.jar" value="../${rootrel.build}/nativewindow/nativewindow.core.cdc.jar" />
<property name="nativewindow.x11.cdc.jar" value="../${rootrel.build}/nativewindow/nativewindow.x11.cdc.jar" />
<property name="jogl.core.cdc.jar" value="../${rootrel.build}/jogl/jogl.core.cdc.jar" />
diff --git a/make/build.xml b/make/build.xml
index 28936ef52..32024e3e1 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -51,8 +51,8 @@
<property name="java.excludes.javadoc.packagenames" value="com.sun.opengl.impl.gl2.fixme.*,com.sun.javafx.audio.windows.waveout.TestSpatialization"/>
<property name="javadoc.bottom" value="Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to &lt;a href=&quot;http://jcp.org/en/jsr/detail?id=231&quot;&gt;license terms&lt;/a&gt;." />
- <property name="gluegen.jar" value="../../gluegen/${rootrel.build}/gluegen.jar" />
- <property name="gluegen-rt.jar" value="../../gluegen/${rootrel.build}/gluegen-rt.jar" />
+ <property name="gluegen.jar" value="${gluegen.root}/${rootrel.build}/gluegen.jar" />
+ <property name="gluegen-rt.jar" value="${gluegen.root}/${rootrel.build}/gluegen-rt.jar" />
<property name="nativewindow.all.jar" value="../${rootrel.build}/nativewindow/nativewindow.all.jar" />
<property name="jogl.all.jar" value="../${rootrel.build}/jogl/jogl.all.jar" />
<property name="newt.all.jar" value="../${rootrel.build}/newt/newt.all.jar" />
@@ -83,7 +83,7 @@
<delete includeEmptyDirs="true" quiet="true" dir="${lib.dir}" failonerror="false" />
<mkdir dir="${lib.dir}" />
<copy todir="${lib.dir}">
- <fileset dir="${project.root}/../gluegen/${rootrel.build}/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />
+ <fileset dir="${gluegen.root}/${rootrel.build}/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />
<fileset dir="${build}/jogl/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />
<fileset dir="${build}/nativewindow/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />
<fileset dir="${build}/newt/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />
@@ -126,8 +126,8 @@
</copy>
<mkdir dir="${archive.dir}/lib" />
<copy todir="${archive.dir}/lib">
- <fileset dir="${project.root}/../gluegen/${rootrel.build}" includes="gluegen-rt.jar gluegen-rt-cdc.jar" />
- <fileset dir="${project.root}/../gluegen/${rootrel.build}/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />
+ <fileset dir="${gluegen.root}/${rootrel.build}" includes="gluegen-rt.jar gluegen-rt-cdc.jar" />
+ <fileset dir="${gluegen.root}/${rootrel.build}/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />
<fileset dir="${build}/jogl" includes="*.jar" excludes="*natives*.jar" />
<fileset dir="${build}/jogl/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />
<fileset dir="${build}/nativewindow" includes="*.jar" excludes="*natives*.jar" />
@@ -162,8 +162,8 @@
<delete quiet="true" file="${build}/jogl-${tmp.version}-src.zip"/>
<zip destfile="${build}/jogl-${tmp.version}-src.zip"
basedir="${project.root}/.."
- excludes="gluegen/${rootrel.build}/**,gluegen/build/**gluegen/build-temp/**,jogl/${rootrel.build}/**,jogl/build/**,jogl/build-temp/**,jogl/www/**"
- includes="gluegen/**, jogl/**" />
+ excludes="${gluegen.root}/${rootrel.build}/**,${gluegen.root}/build/**${gluegen.root}/build-temp/**,jogl/${rootrel.build}/**,jogl/build/**,jogl/build-temp/**,jogl/www/**"
+ includes="${gluegen.root}/**, jogl/**" />
<!-- Now add in certain portions of the generated source code for developers -->
<zip update="true"
destfile="${build}/jogl-${tmp.version}-src.zip"