You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by re...@apache.org on 2001/01/04 02:05:41 UTC
cvs commit: jakarta-slide build.xml
remm 01/01/03 17:05:41
Modified: . build.xml
Log:
- Add a conditional switch which will hopefully prevent the execution of the
style task if the Ant optional package is not present.
Revision Changes Path
1.61 +3 -1 jakarta-slide/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/build.xml,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- build.xml 2000/12/16 07:47:11 1.60
+++ build.xml 2001/01/04 01:05:41 1.61
@@ -92,6 +92,8 @@
<available property="catalina.present"
classname="org.apache.catalina.Container"
classpath="${catalina.build}/classes" />
+ <available property="xsl.present"
+ classname="org.apache.tools.ant.taskdefs.optional.XalanLiaison" />
</target>
@@ -141,7 +143,7 @@
<!-- =================================================================== -->
<!-- Build documentation -->
<!-- =================================================================== -->
- <target name="doc" depends="prepare">
+ <target name="doc" depends="prepare" if="xsl.present">
<style basedir="src/doc" destdir="${slide.build}/doc"
extension=".html" style="style/slide.xsl" includes="*.xml" />