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:
parent
1d6cda7c46
commit
f77419e989
206
README.html
206
README.html
@ -9,42 +9,93 @@
|
|||||||
<!-- Copyright (c) 2001 The Apache Software Foundation. All rights reserved. -->
|
<!-- Copyright (c) 2001 The Apache Software Foundation. All rights reserved. -->
|
||||||
<head>
|
<head>
|
||||||
<title>xml-commons README homepage</title>
|
<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>
|
</head>
|
||||||
<body alink="#ff0000" bgcolor="#ffffff" link="#0000ff" text="#000000" vlink="#0000aa" >
|
<body alink="#ff0000" bgcolor="#ffffff" link="#0000ff" text="#000000" vlink="#0000aa" >
|
||||||
|
<div class="path">
|
||||||
|
<a href="http://www.apache.org/">www.apache.org</a> >
|
||||||
|
<span class="current"><a href="http://xml.apache.org/">xml.apache.org</a></span> > commons
|
||||||
|
</div>
|
||||||
|
|
||||||
<p><!-- spacer --></p>
|
<p><!-- spacer --></p>
|
||||||
<!-- Steal look and feel of xml.apache.org homepage by manually copying header blocks -->
|
<!-- Steal look and feel of Forrest 1.5 by copy & paste -->
|
||||||
<table border="0" cellpadding="0" cellspacing="0" width="494">
|
<div class="category">
|
||||||
<tr><td bgcolor="#039acc" width="1"></td>
|
<div class="label"><a name="welcome">Welcome to xml-commons!</a></div>
|
||||||
<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>
|
<div class="content">
|
||||||
<td bgcolor="#039acc" width="1"></td></tr>
|
<h3>xml-commons is a new xml.apache.org subproject!</h3>
|
||||||
</table>
|
<p>xml-commons is focused on common code and guidelines for xml projects.
|
||||||
<p>The xml-commons is a new xml.apache.org subproject 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
|
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>
|
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
|
<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
|
for other common xml-related utilities and code, and to help promulgate common
|
||||||
packaging, testing, documentation, and other guidelines across all
|
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>
|
<ul>
|
||||||
<li>In this document:</li>
|
|
||||||
<li><a href="#guidelines">Guidelines</a></li>
|
<li><a href="#guidelines">Guidelines</a></li>
|
||||||
<li><a href="#releases">Releases</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="#mailing">Mailing list</a></li>
|
||||||
<li><a href="#cvs">Get source code</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">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="#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>
|
<li><a href="#info-about">Info About This Document</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div></div>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0" width="494">
|
<div class="category"><div class="label"><a name="guidelines">Commons Guidelines</a></div><div class="content">
|
||||||
<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>
|
|
||||||
<p>As the community forms, we need to formalize these guidelines, especially to differentiate
|
<p>As the community forms, we need to formalize these guidelines, especially to differentiate
|
||||||
'requirements' from suggested 'guidelines'.</p>
|
'requirements' from suggested 'guidelines'.</p>
|
||||||
<p>Shane's starting proposals:</p>
|
<p>Shane's starting proposals:</p>
|
||||||
@ -54,28 +105,32 @@ xml-commons/
|
|||||||
README.html - this file
|
README.html - this file
|
||||||
build.xml - overall build file for top-level items
|
build.xml - overall build file for top-level items
|
||||||
xdocs/ - top-level xml format docs about this project itself and our guidelines
|
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
|
(in whatever format xml.apache.org uses for site)
|
||||||
out with another format and maintain it)
|
|
||||||
|
|
||||||
docs/ - (not checked in) html format docs created by 'build docs' from xdocs
|
docs/ - (not checked in) html format docs created by 'build docs' from xdocs
|
||||||
|
|
||||||
java/ - root of all java-related files
|
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
|
external/ - src root of all source files in java that come from external sources
|
||||||
for example: the DOM, SAX, and JAXP files
|
for example: the DOM, SAX, and JAXP files
|
||||||
org/xml/sax/*
|
org/xml/sax/*
|
||||||
org/w3c/dom/*
|
org/w3c/dom/*
|
||||||
javax/xml/*
|
javax/xml/*
|
||||||
|
external/build.xml - Ant build file for all external sources
|
||||||
apache/ - src root of all source files in java that are apache-owned
|
|
||||||
tbd/ - java packages added as needed
|
|
||||||
|
|
||||||
xdocs/ - xml format docs describing any java files, as needed
|
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
|
c/ - root of all C/C++ related files
|
||||||
external/ - root of all externally-owned C/C++ sources
|
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
|
perl/ - root of all Perl related files
|
||||||
etc.
|
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>
|
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>
|
<li>Other shared xml.apache.org guidelines? Like documentation format, testing techniques/policies, etc.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div></div>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0" width="494">
|
<div class="category"><div class="label"><a name="external">DOM, SAX, and JAXP code</a></div><div class="content">
|
||||||
<tr><td bgcolor="#039acc" width="1"></td>
|
<p>xml-commons primary goal is to provide Apache projects with a stable version of
|
||||||
<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>
|
XMl-related externally-defined standards-based code. This is mainly the various
|
||||||
<td bgcolor="#039acc" width="1"></td></tr>
|
interfaces that you use when programming XML from JAVA: DOM, SAX and JAXP for now.</p>
|
||||||
</table>
|
<p>This tree is rooted at xml-commons/java/external, and has a build.xml file.
|
||||||
<p>Since the community is still forming over May-June 2001, we don't have any releases yet.
|
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>
|
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">
|
<div class="category"><div class="label"><a name="mailing">How can I find out more?</a></div><div class="content">
|
||||||
<tr><td bgcolor="#039acc" width="1"></td>
|
<p>We have a project mailing list setup - commons-dev@xml.apache.org</a>.
|
||||||
<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>
|
Ask your questions or bring your suggestions there, or to general@xml.apache.org.
|
||||||
<td bgcolor="#039acc" width="1"></td></tr>
|
<br><a href="mailto:commons-dev@xml.apache.org">Send an email to commons-dev</a>
|
||||||
</table>
|
<br><a href="mailto:commons-dev-subscribe@xml.apache.org">Subscribe to commons-dev</a>
|
||||||
<p>We should have a project mailing list setup soon. Ask your questions or bring your suggestions
|
<br><a href="mailto:commons-dev-unsubscribe@xml.apache.org">Unsubscribe from commons-dev</a>
|
||||||
to xml-commons-dev@xml.apache.org. Subscription info coming soon...</p>
|
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0" width="494">
|
</p>
|
||||||
<tr><td bgcolor="#039acc" width="1"></td>
|
</div></div>
|
||||||
<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>
|
<div class="category"><div class="label"><a name="cvs">Where can I get the code/CVS?</a></div><div class="content">
|
||||||
</table>
|
|
||||||
<p>The xml-commons repository is available thru normal and anonymous CVS, or through
|
<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>
|
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>
|
<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">
|
<div class="category"><div class="label"><a name="proposal">xml-subproject-proposal-commons-v1.1</a></div><div class="content">
|
||||||
<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>
|
|
||||||
<pre>
|
<pre>
|
||||||
List: xml-apache-general
|
List: xml-apache-general
|
||||||
Subject: [VOTE] Proposal: new xml-commons subproject for standards-based files
|
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
|
- Shane shane_curcuru@lotus.com curcuru@apache.org
|
||||||
</pre>
|
</pre>
|
||||||
|
</div></div>
|
||||||
|
|
||||||
|
<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">
|
||||||
|
|
||||||
<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>
|
|
||||||
<p>Below follows the votes cast to create this subproject</p>
|
<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 ----
|
<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
|
<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>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>/xml-subproject-proposal-commons-v1.1-vote-count-26-Apr-01</p>
|
<p>/xml-subproject-proposal-commons-v1.1-vote-count-26-Apr-01</p>
|
||||||
|
</div></div>
|
||||||
|
|
||||||
|
<div class="category"><div class="label"><a name="info-about">Info About This Document</a></div><div class="content">
|
||||||
<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>
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Version: $Id$</li>
|
<li>Version: $Id$</li>
|
||||||
<li>Contributors:</li>
|
<li>Contributors:</li>
|
||||||
<li><a href="mailto:curcuru@apache.org">Shane Curcuru</a></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 stored in the xml-commons CVS repository</li>
|
||||||
<li>This document is currently a hand-coded XHTML file for reasons of simplicity.</li>
|
<li>Checked in: /home/cvs/xml-commons/README.html</li>
|
||||||
<li>/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>
|
<li><a href="http://xml.apache.org/websrc/cvsweb.cgi/xml-commons/README.html">View with CVSWEB</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div></div>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
<div class="copyright">
|
||||||
|
Copyright © 1999-2001 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved.
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
92
build.xml
Normal file
92
build.xml
Normal 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>
|
||||||
38
java/external/build.xml
vendored
38
java/external/build.xml
vendored
@ -4,28 +4,37 @@
|
|||||||
@author shane_curcuru@lotus.com
|
@author shane_curcuru@lotus.com
|
||||||
@author Davanum Srinivas, dims@yaoo.com
|
@author Davanum Srinivas, dims@yaoo.com
|
||||||
-->
|
-->
|
||||||
<project name="xml-commons" default="jar" basedir=".">
|
<project name="xml-commons-external" default="jar" >
|
||||||
|
|
||||||
<property name="name" value="xml-commons"/>
|
|
||||||
<property name="version" value="1.0"/>
|
|
||||||
<property name="project.name" value="${name}-${version}"/>
|
|
||||||
|
|
||||||
|
<!-- Name and version information -->
|
||||||
|
<property name="name.external" value="xml-commons-external"/>
|
||||||
<property name="impl.name" value="XmlCommons"/>
|
<property name="impl.name" value="XmlCommons"/>
|
||||||
<property name="impl.version" value="${version}"/>
|
<property name="impl.version" value="${version}"/>
|
||||||
|
|
||||||
<property name="external-module" value="JAXP 1.1, DOM2, SAX2, SAX2-ext 1.0" />
|
<!-- Location of the system's temporary directory; all output sent here -->
|
||||||
<property name="src.dir" value="src" />
|
<property name="tmp.dir" value="." />
|
||||||
<property name="docs.dir" value="xdocs" />
|
|
||||||
<property name="build.dir" value="build" />
|
<!-- Build directories -->
|
||||||
|
<property name="build.dir" value="${tmp.dir}/build" />
|
||||||
<property name="build.classes.dir" value="${build.dir}/classes" />
|
<property name="build.classes.dir" value="${build.dir}/classes" />
|
||||||
<property name="build.docs.dir" value="${build.dir}/docs" />
|
<property name="build.docs.dir" value="${build.dir}/docs" />
|
||||||
<property name="build.javadocs.dir" value="${build.docs.dir}/javadoc" />
|
<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.location" value="${build.dir}" />
|
||||||
<property name="api.jar.name" value="xml-apis.jar" />
|
<property name="api.jar.name" value="xml-apis.jar" />
|
||||||
<property name="api.jar" value="${api.jar.location}/${api.jar.name}" />
|
<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"
|
<target name="prepare"
|
||||||
description="Create build output directories">
|
description="Create build output directories">
|
||||||
|
<echo message="Building ${name.external} (version: ${impl.version}) Buildfile: $Revision$"/>
|
||||||
<mkdir dir="${build.classes.dir}" />
|
<mkdir dir="${build.classes.dir}" />
|
||||||
<mkdir dir="${build.docs.dir}" />
|
<mkdir dir="${build.docs.dir}" />
|
||||||
<mkdir dir="${build.javadocs.dir}" />
|
<mkdir dir="${build.javadocs.dir}" />
|
||||||
@ -44,6 +53,7 @@
|
|||||||
|
|
||||||
<target name="jar" depends="compile"
|
<target name="jar" depends="compile"
|
||||||
description="Jar all classes">
|
description="Jar all classes">
|
||||||
|
<echo message="Jarring ${api.jar} from ${build.classes.dir}" />
|
||||||
<jar jarfile="${api.jar}"
|
<jar jarfile="${api.jar}"
|
||||||
basedir="${build.classes.dir}"
|
basedir="${build.classes.dir}"
|
||||||
manifest="${build.dir}/manifest.commons" />
|
manifest="${build.dir}/manifest.commons" />
|
||||||
@ -55,8 +65,8 @@
|
|||||||
sourcepath="${src.dir}"
|
sourcepath="${src.dir}"
|
||||||
destdir="${build.javadocs.dir}"
|
destdir="${build.javadocs.dir}"
|
||||||
version="yes"
|
version="yes"
|
||||||
windowtitle="${external-module}"
|
windowtitle="${external.javadoc.title}"
|
||||||
doctitle="${external-module}"
|
doctitle="${external.javadoc.title}"
|
||||||
bottom="This document is in the PUBLIC DOMAIN and comes with NO WARRANTY of any kind."
|
bottom="This document is in the PUBLIC DOMAIN and comes with NO WARRANTY of any kind."
|
||||||
/>
|
/>
|
||||||
<!-- Just copy existing .html files over as well -->
|
<!-- Just copy existing .html files over as well -->
|
||||||
@ -75,7 +85,7 @@
|
|||||||
<include name="javax/"/>
|
<include name="javax/"/>
|
||||||
</patternset>
|
</patternset>
|
||||||
|
|
||||||
<tar tarfile="${build.dir}/${project.name}-src.tar" >
|
<tar tarfile="${build.dir}/${name.external}-${impl.version}-src.tar" >
|
||||||
<tarfileset dir="${src.dir}">
|
<tarfileset dir="${src.dir}">
|
||||||
<patternset refid="external-srcs"/>
|
<patternset refid="external-srcs"/>
|
||||||
</tarfileset>
|
</tarfileset>
|
||||||
@ -83,8 +93,8 @@
|
|||||||
<include name="manifest.commons"/>
|
<include name="manifest.commons"/>
|
||||||
</tarfileset>
|
</tarfileset>
|
||||||
</tar>
|
</tar>
|
||||||
<gzip src="${build.dir}/${project.name}-src.tar" zipfile="${build.dir}/${project.name}-src.tar.gz"/>
|
<gzip src="${build.dir}/${name.external}-${impl.version}-src.tar" zipfile="${build.dir}/${name.external}-${impl.version}-src.tar.gz"/>
|
||||||
<delete file="${build.dir}/${project.name}-src.tar" />
|
<delete file="${build.dir}/${name.external}-${impl.version}-src.tar" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="clean"
|
<target name="clean"
|
||||||
|
|||||||
@ -3,14 +3,12 @@
|
|||||||
Build file for org.apache.env.Which service. No dependencies.
|
Build file for org.apache.env.Which service. No dependencies.
|
||||||
@author shane_curcuru@us.ibm.com
|
@author shane_curcuru@us.ibm.com
|
||||||
-->
|
-->
|
||||||
<project default="all">
|
<project name="xml-commons-which" default="all" >
|
||||||
|
|
||||||
<!-- Name and version information -->
|
<!-- Name and version information -->
|
||||||
<property name="name" value="xml-commons"/>
|
<property name="name.which" value="xml-commons-which"/>
|
||||||
<property name="version" value="1.0"/>
|
<property name="impl.name" value="XmlWhich"/>
|
||||||
|
<property name="impl.version" value="${version}"/>
|
||||||
<!-- Name and version of the project -->
|
|
||||||
<property name="project.name" value="${name}-${version}"/>
|
|
||||||
|
|
||||||
<!-- Allow properties following these statements to be overridden -->
|
<!-- Allow properties following these statements to be overridden -->
|
||||||
<!-- Note that all of these don't have to exist. They've just been defined
|
<!-- 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 -->
|
<!-- Location of where to put our build output -->
|
||||||
<property name="tmp.dir" value="."/>
|
<property name="tmp.dir" value="."/>
|
||||||
|
|
||||||
<!-- Build directory -->
|
<!-- Build directories -->
|
||||||
<property name="build.dir" value="${tmp.dir}/build"/>
|
<property name="build.dir" value="${tmp.dir}/build"/>
|
||||||
<property name="build.classes.dir" value="${build.dir}/classes"/>
|
<property name="build.classes.dir" value="${build.dir}/classes"/>
|
||||||
<property name="docs.dir" value="${build.dir}"/>
|
<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.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 -->
|
<!-- Source constants and directories -->
|
||||||
<property name="src.dir" value="src" />
|
<property name="src.dir" value="src" />
|
||||||
@ -53,16 +51,13 @@ Build file for org.apache.env.Which service. No dependencies.
|
|||||||
<property name="copyright.message"
|
<property name="copyright.message"
|
||||||
value="Copyright © ${copyright.date} ${company.name}. All Rights Reserved."/>
|
value="Copyright © ${copyright.date} ${company.name}. All Rights Reserved."/>
|
||||||
|
|
||||||
<!-- Time stamp patterns -->
|
|
||||||
<property name="timestamp.distname.pattern" value="yyyy-mm-dd"/>
|
|
||||||
|
|
||||||
<!-- Public Targets -->
|
<!-- Public Targets -->
|
||||||
<target name="main"
|
<target name="main"
|
||||||
depends="all, check"
|
depends="all, check"
|
||||||
description="Alias for all, check."/>
|
description="Alias for all, check."/>
|
||||||
|
|
||||||
<target name="all"
|
<target name="all"
|
||||||
depends="jar"
|
depends="jar,docs,javadocs"
|
||||||
description="This is the default target. Compiles the program.">
|
description="This is the default target. Compiles the program.">
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
@ -74,26 +69,25 @@ Build file for org.apache.env.Which service. No dependencies.
|
|||||||
|
|
||||||
<target name="jar" depends="compile"
|
<target name="jar" depends="compile"
|
||||||
description="Jar all classes">
|
description="Jar all classes">
|
||||||
|
<echo message="Jarring ${env.jar} from ${build.classes.dir}" />
|
||||||
<copy todir="${build.classes.dir}">
|
<copy todir="${build.classes.dir}">
|
||||||
<fileset dir="${src.dir}" includes="**/*.properties"/>
|
<fileset dir="${src.dir}" includes="**/*.properties"/>
|
||||||
</copy>
|
</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>
|
||||||
|
|
||||||
<target name="install">
|
<target name="install">
|
||||||
<echo message="${name} currently doesn't support install."/>
|
<echo message="${name.which} currently doesn't support install."/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="uninstall">
|
<target name="uninstall">
|
||||||
<echo message="${name} currently doesn't support uninstall."/>
|
<echo message="${name.which} currently doesn't support uninstall."/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="clean"
|
<target name="clean"
|
||||||
description="Deletes all files that are generated by the build.">
|
description="Deletes all files that are generated by the build.">
|
||||||
<delete>
|
<delete dir="${build.dir}"/>
|
||||||
<fileset dir="${build.dir}"/>
|
|
||||||
</delete>
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="distclean"
|
<target name="distclean"
|
||||||
@ -104,7 +98,6 @@ Build file for org.apache.env.Which service. No dependencies.
|
|||||||
<target name="docs"
|
<target name="docs"
|
||||||
depends="javadocs, printerdocs"
|
depends="javadocs, printerdocs"
|
||||||
description="Generates all documentation for a project.">
|
description="Generates all documentation for a project.">
|
||||||
<echo message="${name} currently doesn't have any user documents."/>
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="javadocs"
|
<target name="javadocs"
|
||||||
@ -118,8 +111,8 @@ Build file for org.apache.env.Which service. No dependencies.
|
|||||||
author="true"
|
author="true"
|
||||||
version="true"
|
version="true"
|
||||||
use="true"
|
use="true"
|
||||||
windowtitle="${name} API"
|
windowtitle="${name.which} API"
|
||||||
doctitle="${name}"
|
doctitle="${name.which}"
|
||||||
bottom="${copyright.message}">
|
bottom="${copyright.message}">
|
||||||
</javadoc>
|
</javadoc>
|
||||||
</target>
|
</target>
|
||||||
@ -127,13 +120,13 @@ Build file for org.apache.env.Which service. No dependencies.
|
|||||||
<target name="printerdocs"
|
<target name="printerdocs"
|
||||||
depends="init"
|
depends="init"
|
||||||
description="Generates a printer friendly version of the documentation.">
|
description="Generates a printer friendly version of the documentation.">
|
||||||
<echo message="${name} currently doesn't have any user documents in a printable format."/>
|
<echo message="${name.which} currently doesn't have any user documents in a printable format."/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="dist"
|
<target name="dist"
|
||||||
depends="all, docs"
|
depends="all, docs"
|
||||||
description="Generates all the artifacts used for a distribution.">
|
description="Generates all the artifacts used for a distribution.">
|
||||||
<echo message="${name} currently doesn't support 'dist'."/>
|
<echo message="${name.which} currently doesn't support 'dist'."/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="test"
|
<target name="test"
|
||||||
@ -156,16 +149,13 @@ Build file for org.apache.env.Which service. No dependencies.
|
|||||||
|
|
||||||
<!-- Internal Targets -->
|
<!-- Internal Targets -->
|
||||||
<target name="init">
|
<target name="init">
|
||||||
<!-- This target should initialise things like timestamps and set
|
<echo message="Building ${name.which} (version: ${version}) Buildfile: $Revision$"/>
|
||||||
available properties. -->
|
|
||||||
|
|
||||||
<echo message="Building ${name} (version: ${version}) Buildfile: $Revision$."/>
|
|
||||||
<mkdir dir="${build.classes.dir}" />
|
<mkdir dir="${build.classes.dir}" />
|
||||||
<mkdir dir="${docs.java.dir}" />
|
|
||||||
<mkdir dir="${docs.user.dir}" />
|
<mkdir dir="${docs.user.dir}" />
|
||||||
<tstamp>
|
<mkdir dir="${docs.java.dir}" />
|
||||||
<format property="timestamp.distname" pattern="${timestamp.distname.pattern}"/>
|
<filter token="impl.version" value="${impl.version}"/>
|
||||||
</tstamp>
|
<filter token="impl.name" value="${impl.name}"/>
|
||||||
|
<copy todir="${build.dir}" file="${src.dir}/manifest.which" filtering="true"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Project specific Targets -->
|
<!-- Project specific Targets -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user