Skip the XML bits if we don't have the XML writer.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@130 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2006-11-16 23:39:47 +00:00
parent 4ce9c6f87d
commit c7ff0391a6
3 changed files with 25 additions and 30 deletions
+4 -30
View File
@@ -17,6 +17,7 @@
<!-- import some targets to enumerate library dependencies -->
<property name="libs.dir" value="lib"/>
<import file="libs-incl.xml"/>
<import file="depends-incl.xml"/>
<!-- declare our classpath business -->
<path id="classpath">
@@ -101,30 +102,6 @@
</genscript>
</target>
<!-- checks the availability of certain libraries -->
<target name="check-available">
<available property="lwjgl.present"
classname="org.lwjgl.LWJGLException" classpathref="classpath"/>
<available property="jme.present"
classname="com.jme.scene.Node" classpathref="classpath"/>
<available property="jme-bui.present"
classname="com.jmex.bui.BWindow" classpathref="classpath"/>
<available property="jme-sound.present"
classname="com.jmex.sound.openAL.SoundSystem" classpathref="classpath"/>
<condition property="build.jme">
<and>
<isset property="jme.present"/>
<isset property="jme-bui.present"/>
</and>
</condition>
<condition property="build.openal">
<and>
<isset property="lwjgl.present"/>
<isset property="jme-sound.present"/>
</and>
</condition>
</target>
<!-- prepares the application directories -->
<target name="prepare">
<mkdir dir="${deploy.dir}"/>
@@ -162,12 +139,9 @@
debug="on" optimize="{$build.optimize}" deprecation="on"
source="1.5" target="1.5">
<classpath refid="classpath"/>
<exclude name="com/threerings/jme/**" unless="build.jme"/>
<exclude name="com/threerings/openal/**" unless="build.openal"/>
<exclude name="**/OggPlayer.java"/>
<exclude name="**/ModPlayer.java"/>
<exclude name="**/MidiPlayer.java"/>
<exclude name="**/Mp3Player.java"/>
<exclude name="com/threerings/**/tools/xml/**" unless="build.xml"/>
<exclude name="com/threerings/**/tools/editor/**" unless="build.xml"/>
<exclude name="com/threerings/**/tools/viewer/**" unless="build.xml"/>
<compilerarg value="-Xlint"/>
<compilerarg value="-Xlint:-serial"/>
<compilerarg value="-Xlint:-unchecked"/> <!-- TODO: fix -->