You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-cvs@xml.apache.org by di...@apache.org on 2001/06/08 15:04:33 UTC
cvs commit: xml-commons/java/external build.xml build-sax.xml
dims 01/06/08 06:04:33
Added: java/external build.xml
Removed: java/external build-sax.xml
Log:
- Added a consolidated build.xml for DOM/SAX/JAXP
- Removed build-sax.xml.
Revision Changes Path
1.1 xml-commons/java/external/build.xml
Index: build.xml
===================================================================
<?xml version="1.0"?>
<!--
@author David Megginson, david@megginson.com
@author shane_curcuru@lotus.com
@author Davanum Srinivas, dims@yaoo.com
-->
<project name="xml-commons" default="jar" basedir=".">
<property name="external-module" value="SAX,SAX2-ext 1.0,DOM2,JAXP" />
<property name="src.dir" value="src" />
<property name="docs.dir" value="xdocs" />
<property name="build.dir" value="build" />
<property name="build.classes.dir" value="${build.dir}/classes" />
<property name="build.docs.dir" value="${build.dir}/docs" />
<property name="build.javadocs.dir" value="${build.docs.dir}/javadoc" />
<property name="api.jar.location" value="${build.dir}" />
<property name="api.jar.name" value="xml-apis.jar" />
<property name="api.jar" value="${api.jar.location}/${api.jar.name}" />
<target name="prepare"
description="Create build output directories">
<mkdir dir="${build.classes.dir}" />
<mkdir dir="${build.docs.dir}" />
<mkdir dir="${build.javadocs.dir}" />
</target>
<target name="compile" depends="prepare"
description="Compile all classes">
<javac srcdir="${src.dir}" destdir="${build.classes.dir}" />
</target>
<target name="jar" depends="compile"
description="Jar all classes">
<jar jarfile="${api.jar}" basedir="${build.classes.dir}" />
</target>
<target name="javadoc" depends="prepare"
description="Build javadocs and copy doc over">
<javadoc packagenames="org.xml.sax.*,org.w3c.dom.*,javax.xml.parsers.*,javax.xml.transform.*"
sourcepath="${src.dir}"
destdir="${build.javadocs.dir}"
version="yes"
windowtitle="${external-module}"
doctitle="${external-module}"
bottom="This document is in the PUBLIC DOMAIN and comes with NO WARRANTY of any kind."
/>
<!-- Just copy existing .html files over as well -->
<copy todir="${build.docs.dir}">
<fileset dir="${docs.dir}"/>
</copy>
</target>
<target name="clean"
description="Clean the output build area">
<delete file="${api.jar}"/>
<delete dir="${build.dir}"/>
</target>
</project>