2001-05-03 22:54:59 -04:00
|
|
|
Jakarta Commons Collections
|
|
|
|
===========================
|
|
|
|
|
2004-01-10 13:10:13 -05:00
|
|
|
Welcome to the Collections component of the Jakarta Commons project.
|
|
|
|
This component contains many new collections and collection utilities.
|
2001-05-03 22:54:59 -04:00
|
|
|
|
2004-01-10 13:10:13 -05:00
|
|
|
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 :
|
2001-05-03 22:54:59 -04:00
|
|
|
|
2003-07-03 23:09:59 -04:00
|
|
|
http://ant.apache.org/
|
2001-05-03 22:54:59 -04:00
|
|
|
|
|
|
|
For testing the project, you will also need JUnit :
|
|
|
|
|
|
|
|
http://www.junit.org/
|
|
|
|
|
|
|
|
To let the test process find JUnit, you may make a
|
|
|
|
copy of the build.properties.sample file, rename to
|
|
|
|
build.properties, and modify to reflect
|
|
|
|
the location of the junit.jar on your computer.
|
|
|
|
|
|
|
|
|
2006-05-07 16:15:33 -04:00
|
|
|
Once you have Ant properly installed, and the
|
2001-05-03 23:00:21 -04:00
|
|
|
build.properties file correctly reflects the location
|
|
|
|
of your junit.jar, you are ready to build and test.
|
2004-01-24 20:23:04 -05:00
|
|
|
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
|
2004-01-10 13:10:13 -05:00
|
|
|
|
|
|
|
|
|
|
|
Maven
|
|
|
|
-----
|
2004-06-12 10:45:33 -04:00
|
|
|
The component can also be built using Maven. (Ant is the primary build tool.)
|
2004-06-10 18:17:42 -04:00
|
|
|
It can be found here :
|
|
|
|
|
|
|
|
http://maven.apache.org/
|
|
|
|
|
|
|
|
Once installed, the jars may be built with 'maven jar'.
|