New build system for whole xml-commons project

Top-level xml-commons/build.xml creates distro out of all sub-sub-projects
README.html updated with forrest 1.5 look and more info
which.xml and external/build.xml simplified with minor updates; outputs are still the same


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225943 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
curcuru 2002-01-09 20:01:23 +00:00
parent 1d6cda7c46
commit f77419e989
4 changed files with 283 additions and 107 deletions

View File

@ -9,42 +9,93 @@
<!-- Copyright (c) 2001 The Apache Software Foundation. All rights reserved. -->
<head>
<title>xml-commons README homepage</title>
<style>
body { font-family: verdana,arial,helvetica,sans-serif; font-size: 10px; }
form { margin: 0px; padding: 0px; border: 0px; }
ul { margin: 0px 5px 0px 25px; padding: 0px; }
li { margin: 2px 0px 2px 0px; }
table { border: 0px; width: 100%; }
img { border: 0px; }
a:link { color: #0F3660 }
a:visited { color: #880000 }
a:active { font-weight: bold }
a:hover { color: #880000; }
.path { font-size: 10px; background-color: #CFDCED; border-bottom-color: #4A6D8C; border-bottom-style: solid; border-bottom-width: 2px; padding: 2px; }
.path .current { font-weight: bold; }
.top { background-color: #294563; }
.top img { margin: 5px; }
.search { font-size: 13px; color: #ffffff; margin-right: 10px; padding: 10px 5px 3px 5px; background-color: #4A6D8C; }
.tabs { font-size: 12px; background-color: #294563; padding: 2px 7px 5px 7px; }
.tabs .tab { background-color: #CFDCED; padding: 4px 6px 4px 6px;}
.tabs .current { background-color: #FFFFFF; font-weight: bold; padding: 5px 6px 6px 6px; }
.copyright { text-align: center; font-size: 10px; background-color: #CFDCED; border-top-color: #4A6D8C; border-top-style: solid; border-top-width: 1px; padding: 2px; }
.category { width: 100%; margin-bottom: 5px; }
.category .label { font-weight: bold; font-size: 11px; background-color: #7099C5; color: #ffffff; }
.category .content { margin: 0px; }
.software { margin: 0px 0px 3px 0px; }
.software .name { font-weight: bold; font-size: 13px; }
.software .languages { color: #7099C5; font-size: 13px; }
.software .desc { font-size: 11px; }
.frame { width: 100%; margin-bottom: 10px; font-size: 11px; background-color: #f0f0ff; border: solid 1px #7099C5; }
.frame .label { background-color: #7099C5; color: #ffffff; }
.frame .content { margin: 3px; }
.news { margin-bottom: 10px; }
.news .title { font-size: 13px; font-weight: bold; }
.news .by { font-size: 9px; color: #7099C5; }
.news .by a { color: #7099C5; }
.news .text { margin: 5px 0px 0px 0px; }
.news img { float: left; margin: 5px 5px 5px 5px; border: 0px; width: 35px; height: 35px; }
</style>
</head>
<body alink="#ff0000" bgcolor="#ffffff" link="#0000ff" text="#000000" vlink="#0000aa" >
<div class="path">
<a href="http://www.apache.org/">www.apache.org</a>&nbsp;&gt;&nbsp;
<span class="current"><a href="http://xml.apache.org/">xml.apache.org</a></span>&nbsp;&gt;&nbsp; commons
</div>
<p><!-- spacer --></p>
<!-- Steal look and feel of xml.apache.org homepage by manually copying header blocks -->
<table border="0" cellpadding="0" cellspacing="0" width="494">
<tr><td bgcolor="#039acc" width="1"></td>
<td bgcolor="#0086b2" width="492"><a name="welcome"></a><font color="#ffffff" face="arial,helvetica,sanserif" size="+1"><b>Welcome to xml-commons!</b></font></td>
<td bgcolor="#039acc" width="1"></td></tr>
</table>
<p>The xml-commons is a new xml.apache.org subproject focused on common code and guidelines for xml projects.
<!-- Steal look and feel of Forrest 1.5 by copy & paste -->
<div class="category">
<div class="label"><a name="welcome">Welcome to xml-commons!</a></div>
<div class="content">
<h3>xml-commons is a new xml.apache.org subproject!</h3>
<p>xml-commons is focused on common code and guidelines for xml projects.
It's first focus will be to organize and have common packaging for the various externally-defined
standards code relating to XML - things like the DOM, SAX, and JAXP interfaces.</p>
<p>As the xml-commons community forms, we also hope to serve as a holding area
for other common xml-related utilities and code, and to help promulgate common
packaging, testing, documentation, and other guidelines across all
xml.apache.org subprojects</p>
xml.apache.org subprojects.</p>
</span>
</div>
</div>
<div class="category"><div class="label"><a name="TOC">In this document:</a></div><div class="content">
<ul>
<li>In this document:</li>
<li><a href="#guidelines">Guidelines</a></li>
<li><a href="#releases">Releases</a></li>
<li><a href="#external">DOM, SAX, and JAXP code</a></li>
<li><a href="#java">Apache-defined code: org.apache.env.Which</a></li>
<li><a href="#mailing">Mailing list</a></li>
<li><a href="#cvs">Get source code</a></li>
<li><a href="#proposal">xml-subproject-proposal-commons-v1.1</a></li>
<li><a href="#proposal-votes">xml-subproject-proposal-commons-v1.1-vote-count-26-Apr-01</a></li>
<li><a href="#">TBD!</a> Join the xml-commons-dev mailing list!</li>
<li><a href="#info-about">Info About This Document</a></li>
</ul>
</div></div>
<table border="0" cellpadding="0" cellspacing="0" width="494">
<tr><td bgcolor="#039acc" width="1"></td>
<td bgcolor="#0086b2" width="492"><a name="guidelines"></a><font color="#ffffff" face="arial,helvetica,sanserif" size="+1"><b>Commons Guidelines</b></font></td>
<td bgcolor="#039acc" width="1"></td></tr>
</table>
<div class="category"><div class="label"><a name="guidelines">Commons Guidelines</a></div><div class="content">
<p>As the community forms, we need to formalize these guidelines, especially to differentiate
'requirements' from suggested 'guidelines'.</p>
<p>Shane's starting proposals:</p>
@ -54,28 +105,32 @@ xml-commons/
README.html - this file
build.xml - overall build file for top-level items
xdocs/ - top-level xml format docs about this project itself and our guidelines
(in stylebook format like xml-xalan uses, unless someone wants to volunteer to start
out with another format and maintain it)
(in whatever format xml.apache.org uses for site)
docs/ - (not checked in) html format docs created by 'build docs' from xdocs
java/ - root of all java-related files
build.xml - Ant build file for all java files (might call subsidiary build files)
external/ - src root of all source files in java that come from external sources
for example: the DOM, SAX, and JAXP files
org/xml/sax/*
org/w3c/dom/*
javax/xml/*
apache/ - src root of all source files in java that are apache-owned
tbd/ - java packages added as needed
external/build.xml - Ant build file for all external sources
xdocs/ - xml format docs describing any java files, as needed
{name}.xml - Ant build file for Apache-defined subproject(s)
future: resolver.xml: for Norm Walsh's entity resolver submission, when done
src/ - root of Apache-defined Java code
src/org/apache/... etc
which.xml - Ant build file for org.apache.env.Which utility
c/ - root of all C/C++ related files
external/ - root of all externally-owned C/C++ sources
apache/ - root of all apache-owned C/C++ sources
perl/ - root of all Perl related files
etc.
@ -98,37 +153,68 @@ xml.apache.org subprojects to use the code that commons has. I.e. suggestions
and ways to package this code vis-a-vis the other project's code in a common way.</li>
<li>Other shared xml.apache.org guidelines? Like documentation format, testing techniques/policies, etc.</li>
</ul>
</div></div>
<table border="0" cellpadding="0" cellspacing="0" width="494">
<tr><td bgcolor="#039acc" width="1"></td>
<td bgcolor="#0086b2" width="492"><a name="releases"></a><font color="#ffffff" face="arial,helvetica,sanserif" size="+1"><b>Where can I download releases?</b></font></td>
<td bgcolor="#039acc" width="1"></td></tr>
</table>
<p>Since the community is still forming over May-June 2001, we don't have any releases yet.
<div class="category"><div class="label"><a name="external">DOM, SAX, and JAXP code</a></div><div class="content">
<p>xml-commons primary goal is to provide Apache projects with a stable version of
XMl-related externally-defined standards-based code. This is mainly the various
interfaces that you use when programming XML from JAVA: DOM, SAX and JAXP for now.</p>
<p>This tree is rooted at xml-commons/java/external, and has a build.xml file.
Basic documentation from each external project is also checked in.</p>
<ul>
<li>Current (Jan-02) status:</li>
<li>DOM L2 - full set of interfaces (including HTML stuff) from w3c.org</li>
<li>SAX 2.0 from megginson.com, plus minor bugfixes (note that SAX
is currently maintained at <a href="http://sax.sourceforge.net/">http://sax.sourceforge.net/</a>,
we need to update and cross-check with them soon!)</li>
<li>JAXP 1.1.3-HEAD from Sun, with current bugfixes by edwingo@apache.org</li>
</ul>
<p>Issues Jan-02: our current SAX and JAXP code may not pass the current
J2EE CTS test suite, since we have bugfixes above what those CTS tests
mandate. If you don't know what that is, you don't care; otherwise ask
on commons-dev for an update.</p>
</div></div>
<div class="category"><div class="label"><a name="java">Apache-authored code: org.apache.env.Which, more?</a></div><div class="content">
<p>xml-commons' secondary goal is to provide a project space for small
XML-related utilities that are being used in <b>multiple</b> other xml.apache.org
projects. In an effort to simplify and reduce dependency headaches, we'll
probably accept new projects only fairly slowly (this is in contrast to
the much more open <a href="http://jakarta.apache.org/commons/">jakarta-commons</a> project).
In particular, code submitted here should probably have minimal dependencies:
possibly only depending on DOM/SAX/JAXP and Ant (for builds).</p>
<ul>
<li>Current (Jan-02) status:</li>
<li>org.apache.env.Which - a simple environment check utility for
xml-related items in your JVM's environment: see xml-commons/java/which.xml</li>
<li>(to be submitted) Norm Walsh's entity resolver utility</li>
<li>(to be voted in) Jeff Turner's DOCTYPE changer</li>
</ul>
</div></div>
<div class="category"><div class="label"><a name="releases">Where can I download releases?</a></div><div class="content">
<p>Our first 'preview' release is planned for early January-2002.
We'll certainly announce our first releases over general@xml.apache.org as well as our <a href="#mailing">project mailing list</a>.</p>
</div></div>
<table border="0" cellpadding="0" cellspacing="0" width="494">
<tr><td bgcolor="#039acc" width="1"></td>
<td bgcolor="#0086b2" width="492"><a name="mailing"></a><font color="#ffffff" face="arial,helvetica,sanserif" size="+1"><b>How can I find out more?</b></font></td>
<td bgcolor="#039acc" width="1"></td></tr>
</table>
<p>We should have a project mailing list setup soon. Ask your questions or bring your suggestions
to xml-commons-dev@xml.apache.org. Subscription info coming soon...</p>
<div class="category"><div class="label"><a name="mailing">How can I find out more?</a></div><div class="content">
<p>We have a project mailing list setup - commons-dev@xml.apache.org</a>.
Ask your questions or bring your suggestions there, or to general@xml.apache.org.
<br><a href="mailto:commons-dev@xml.apache.org">Send an email to commons-dev</a>
<br><a href="mailto:commons-dev-subscribe@xml.apache.org">Subscribe to commons-dev</a>
<br><a href="mailto:commons-dev-unsubscribe@xml.apache.org">Unsubscribe from commons-dev</a>
<table border="0" cellpadding="0" cellspacing="0" width="494">
<tr><td bgcolor="#039acc" width="1"></td>
<td bgcolor="#0086b2" width="492"><a name="cvs"></a><font color="#ffffff" face="arial,helvetica,sanserif" size="+1"><b>Where can I get the code/CVS?</b></font></td>
<td bgcolor="#039acc" width="1"></td></tr>
</table>
</p>
</div></div>
<div class="category"><div class="label"><a name="cvs">Where can I get the code/CVS?</a></div><div class="content">
<p>The xml-commons repository is available thru normal and anonymous CVS, or through
this <a href="http://xml.apache.org/websrc/cvsweb.cgi/xml-commons/">nifty web interface</a>.</p>
<p>See <a href="http://xml.apache.org/cvs.html">xml.apache.org CVS overview</a>.</p>
</div></div>
<table border="0" cellpadding="0" cellspacing="0" width="494">
<tr><td bgcolor="#039acc" width="1"></td>
<td bgcolor="#0086b2" width="492"><a name="proposal"></a><font color="#ffffff" face="arial,helvetica,sanserif" size="+1"><b>xml-subproject-proposal-commons-v1.1</b></font></td>
<td bgcolor="#039acc" width="1"></td></tr>
</table>
<div class="category"><div class="label"><a name="proposal">xml-subproject-proposal-commons-v1.1</a></div><div class="content">
<pre>
List: xml-apache-general
Subject: [VOTE] Proposal: new xml-commons subproject for standards-based files
@ -285,14 +371,9 @@ proposal that I plagarized. 8-)
- Shane shane_curcuru@lotus.com curcuru@apache.org
</pre>
</div></div>
<table border="0" cellpadding="0" cellspacing="0" width="494">
<tr><td bgcolor="#039acc" width="1"></td>
<td bgcolor="#0086b2" width="492"><a name="proposal-votes"></a><font color="#ffffff" face="arial,helvetica,sanserif" size="+1"><b>xml-subproject-proposal-commons-v1.1-vote-count-26-Apr-01</b></font></td>
<td bgcolor="#039acc" width="1"></td></tr>
</table>
<div class="category"><div class="label"><a name="proposal-votes">xml-subproject-proposal-commons-v1.1-vote-count-26-Apr-01</a></div><div class="content">
<p>Below follows the votes cast to create this subproject</p>
<p>---- From open general@xml.apache.org mailing list through 3pm 26-Apr-01 ----
<br />Original proposal at: http://marc.theaimsgroup.com/?l=xml-apache-general&m=98752444702386&w=2
@ -349,22 +430,25 @@ Goei edwingo@sun.com
</li>
</ul>
<p>/xml-subproject-proposal-commons-v1.1-vote-count-26-Apr-01</p>
</div></div>
<table border="0" cellpadding="0" cellspacing="0" width="494">
<tr><td bgcolor="#039acc" width="1"></td>
<td bgcolor="#0086b2" width="492"><a name="info-about"></a><font color="#ffffff" face="arial,helvetica,sanserif" size="+1"><b>Info About This Document</b></font></td>
<td bgcolor="#039acc" width="1"></td></tr>
</table>
<div class="category"><div class="label"><a name="info-about">Info About This Document</a></div><div class="content">
<ul>
<li>Version: $Id$</li>
<li>Contributors:</li>
<li><a href="mailto:curcuru@apache.org">Shane Curcuru</a></li>
<li>This document is currently a hand-coded HTML file for reasons of simplicity; we plan to use whatever xml format the xml.apache.org website uses in the future.</li>
<li>This document is stored in the xml-commons CVS repository</li>
<li>This document is currently a hand-coded XHTML file for reasons of simplicity.</li>
<li>/home/cvs/xml-commons/README.html</li>
<li>Checked in: /home/cvs/xml-commons/README.html</li>
<li>Live on xml.apache.org site: http://xml.apache.org/commons/index.html</li>
<li><a href="http://xml.apache.org/websrc/cvsweb.cgi/xml-commons/README.html">View with CVSWEB</a></li>
</ul>
</div></div>
<br><br>
<div class="copyright">
Copyright &copy; 1999-2001 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved.
</div>
</body>
</html>

92
build.xml Normal file
View File

@ -0,0 +1,92 @@
<?xml version="1.0"?>
<!--
Simplistic meta-build file to call various other xml-commons build files.
Currently merely uses <ant> to build all subprojects, then
just creates a distribution out of all of them.
@author shane_curcuru@us.ibm.com
-->
<project name="xml-commons" default="all">
<!-- Name and version information -->
<!-- Versions like Xalan builds: major.minor [(isdeveloper release) | release] -->
<!-- Version flow:
1.0D01, 1.0D02, ... 1.0, (oops, fix old bug in 1.0): 1.0.1
1.1D01, ... 1.1
etc.
-->
<property name="version.major" value="1"/>
<property name="version.minor" value="0"/>
<property name="version.isdeveloper" value="D"/><!-- values: 'D'|'' -->
<property name="version.release" value="1"/>
<property name="version" value="${version.major}.${version.minor}.${version.isdeveloper}${version.release}" />
<!-- Allow properties following these statements to be overridden -->
<property file="build.properties"/>
<!-- Location of the system's temporary directory; all output sent here -->
<property name="tmp.dir" value="."/>
<!-- Overall distribution unit -->
<property name="dist.basename" value="xml-commons-${version}"/>
<property name="dist.dir" value="${tmp.dir}/build"/>
<!-- Public Targets -->
<target name="all"
depends="jars,dist"
description="Default all target; calls every sub-build file directly.">
</target>
<target name="external"
description="Calls just java/external/build.xml only.">
<ant dir="java/external" antfile="build.xml" target="all" >
</ant>
</target>
<target name="jars"
depends="external"
description="Calls all other java build files.">
<ant dir="java" antfile="which.xml" target="all" >
</ant>
</target>
<target name="dist"
description="Create simple distribution of all subprojects">
<mkdir dir="${dist.dir}/${dist.basename}"/>
<mkdir dir="${dist.dir}/${dist.basename}/java"/>
<!-- Copy all sources and their corresponding built files -->
<copy todir="${dist.dir}/${dist.basename}/java">
<!-- Assumption! Each subproject creates built files within itself -->
<fileset dir="java/"/>
</copy>
<!-- Copy pertinent top-level files -->
<copy todir="${dist.dir}/${dist.basename}">
<fileset dir="." includes="README.html,build.xml"/>
</copy>
<tar tarfile="${dist.dir}/${dist.basename}.tar" >
<tarfileset dir="${dist.dir}">
<include name="${dist.basename}/"/>
</tarfileset>
</tar>
<gzip zipfile="${dist.dir}/${dist.basename}.tar.gz" src="${dist.dir}/${dist.basename}.tar"/>
<delete file="${dist.dir}/${dist.basename}.tar" />
<zip zipfile="${dist.dir}/${dist.basename}.zip" >
<zipfileset dir="${dist.dir}">
<include name="${dist.basename}/"/>
</zipfileset>
</zip>
</target>
<target name="clean"
description="Cleanup all files in ${dist.dir} and subprojects">
<delete dir="${dist.dir}"/>
<ant dir="java/external" antfile="build.xml" target="clean" >
</ant>
<ant dir="java" antfile="which.xml" target="clean" >
</ant>
</target>
</project>

View File

@ -4,28 +4,37 @@
@author shane_curcuru@lotus.com
@author Davanum Srinivas, dims@yaoo.com
-->
<project name="xml-commons" default="jar" basedir=".">
<property name="name" value="xml-commons"/>
<property name="version" value="1.0"/>
<property name="project.name" value="${name}-${version}"/>
<project name="xml-commons-external" default="jar" >
<!-- Name and version information -->
<property name="name.external" value="xml-commons-external"/>
<property name="impl.name" value="XmlCommons"/>
<property name="impl.version" value="${version}"/>
<property name="external-module" value="JAXP 1.1, DOM2, SAX2, SAX2-ext 1.0" />
<property name="src.dir" value="src" />
<property name="docs.dir" value="xdocs" />
<property name="build.dir" value="build" />
<!-- Location of the system's temporary directory; all output sent here -->
<property name="tmp.dir" value="." />
<!-- Build directories -->
<property name="build.dir" value="${tmp.dir}/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="external.javadoc.title" value="JAXP 1.1, DOM2, SAX2, SAX2-ext 1.0" />
<!-- Source constants and directories -->
<property name="src.dir" value="src" />
<property name="docs.dir" value="xdocs" />
<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="all" depends="jar,javadoc"
description="Jar external classes and create javadoc">
</target>
<target name="prepare"
description="Create build output directories">
<echo message="Building ${name.external} (version: ${impl.version}) Buildfile: $Revision$"/>
<mkdir dir="${build.classes.dir}" />
<mkdir dir="${build.docs.dir}" />
<mkdir dir="${build.javadocs.dir}" />
@ -44,6 +53,7 @@
<target name="jar" depends="compile"
description="Jar all classes">
<echo message="Jarring ${api.jar} from ${build.classes.dir}" />
<jar jarfile="${api.jar}"
basedir="${build.classes.dir}"
manifest="${build.dir}/manifest.commons" />
@ -55,8 +65,8 @@
sourcepath="${src.dir}"
destdir="${build.javadocs.dir}"
version="yes"
windowtitle="${external-module}"
doctitle="${external-module}"
windowtitle="${external.javadoc.title}"
doctitle="${external.javadoc.title}"
bottom="This document is in the PUBLIC DOMAIN and comes with NO WARRANTY of any kind."
/>
<!-- Just copy existing .html files over as well -->
@ -75,7 +85,7 @@
<include name="javax/"/>
</patternset>
<tar tarfile="${build.dir}/${project.name}-src.tar" >
<tar tarfile="${build.dir}/${name.external}-${impl.version}-src.tar" >
<tarfileset dir="${src.dir}">
<patternset refid="external-srcs"/>
</tarfileset>
@ -83,8 +93,8 @@
<include name="manifest.commons"/>
</tarfileset>
</tar>
<gzip src="${build.dir}/${project.name}-src.tar" zipfile="${build.dir}/${project.name}-src.tar.gz"/>
<delete file="${build.dir}/${project.name}-src.tar" />
<gzip src="${build.dir}/${name.external}-${impl.version}-src.tar" zipfile="${build.dir}/${name.external}-${impl.version}-src.tar.gz"/>
<delete file="${build.dir}/${name.external}-${impl.version}-src.tar" />
</target>
<target name="clean"

View File

@ -3,14 +3,12 @@
Build file for org.apache.env.Which service. No dependencies.
@author shane_curcuru@us.ibm.com
-->
<project default="all">
<project name="xml-commons-which" default="all" >
<!-- Name and version information -->
<property name="name" value="xml-commons"/>
<property name="version" value="1.0"/>
<!-- Name and version of the project -->
<property name="project.name" value="${name}-${version}"/>
<property name="name.which" value="xml-commons-which"/>
<property name="impl.name" value="XmlWhich"/>
<property name="impl.version" value="${version}"/>
<!-- Allow properties following these statements to be overridden -->
<!-- Note that all of these don't have to exist. They've just been defined
@ -23,13 +21,13 @@ Build file for org.apache.env.Which service. No dependencies.
<!-- Location of where to put our build output -->
<property name="tmp.dir" value="."/>
<!-- Build directory -->
<!-- Build directories -->
<property name="build.dir" value="${tmp.dir}/build"/>
<property name="build.classes.dir" value="${build.dir}/classes"/>
<property name="docs.dir" value="${build.dir}"/>
<property name="docs.java.dir" value="${docs.dir}/javadocs"/>
<property name="docs.user.dir" value="${docs.dir}/docs"/>
<property name="docs.printer.dir" value="${docs.dir}/printer"/>
<property name="docs.java.dir" value="${docs.user.dir}/javadocs"/>
<property name="docs.printer.dir" value="${docs.user.dir}/printer"/>
<!-- Source constants and directories -->
<property name="src.dir" value="src" />
@ -53,16 +51,13 @@ Build file for org.apache.env.Which service. No dependencies.
<property name="copyright.message"
value="Copyright &#169; ${copyright.date} ${company.name}. All Rights Reserved."/>
<!-- Time stamp patterns -->
<property name="timestamp.distname.pattern" value="yyyy-mm-dd"/>
<!-- Public Targets -->
<target name="main"
depends="all, check"
description="Alias for all, check."/>
<target name="all"
depends="jar"
depends="jar,docs,javadocs"
description="This is the default target. Compiles the program.">
</target>
@ -74,26 +69,25 @@ Build file for org.apache.env.Which service. No dependencies.
<target name="jar" depends="compile"
description="Jar all classes">
<echo message="Jarring ${env.jar} from ${build.classes.dir}" />
<copy todir="${build.classes.dir}">
<fileset dir="${src.dir}" includes="**/*.properties"/>
</copy>
<jar jarfile="${env.jar}" manifest="${src.dir}/manifest.which" basedir="${build.classes.dir}" />
<jar jarfile="${env.jar}" manifest="${build.dir}/manifest.which" basedir="${build.classes.dir}" />
</target>
<target name="install">
<echo message="${name} currently doesn&apos;t support install."/>
<echo message="${name.which} currently doesn&apos;t support install."/>
</target>
<target name="uninstall">
<echo message="${name} currently doesn&apos;t support uninstall."/>
<echo message="${name.which} currently doesn&apos;t support uninstall."/>
</target>
<target name="clean"
description="Deletes all files that are generated by the build.">
<delete>
<fileset dir="${build.dir}"/>
</delete>
<delete dir="${build.dir}"/>
</target>
<target name="distclean"
@ -104,7 +98,6 @@ Build file for org.apache.env.Which service. No dependencies.
<target name="docs"
depends="javadocs, printerdocs"
description="Generates all documentation for a project.">
<echo message="${name} currently doesn&apos;t have any user documents."/>
</target>
<target name="javadocs"
@ -118,8 +111,8 @@ Build file for org.apache.env.Which service. No dependencies.
author="true"
version="true"
use="true"
windowtitle="${name} API"
doctitle="${name}"
windowtitle="${name.which} API"
doctitle="${name.which}"
bottom="${copyright.message}">
</javadoc>
</target>
@ -127,13 +120,13 @@ Build file for org.apache.env.Which service. No dependencies.
<target name="printerdocs"
depends="init"
description="Generates a printer friendly version of the documentation.">
<echo message="${name} currently doesn&apos;t have any user documents in a printable format."/>
<echo message="${name.which} currently doesn&apos;t have any user documents in a printable format."/>
</target>
<target name="dist"
depends="all, docs"
description="Generates all the artifacts used for a distribution.">
<echo message="${name} currently doesn&apos;t support &apos;dist&apos;."/>
<echo message="${name.which} currently doesn&apos;t support &apos;dist&apos;."/>
</target>
<target name="test"
@ -156,16 +149,13 @@ Build file for org.apache.env.Which service. No dependencies.
<!-- Internal Targets -->
<target name="init">
<!-- This target should initialise things like timestamps and set
available properties. -->
<echo message="Building ${name} (version: ${version}) Buildfile: $Revision$."/>
<echo message="Building ${name.which} (version: ${version}) Buildfile: $Revision$"/>
<mkdir dir="${build.classes.dir}" />
<mkdir dir="${docs.java.dir}" />
<mkdir dir="${docs.user.dir}" />
<tstamp>
<format property="timestamp.distname" pattern="${timestamp.distname.pattern}"/>
</tstamp>
<mkdir dir="${docs.java.dir}" />
<filter token="impl.version" value="${impl.version}"/>
<filter token="impl.name" value="${impl.name}"/>
<copy todir="${build.dir}" file="${src.dir}/manifest.which" filtering="true"/>
</target>
<!-- Project specific Targets -->