| career | drupal | java | mac | mysql | perl | scala | uml | unix  

Commons Collections example source code file (README.txt)

This example Commons Collections source code file (README.txt) is included in the "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Commons Collections tags/keywords

ant, ant, apache, collections, commons, it, junit, maven, maven, once, once, the, the, this

The Commons Collections README.txt source code

Apache Commons Collections

Welcome to the Collections component of the Apache Commons project.
This component contains many new collections and collection utilities.

Two jar files are produced by this component.
The first, commons-collections.jar is the main jar used by applications.
The second, commons-collections-testframework.jar is an extension to junit
for testing new collection implementations and is not normally used by applications.

Building from source
This component requires the excellent Ant utility.
It can be found here :

For testing the project, you will also need JUnit :

To let the test process find JUnit, you may make a 
copy of the file, rename to,  and modify to reflect
the location of the junit.jar on your computer.

Once you have Ant properly installed, and the file correctly reflects the location
of your junit.jar, you are ready to build and test.
The major targets are:

ant compile      - compile the code
ant test         - test using junit
ant jar          - create a jar file
ant javadoc      - build the javadoc
ant dist         - create folders as per a distribution
ant tf.jar       - create the testframework jar file
ant tf.javadoc   - build the testframework javadoc

The component can also be built using Maven. (Ant is the primary build tool.)
It can be found here :

Once installed, the jars may be built with 'maven jar'.

Other Commons Collections examples (source code examples)

Here is a short list of links related to this Commons Collections README.txt source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller


new blog posts


Copyright 1998-2021 Alvin Alexander,
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.