forked from apache/commons-collections
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
56 lines (40 loc) · 1.6 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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 (apart from sources and javadocs) are produced by this component.
The first, commons-collections4-x.y.jar is the main jar used by applications.
The second, commons-collections4-x.y-tests.jar is an extension to junit
for testing new collection implementations and is not normally used by applications.
Building from source
=-=-=-=-=-=-=-=-=-=-
Maven2
------
Collections is usually built using Maven2.
It can be found here :
http://maven.apache.org/
Once installed, the major goals are:
mvn package - build jars
mvn install - place jars in local maven repository
mvn assembly:assembly - build tar.gz/zips
Ant
---
It may also be built using Ant.
It can be found here :
http://ant.apache.org/
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.
Once you have Ant properly installed, and the
build.properties 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 test-jar - create the testframework jar file
ant javadoc - build the javadoc
ant dist - create folders as per a distribution