craigmcc 01/05/06 16:06:21
Modified: beanutils STATUS.html build.xml
beanutils/src/conf MANIFEST.MF
Log:
Update the MANIFEST.MF file we generate (for beanutils) to declare the
dependency on the collections classes in a manner that can be verified by
applications that support the JDK's Optional Package Versioning
specification (such as Tomcat 4.0 and other servlet containers
implementing the 2.3 specification). For more info, see:
http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html
In order to support these conventions, the recommended "name" of the
extension is the fully qualified package name of the base package
implemented by this extension. Therefore, the generated name is now
"org.apache.commons.beanutils" instead of "beanutils". I will adjust the
other build scripts as necessary to reflect this convention.
Revision Changes Path
1.3 +3 -1 jakarta-commons/beanutils/STATUS.html
Index: STATUS.html
===================================================================
RCS file: /home/cvs/jakarta-commons/beanutils/STATUS.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- STATUS.html 2001/03/31 20:47:36 1.2
+++ STATUS.html 2001/05/06 23:06:20 1.3
@@ -7,7 +7,7 @@
<div align="center">
<h1>The Jakarta Commons <em>BeanUtils</em> Component</h1>
-$Id: STATUS.html,v 1.2 2001/03/31 20:47:36 geirm Exp $<br>
+$Id: STATUS.html,v 1.3 2001/05/06 23:06:20 craigmcc Exp $<br>
<a href="#Introduction">[Introduction]</a>
<a href="#Dependencies">[Dependencies]</a>
<a href="#Release Info">[Release Info]</a>
@@ -49,6 +49,8 @@
<ul>
<li><a href="http://java.sun.com/j2se">Java Development Kit</a>
(Version 1.2 or later)</li>
+<li><a href="http://jakarta.apache.org/commons">Collections Classes</a>
+ from the Jakarta Commons Subproject</li>
<li><a href="http://www.junit.org">JUnit Testing Framework</a>
(Version 3.2 or later) - for unit tests only, not required
for deployment</li>
1.11 +13 -1 jakarta-commons/beanutils/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/beanutils/build.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- build.xml 2001/04/30 17:35:23 1.10
+++ build.xml 2001/05/06 23:06:20 1.11
@@ -3,7 +3,7 @@
<!--
"Bean Utilities" component of the Jakarta Commons Subproject
- $Id: build.xml,v 1.10 2001/04/30 17:35:23 craigmcc Exp $
+ $Id: build.xml,v 1.11 2001/05/06 23:06:20 craigmcc Exp $
-->
@@ -18,6 +18,9 @@
<!-- ========== External Dependencies ===================================== -->
+ <!-- The home directory for the Commons collection classes distribution -->
+ <property name="commons-collections.home" value="../collections/dist"/>
+
<!-- The directory containing your binary distribution of JUnit,
version 3.2 or later -->
<property name="junit.home" value="/usr/local/junit3.5"/>
@@ -26,6 +29,9 @@
<!-- ========== Derived Values ============================================ -->
+ <!-- The pathname of the collections classes JAR file -->
+ <property name="commons-collections.jar"
value="${commons-collections.home}/commons-collections.jar"/>
+
<!-- The pathname of the "junit.jar" JAR file -->
<property name="junit.jar" value="${junit.home}/junit.jar"/>
@@ -36,6 +42,9 @@
<!-- The name of this component -->
<property name="component.name" value="beanutils"/>
+ <!-- The primary package name of this component -->
+ <property name="component.package" value="org.apache.commons.beanutils"/>
+
<!-- The title of this component -->
<property name="component.title" value="Bean Introspection Utilities"/>
@@ -73,6 +82,7 @@
<!-- Construct compile classpath -->
<path id="compile.classpath">
<pathelement location="${build.home}/classes"/>
+ <pathelement location="${commons-collections.jar}"/>
</path>
@@ -83,6 +93,7 @@
<path id="test.classpath">
<pathelement location="${build.home}/classes"/>
<pathelement location="${build.home}/tests"/>
+ <pathelement location="${commons-collections.jar}"/>
<pathelement location="${junit.jar}"/>
</path>
@@ -100,6 +111,7 @@
description="Initialize and evaluate conditionals">
<echo message="-------- ${component.name} ${component.version} --------"/>
<filter token="name" value="${component.name}"/>
+ <filter token="package" value="${component.package}"/>
<filter token="version" value="${component.version}"/>
</target>
1.2 +7 -2 jakarta-commons/beanutils/src/conf/MANIFEST.MF
Index: MANIFEST.MF
===================================================================
RCS file: /home/cvs/jakarta-commons/beanutils/src/conf/MANIFEST.MF,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- MANIFEST.MF 2001/04/17 00:50:29 1.1
+++ MANIFEST.MF 2001/05/06 23:06:21 1.2
@@ -1,6 +1,11 @@
-Extension-Name: @name@
+Extension-Name: @package@
Specification-Vendor: Apache Software Foundation
Specification-Version: 1.0
Implementation-Vendor: Apache Software Foundation
Implementation-Version: @version@
-
+Extension-List: collections
+collections-Extension-Name: org.apache.commons.collections
+collections-Specification-Vendor: Apache Software Foundation
+collections-Specification-Version: 1.0
+collections-Implementation-Vendor: Apache Software Foundation
+collections-Implementation-Version: 0.01