Project

General

Profile

Documentation » History » Version 13

chin-yeh, 08/24/2011 04:20 PM

1 1 chin-yeh
{{toc}}
2
3
h1. Documentation
4
5 3 chin-yeh
h2. List of Components
6 1 chin-yeh
7 12 chin-yeh
|_.Name|_.Latest Stable Version|_.Description|
8 3 chin-yeh
|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 13 chin-yeh
|dp-test|1.2.3-SNAPSHOT|A demo application for *dp-client*|
11 11 chin-yeh
|dp-batch|1.0-SNAPSHOT| dp related batch programs|
12 3 chin-yeh
13
The binary of the above components can be found in:
14
> http://192.168.2.13:8081/nexus/
15
16 10 chin-yeh
h2. Compile from source files
17 3 chin-yeh
18 8 chin-yeh
All of the projects are built and maintained using "Maven 2":http://maven.apache.org/. 
19
> Those projects can be imported into *Eclipse IDE* but the *m2 Maven* plugin is needed.
20 3 chin-yeh
21 9 chin-yeh
The *source files* are stored in:
22
> [[wiki#scm|SCM]]
23
24 3 chin-yeh
*Prerequisite:*
25
* Eclipse IDE (optional)
26
* Apache Maven 2
27
* CVS client, e.g TortoiseCVS, Eclipse IDE
28
29
h3. dp-stub
30
31
# checkout the project *dp-stub* from CVS
32
# <code>cd</code> to the folder:
33
<pre>
34
$ cd dp-stub
35
</pre>
36
# execute the maven goal, *clean* and *package*:
37
<pre>
38
$ mvn clean package
39
</pre>
40
# if success, the binary file can be found in the *target* folder
41
# _(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*:
42
<pre>
43
$ mvn clean deploy
44
</pre>
45
46
h3. dp-client
47
48
# checkout the project *dp-client* from cvs
49
# <code>cd</code> to the folder:
50
<pre>
51
$ cd dp-client
52
</pre>
53
# execute the maven goal, *clean* and *package*:
54
<pre>
55
$ mvn clean package
56
</pre>
57
# if success, the binary file can be found in the *target* folder
58
# _(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*:
59
<pre>
60
$ mvn clean deploy
61
</pre>