Mercurial > dive4elements > http-client
comparison README @ 0:a1db30b33f43
Moved the experimental branch 'work-on-gwt' of the console-client to an own module 'http-client' and removed the console-client.
http-client/trunk@1323 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 17 Feb 2011 10:31:40 +0000 |
parents | |
children | 7261c948425c |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a1db30b33f43 |
---|---|
1 ============ | |
2 DEPENDENCIES | |
3 ============ | |
4 | |
5 - JUnit 3.8.1 | |
6 - Log4j 1.2.14 | |
7 - Restlet 2.0-SNAPSHOT | |
8 - Restlet-XML 2.0-SNAPSHOT | |
9 | |
10 | |
11 ============================ | |
12 COMPILATION AND INSTALLATION | |
13 ============================ | |
14 | |
15 This project is based on maven2. To compile/install this client, just do: | |
16 | |
17 mvn compile package | |
18 | |
19 The result will be an jar-archive in the ``target`` directory. | |
20 | |
21 If you want to use the contrib script ``run.sh`` (see below), you will need | |
22 the jars of the dependencies as well. Therefore, just do: | |
23 | |
24 mvn compile package dependency:copy-dependencies | |
25 | |
26 This command will compile the sources, build a jar of those and download the | |
27 depending jar archives to ``target/dependency``. | |
28 | |
29 | |
30 ============= | |
31 CONFIGURATION | |
32 ============= | |
33 | |
34 Currently, this client reads two configuration files: | |
35 | |
36 - the artifact configuration (conf/demo-config.conf) | |
37 - the logging configuration (conf/log4j.properties) | |
38 | |
39 | |
40 ================== | |
41 RUNNING THE CLIENT | |
42 ================== | |
43 | |
44 There is a bash script in the ``contrib`` directory. This might be used to | |
45 start the console based client. Note, that you need the jars of the depending | |
46 libraries in the ``target`` directory. | |
47 | |
48 sh bin/run.sh | |
49 |