Project

General

Profile

Documentation » History » Version 9

chin-yeh, 08/10/2011 09:56 AM

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 7 chin-yeh
|dp-client|1.3.1-SNAPSHOT|The client of DP web services|
10 6 chin-yeh
|dp-test|1.2.1-SNAPSHOT|A demo application for *dp-client*|
11 3 chin-yeh
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 8 chin-yeh
All of the projects are built and maintained using "Maven 2":http://maven.apache.org/. 
18
> Those projects can be imported into *Eclipse IDE* but the *m2 Maven* plugin is needed.
19 3 chin-yeh
20 9 chin-yeh
The *source files* are stored in:
21
> [[wiki#scm|SCM]]
22
23 3 chin-yeh
*Prerequisite:*
24
* Eclipse IDE (optional)
25
* Apache Maven 2
26
* CVS client, e.g TortoiseCVS, Eclipse IDE
27
28
h3. dp-stub
29
30
# checkout the project *dp-stub* from CVS
31
# <code>cd</code> to the folder:
32
<pre>
33
$ cd dp-stub
34
</pre>
35
# execute the maven goal, *clean* and *package*:
36
<pre>
37
$ mvn clean package
38
</pre>
39
# if success, the binary file can be found in the *target* folder
40
# _(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*:
41
<pre>
42
$ mvn clean deploy
43
</pre>
44
45
h3. dp-client
46
47
# checkout the project *dp-client* from cvs
48
# <code>cd</code> to the folder:
49
<pre>
50
$ cd dp-client
51
</pre>
52
# execute the maven goal, *clean* and *package*:
53
<pre>
54
$ mvn clean package
55
</pre>
56
# if success, the binary file can be found in the *target* folder
57
# _(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*:
58
<pre>
59
$ mvn clean deploy
60
</pre>