Don't compile parlor/ratings if we don't use Depot.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@343 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Par Winzell
2007-07-05 15:39:20 +00:00
parent a3d1d0b7cb
commit bebdd273cd
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -174,6 +174,7 @@
<exclude name="com/threerings/**/tools/xml/**" unless="build.xml"/> <exclude name="com/threerings/**/tools/xml/**" unless="build.xml"/>
<exclude name="com/threerings/**/tools/editor/**" unless="build.xml"/> <exclude name="com/threerings/**/tools/editor/**" unless="build.xml"/>
<exclude name="com/threerings/**/tools/viewer/**" unless="build.xml"/> <exclude name="com/threerings/**/tools/viewer/**" unless="build.xml"/>
<exclude name="com/threerings/parlor/ratings/**" unless="depot.present"/>
<compilerarg value="-Xlint"/> <compilerarg value="-Xlint"/>
<compilerarg value="-Xlint:-serial"/> <compilerarg value="-Xlint:-serial"/>
<compilerarg value="-Xlint:-unchecked"/> <!-- TODO: fix --> <compilerarg value="-Xlint:-unchecked"/> <!-- TODO: fix -->
+4
View File
@@ -12,6 +12,10 @@
<condition property="build.xml"> <condition property="build.xml">
<isset property="xml-writer.present"/> <isset property="xml-writer.present"/>
</condition> </condition>
<available property="depot.present"
classname="com.samskivert.jdbc.depot.Query" classpathref="classpath"/>
<echo message="Have JDBC Depot: ${depot.present}"/>
</target> </target>
</project> </project>