summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorathomas <[email protected]>2003-11-23 20:21:55 +0000
committerathomas <[email protected]>2003-11-23 20:21:55 +0000
commita6f8e915b7d9757713dc3b3e9b69dd7d694ce4b3 (patch)
tree97b09f7934fadf6bf822a2a52ef11402eaf9bdd9
parent9d9bdb76b4a201256332d5cef70a08fae91f34e2 (diff)
Added "fail" message to build.xml if jdk.home or openal.home are not set.
git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@78 03bf7f67-59de-4072-a415-9a990d468a3f
-rw-r--r--build.xml20
1 files changed, 12 insertions, 8 deletions
diff --git a/build.xml b/build.xml
index fd3416e..53a2fcb 100644
--- a/build.xml
+++ b/build.xml
@@ -37,17 +37,21 @@
<project name="Sun Games Initiative Client Technologies" basedir="." default="all">
<target name="init">
- <property name="jdk.home" value="c:/j2sdk1.4.2"/> <!-- Edit this to taste -->
- <property name="openal.home" value="C:/Program Files/Creative Labs/OpenAL 1.0 SDK"/> <!-- Edit this to taste -->
- <property name="optimize" value="off"/> <!-- Edit this to taste -->
- <property name="debug" value="on"/> <!-- Edit this to taste -->
- <mkdir dir="classes"/>
- <mkdir dir="apidocs"/>
- <mkdir dir="lib"/>
+ <!-- YOU MUST EDIT & UNCOMMENT THESE PROPERTIES BEFORE BUILDING. SEE README.TXT FOR INSTRUCTIONS
+ <property name="jdk.home" value="c:/j2sdk1.4.2"/>
+ <property name="openal.home" value="C:/Program Files/Creative Labs/OpenAL 1.0 SDK"/>
+ -->
+ <fail message="jdk.home not set. Please see README.txt for instructions" unless="jdk.home"/>
+ <fail message="openal.home not set. Please see README.txt for instructions" unless="openal.home"/>
+ <property name="optimize" value="on"/> <!-- Edit this to taste -->
+ <property name="debug" value="on"/> <!-- Edit this to taste -->
+ <mkdir dir="classes"/>
+ <mkdir dir="apidocs"/>
+ <mkdir dir="lib"/>
</target>
<target name="native-compile" depends="init">
- <ant dir="src/native" target="compile"/>
+ <ant dir="src/native" target="compile"/>
</target>
<target name="compile" depends="native-compile">