Sync with r8205.
[docbook-zh.git] / defguide5 / build-common.xml
blobe5a1dfc6f820f4175eb7199a20bbe1fa2ef95303
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="defguide5-common">
4     <path id="lib.classpath">
5         <fileset dir="${ant.home}/lib">
6             <include name="*.jar"/>
7         </fileset>
8         <fileset dir="${fop.home}">
9             <include name="**/*.jar"/>
10         </fileset>
11         <fileset dir="${usr.share.java}">
12             <include name="**/*.jar"/>
13         </fileset>
14         <pathelement location="${usr.share.java}"/>
15     </path>
17     <path id="xep.classpath">
18         <fileset dir="${xep.home}/lib">
19             <include name="*.jar"/>
20         </fileset>
21     </path>
23     <target name="init-avail">
24         <fail>
25             <condition>
26                 <not><available classname="com.thaiopensource.relaxng.util.Driver"/></not>
27             </condition>
28             RELAX NG Support(jing) NOT Present !
29         </fail>
31         <fail>
32             <condition>
33                 <not><available classname="com.icl.saxon.StyleSheet" classpathref="lib.classpath"/></not>
34             </condition>
35             Saxon 6.5 Support NOT Present !
36         </fail>
38         <fail>
39             <condition>
40               <not><and>
41                 <available classname="org.apache.bsf.BSFManager"/>
42                 <available classname="bsh.util.BeanShellBSFEngine"/>
43               </and></not>
44             </condition>
45             BeanShell Support NOT Present !
46         </fail>
47     </target>
49 </project>