No longer need these dependency checks.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4260 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
+1
-24
@@ -21,27 +21,6 @@
|
|||||||
<fileset dir="../lib" includes="**/*.jar"/>
|
<fileset dir="../lib" includes="**/*.jar"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<!-- 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.jme.bui.BWindow" 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"/>
|
|
||||||
</and>
|
|
||||||
</condition>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- generates additional methods for distributed object classes -->
|
<!-- generates additional methods for distributed object classes -->
|
||||||
<target name="gendobj" depends="prepare">
|
<target name="gendobj" depends="prepare">
|
||||||
<taskdef name="dobj"
|
<taskdef name="dobj"
|
||||||
@@ -104,12 +83,10 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- build the java class files -->
|
<!-- build the java class files -->
|
||||||
<target name="compile" depends="check-available,prepare">
|
<target name="compile" depends="prepare">
|
||||||
<javac srcdir="${src.dir}" destdir="${classes.dir}"
|
<javac srcdir="${src.dir}" destdir="${classes.dir}"
|
||||||
debug="on" optimize="off" deprecation="on">
|
debug="on" optimize="off" deprecation="on">
|
||||||
<classpath refid="classpath"/>
|
<classpath refid="classpath"/>
|
||||||
<exclude name="com/threerings/jme/**" unless="build.jme"/>
|
|
||||||
<exclude name="com/threerings/openal/**" unless="build.openal"/>
|
|
||||||
<compilerarg value="-Xlint:unchecked"/>
|
<compilerarg value="-Xlint:unchecked"/>
|
||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|||||||
Reference in New Issue
Block a user