rdonkin 2004/06/23 13:39:56 Modified: beanutils/src/java/org/apache/commons/beanutils Tag: RELEASE_BEANUTILS_1_7_0_BRANCH package.html Log: Ensured that guide makes clear when the classes described are to be found in bean-collections. Revision Changes Path No revision No revision 1.18.2.1 +30 -0 jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/package.html Index: package.html =================================================================== RCS file: /home/cvs/jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/package.html,v retrieving revision 1.18 retrieving revision 1.18.2.1 diff -u -r1.18 -r1.18.2.1 --- package.html 7 Jan 2004 22:01:09 -0000 1.18 +++ package.html 23 Jun 2004 20:39:55 -0000 1.18.2.1 @@ -55,6 +55,7 @@ <li><a href="#FAQ.property">Why Can't BeanUtils Find My Method?</a></li> <li><a href="#FAQ.bc.order">How Do I Set The BeanComparator Order To Be Ascending/Descending?</a></li> </ul></li> +<li><a href='#Packaging'>Packaging</a></li> </ol> <a name="overview"></a> @@ -704,6 +705,12 @@ <a name="collections"></a> <h1>Collections</h1> +<strong>Note:</strong> these classes depend on +<a href='http://jakarta.apache.org/commons/collections'>Commons Collection</a> 3.0 or higher +and are optional. To use them, please ensure that this library is available +and that either the all-in-one jar is used or the modular +<code>commons-beanutils-bean-collections.jar</code> is available +(in addition to <code>commons-beanutils-core.jar</code>, of course :-). <a name="bean-comparator"></a> <h3>Comparing Beans</h3> <p> @@ -832,5 +839,28 @@ Collections.sort(myList, reversedNaturalOrderBeanComparator); ... </pre></code> + +<a name="Packaging"></a> +<h1>Packaging</h1> +<p> +BeanUtils now comes packaged (into jars) in two different ways: +</p> +<ol> + <li>an all-in-one jar (<code>commons-beanutils.jar</code>)</li> + <li>and as modular component jars: + <ul> + <li><code>commons-beanutils-core.jar</code> (core classes)</li> + <li><code>commons-beanutils-bean-collections.jar</code> + (additional dependency on commons-collections 3.0)</li> +</ol> +<p> +Those who want it all should grab the all-in-one <code>commons-beanutils.jar</code> +(and remember to add any optional dependencies needed) +whereas those who need minimal dependencies should use <code>commons-beanutils-core.jar</code> +plus any optional jars they plan to use. +</p> +<p> +The binary distribution contains all these jars. +</p> </body> </html>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]