Project

General

Profile

Documentation » History » Version 5

chin-yeh, 08/10/2011 10:15 AM

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