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:
@@ -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>
|
||||
Reference in New Issue
Block a user