Project

General

Profile

Documentation » History » Version 9

chin-yeh, 08/12/2011 02:42 PM

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