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
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<!-- build configuration -->
<project name="vilya-checks" basedir=".">
<!-- checks the availability of certain libraries -->
<target name="check-available">
<available property="xml-writer.present"
classname="com.megginson.sax.DataWriter" classpathref="classpath"/>
<echo message="Have XML Writer: ${xml-writer.present}"/>
<condition property="build.xml">
<isset property="xml-writer.present"/>
</condition>
</target>
</project>