summaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2003-09-10 01:18:39 +0000
committerKenneth Russel <[email protected]>2003-09-10 01:18:39 +0000
commit9990105d172a87a3a5436a23f0d1c63d3d2de4d4 (patch)
treef129f8c210f179b031a2dee0c046e61fef6e43ac /make/build.xml
parentcae56081999ec84c8cde0f7b7454b92e85fadfa8 (diff)
Added Gerard Ziemski's changes to the build process on OS X to look
for jogl.properties in the Library/Java subdirectory of the user's home directory. Updated the build documentation. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@64 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/build.xml')
-rw-r--r--make/build.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/make/build.xml b/make/build.xml
index 9dad237d6..0ff11d276 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -75,6 +75,15 @@
<echo message="Loaded ${user.properties.file}." />
<echo message="antlr.jar=${antlr.jar}" />
</target>
+ <target name="load.user.properties.macosx" depends="base.init">
+ <!-- Load the user specified properties file that defines various host
+ - specific paths. The user will be notified if this is does not
+ - exist. -->
+ <property name="user.properties.file" value="${user.home}/Library/Java/jogl.properties" />
+ <property file="${user.properties.file}" />
+ <echo message="Loaded ${user.properties.file}." />
+ <echo message="antlr.jar=${antlr.jar}" />
+ </target>
<!-- ================================================================== -->
<!--
@@ -83,7 +92,7 @@
<target name="setup.java.home.dir.nonmacosx" depends="load.user.properties" unless="java.home.dir">
<property name="java.home.dir" value="${java.home}/.." />
</target>
- <target name="setup.java.home.dir.macosx" depends="load.user.properties" unless="java.home.dir">
+ <target name="setup.java.home.dir.macosx" depends="load.user.properties.macosx" unless="java.home.dir">
<property name="java.home.dir" value="/System/Library/Frameworks/JavaVM.framework/Home" />
</target>