~ubuntu-branches/ubuntu/lucid/commons-httpclient/lucid

« back to all changes in this revision

Viewing changes to docs/BUILDING.txt

  • Committer: Bazaar Package Importer
  • Author(s): Barry Hawkins
  • Date: 2005-11-25 13:12:23 UTC
  • Revision ID: james.westby@ubuntu.com-20051125131223-2g7eyo21pqgrohpo
Tags: upstream-2.0.2
ImportĀ upstreamĀ versionĀ 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
$Id: BUILDING.txt,v 1.5 2003/06/04 06:16:04 oglueck Exp $
 
2
================================================================
 
3
Building HttpClient
 
4
================================================================
 
5
 
 
6
To compile httpclient, you'll want the excellent Ant utility
 
7
(version 1.2 or later). It can obtained from:
 
8
 
 
9
  http://jakarta.apache.org/ant/
 
10
 
 
11
Your Ant installation is ready when you can run Ant from the httpclient
 
12
project directory:
 
13
 
 
14
 $ ant
 
15
 
 
16
To build the project you'll also need:
 
17
 
 
18
 * an implementation of the Java Secure Socket Extension,
 
19
   a standard Java extension available from:
 
20
     http://java.sun.com/products/jsse
 
21
 
 
22
 * the Jakarta-Commons logging component, available from:
 
23
     http://jakarta.apache.org/commons/logging/
 
24
 
 
25
To help the build and test targets find these classes,
 
26
you must make a copy of the build.properties.sample file,
 
27
rename to build.properties, and modify it to reflect the
 
28
location of jsse.jar, jnet.jar, jcert.jar and commons-logging.jar
 
29
on your computer.
 
30
 
 
31
Once you have Ant, JSSE and Commons-Logging properly installed, and
 
32
your build.properties file properly configured, you are ready
 
33
to build the component:
 
34
 
 
35
To build a jar:
 
36
 
 
37
 $ ant dist
 
38
 
 
39
To build the API documentation:
 
40
 
 
41
 $ ant javadoc
 
42
 
 
43
To build the jar and API doc at once:
 
44
 
 
45
 $ ant dist
 
46
 
 
47
Run ant -projecthelp to see a list of all available targets.