Documentation » History » Version 4
chin-yeh, 08/02/2011 03:26 PM
1 | 1 | chin-yeh | {{toc}} |
---|---|---|---|
2 | |||
3 | h1. Documentation |
||
4 | |||
5 | 3 | chin-yeh | h2. List of Components |
6 | 1 | chin-yeh | |
7 | 3 | chin-yeh | |_.Name|_.Version|_.Description| |
8 | |dp-stub|1.1-SNAPSHOT|The client stub of DP web services| |
||
9 | |dp-client|1.0-SNAPSHOT|The client of DP web services| |
||
10 | |dp-test|1.0-SNAPSHOT|A demo application for *dp-client*| |
||
11 | |||
12 | The binary of the above components can be found in: |
||
13 | > http://192.168.2.13:8081/nexus/ |
||
14 | |||
15 | h2. How To Compile from source files |
||
16 | |||
17 | All of the projects are built and maintained using "Maven 2":http://maven.apache.org/. Those projects can be imported into *Eclipse IDE* but the *m2 Maven* must be installed. |
||
18 | |||
19 | *Prerequisite:* |
||
20 | * Eclipse IDE (optional) |
||
21 | * Apache Maven 2 |
||
22 | * CVS client, e.g TortoiseCVS, Eclipse IDE |
||
23 | |||
24 | h3. dp-stub |
||
25 | |||
26 | # checkout the project *dp-stub* from CVS |
||
27 | # <code>cd</code> to the folder: |
||
28 | <pre> |
||
29 | $ cd dp-stub |
||
30 | </pre> |
||
31 | # execute the maven goal, *clean* and *package*: |
||
32 | <pre> |
||
33 | $ mvn clean package |
||
34 | </pre> |
||
35 | # if success, the binary file can be found in the *target* folder |
||
36 | # _(optional)_ to deploy the binary to "nexus repository":http://192.168.2.13:50000/redmine/projects/general-info/wiki/#Maven, execute the maven goal, *deploy*: |
||
37 | <pre> |
||
38 | $ mvn clean deploy |
||
39 | </pre> |
||
40 | |||
41 | h3. dp-client |
||
42 | |||
43 | # checkout the project *dp-client* from cvs |
||
44 | # <code>cd</code> to the folder: |
||
45 | <pre> |
||
46 | $ cd dp-client |
||
47 | </pre> |
||
48 | # execute the maven goal, *clean* and *package*: |
||
49 | <pre> |
||
50 | $ mvn clean package |
||
51 | </pre> |
||
52 | # if success, the binary file can be found in the *target* folder |
||
53 | # _(optional)_ to deploy the binary to "nexus repository":http://192.168.2.13:50000/redmine/projects/general-info/wiki/#Maven, execute the maven goal, *deploy*: |
||
54 | <pre> |
||
55 | $ mvn clean deploy |
||
56 | </pre> |