You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by jv...@apache.org on 2001/10/30 17:08:12 UTC
cvs commit: xml-rpc/build build.properties build.xml
jvanzyl 01/10/30 08:08:12
Modified: build build.properties build.xml
Log:
- adding props and targets for anakia doc build
Revision Changes Path
1.2 +5 -4 xml-rpc/build/build.properties
Index: build.properties
===================================================================
RCS file: /home/cvs/xml-rpc/build/build.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.properties 2001/07/20 19:38:14 1.1
+++ build.properties 2001/10/30 16:08:12 1.2
@@ -13,6 +13,7 @@
src.dir = ../src
javadoc.destdir = ../docs/apidocs
jakarta.site2 = ../../jakarta-site2
+jdom.jar = jdom-b7.jar
docs.src = ../xdocs
docs.dest = ../docs
turbine.jars = ../lib
@@ -25,7 +26,7 @@
# ${user.home}/build.properties file in order
# to build XmlRpc:
-#jsse.jar = ${lib.repo}/jsse.jar
-#jnet.jar = ${lib.repo}/jnet.jar
-#jcert.jar = ${lib.repo}/jcert.jar
-#servlet.jar = ${lib.repo}/servlet.jar
+jsse.jar = ${lib.repo}/jsse.jar
+jnet.jar = ${lib.repo}/jnet.jar
+jcert.jar = ${lib.repo}/jcert.jar
+servlet.jar = ${lib.repo}/servlet.jar
1.4 +69 -0 xml-rpc/build/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-rpc/build/build.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- build.xml 2001/08/31 23:39:19 1.3
+++ build.xml 2001/10/30 16:08:12 1.4
@@ -184,6 +184,75 @@
</target>
<!-- ================================================================== -->
+ <!-- D O C S -->
+ <!-- ================================================================== -->
+
+ <target
+ name="check_for_jdom">
+
+ <available
+ property="jdom.present"
+ classname="org.jdom.JDOMException">
+ <classpath>
+ <pathelement location="${jakarta.site2}/lib/${jdom.jar}"/>
+ </classpath>
+ </available>
+ </target>
+
+ <target
+ depends="check_for_jdom"
+ name="docs-prepare-error"
+ unless="jdom.present">
+
+ <echo>
+ The Jakarta-Site2 module is not present! Please check
+ to make sure that you have checked it out from CVS.
+
+ <http://jakarta.apache.org/site/jakarta-site2.html>
+ </echo>
+ </target>
+
+ <target
+ name="docs"
+ depends="docs-prepare-error"
+ description="--> generates the HTML documentation"
+ if="jdom.present">
+
+ <taskdef
+ name="anakia"
+ classname="org.apache.velocity.anakia.AnakiaTask">
+ <classpath>
+ <fileset dir="${jakarta.site2}/lib">
+ <include name="*.jar"/>
+ </fileset>
+ </classpath>
+ </taskdef>
+
+ <anakia
+ basedir="${docs.src}"
+ destdir="${docs.dest}/"
+ extension=".html"
+ style="./site.vsl"
+ projectFile="stylesheets/project.xml"
+ excludes="**/stylesheets/** empty.xml"
+ includes="**/*.xml"
+ lastModifiedCheck="true"
+ templatePath="${docs.src}/stylesheets">
+ </anakia>
+
+ <copy
+ todir="${docs.dest}/images"
+ filtering="no">
+
+ <fileset dir="${docs.src}/images">
+ <include name="**/*.gif"/>
+ <include name="**/*.jpeg"/>
+ <include name="**/*.jpg"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- ================================================================== -->
<!-- I N S T A L L J A R -->
<!-- ================================================================== -->