You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by vi...@apache.org on 2003/04/01 18:19:38 UTC
cvs commit: xml-xalan/java/xpath_rwapi build2.xml
villard 2003/04/01 08:19:38
Modified: java/xpath_rwapi Tag: xslt20 build2.xml
Log:
- add apidocs target in build2.xml
Revision Changes Path
No revision
No revision
1.1.2.2 +28 -1 xml-xalan/java/xpath_rwapi/Attic/build2.xml
Index: build2.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xpath_rwapi/Attic/build2.xml,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- build2.xml 13 Mar 2003 20:29:41 -0000 1.1.2.1
+++ build2.xml 1 Apr 2003 16:19:37 -0000 1.1.2.2
@@ -30,6 +30,7 @@
==================================================================== -->
<project name="XPathAPI" default="javacc" basedir=".">
+ <property name="year" value="2003"/>
<property name="build.dir" value="../build"/>
<property name="build.classes" value="${build.dir}/classes"/>
@@ -51,6 +52,9 @@
<property name="test.class" value="org.apache.xpath.test.TestAST"/>
<property name="test.expr" value=""/>
+ <property name="docs.dir" value="build/docs"/>
+
+
<path id="classpath">
<!-- This should include all .jars needed to compile, including
a checked-in copy of xalan.jar and the JavaCC.zip file -->
@@ -62,6 +66,11 @@
<path refid="classpath" />
<fileset dir="${build.dir}" includes="*.jar"/>
</path>
+
+ <path id="docs.class.path">
+ <pathelement location="${build.dir}/${jarfilename}" />
+ <pathelement path="${classpath}" />
+ </path>
<target name="clean"
description="Clean up classfiles and ${jarfilename}">
@@ -148,6 +157,24 @@
<classpath refid="test.classpath" />
<arg line="${test.expr}"/>
</java>
+ </target>
+
+ <!-- ==== Documentation targets ==== -->
+
+ <target name="apidocs" depends="jar" description="[6]Build API documentation">
+ <mkdir dir="${docs.dir}"/>
+ <javadoc sourcepath="${src.dir}" destdir="${docs.dir}"
+ public="true"
+ packagenames="org.apache.xml,org.apache.xpath,org.apache.xpath.expression"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="XPath API"
+ doctitle="XPath API 2"
+ bottom="Copyright © ${year} Apache XML Project. All Rights Reserved.">
+ <classpath refid="docs.class.path" />
+ <group title="XPath API" packages="org.apache.xml:org.apache.xpath:org.apache.xpath.expression"/>
+ </javadoc>
</target>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org