summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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">