annotate libs/httpcomponents-client-4.0-beta1/BUILDING.txt @ 5:0be9d53a6967

editor for annotations
author dwinter
date Tue, 13 Dec 2011 17:43:46 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
1 Building HttpComponents Client
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
2 ============================
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
3
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
4 (1) Requisites
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
5 --------------
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
6 HttpClient utilizes Maven 2 as a distribution management and packaging tool. Version 2.0.7 or above
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
7 is recommended. Maven 2 requires JDK 1.4 or above in order to execute. However, JDK 1.5 or above is
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
8 required in order to compile HttpClient.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
9
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
10 Maven installation and configuration instructions can be found here:
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
11
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
12 http://maven.apache.org/run-maven/index.html
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
13
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
14 (2) Executing test cases
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
15
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
16 Execute the following command in order to compile and test the components
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
17
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
18 mvn test
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
19
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
20 (3) Building packages
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
21
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
22 Execute the following command in order to build the JAR packages
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
23
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
24 mvn package
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
25
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
26 The resultant packages can be found in the target folders of their respective modules
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
27
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
28 module-client/target/httpclient-<VERSION>.jar
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
29 module-httpmime/target/httpmime-<VERSION>.jar
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
30
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
31 where <VERSION> is the release version