Project

General

Profile

Documentation » History » Revision 8

Revision 7 (chin-yeh, 08/10/2011 05:38 PM) → Revision 8/23 (chin-yeh, 08/12/2011 11:24 AM)

{{toc}} 

 h1. Documentation 

 h2. List of Components 

 |_.Name|_.Latest Stable Version|_.Description| 
 |vp-stub|1.0-[version]|the |vp-stub|1.0-SNAPSHOT|the client stub of the VP web services| 
 |vp-client|1.0.1-[version]|the |vp-client|1.0.1-SNAPSHOT|the client application of the VP web services| 
 |vp-test|1.0.1-[version]|the |vp-test|1.0.1-SNAPSHOT|the demo application of *vp-client*| 
 |vp-batch|1.0-[version]|the batch program| 

 where *version* refer to: 
 * *SNAPSHOT* - for development environment 
 * *RELEASE* - for production environment 

 h2. Compile from source files 

 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* plugin is needed. 

 The source files are stored in: 
 > [[wiki#scm|SCM]] 

 *Prerequisite:* 
 * Eclipse IDE (optional) 
 * Apache Maven 2 
 * CVS client, e.g TortoiseCVS, Eclipse IDE 

 h3. vp-stub 

 # checkout the project *vp-stub* from CVS 
 # <code>cd</code> to the folder: 
 <pre> 
 $ cd vp-stub 
 </pre> 
 # execute the maven goal, *clean* and *package*: 
 <pre> 
 $ mvn clean package 
 </pre> 
 # if success, the binary file can be found in the *target* folder 
 # _(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*: 
 <pre> 
 $ mvn clean deploy 
 </pre> 

 h3. vp-client 

 # checkout the project *vp-client* from cvs 
 # <code>cd</code> to the folder: 
 <pre> 
 $ cd vp-client 
 </pre> 
 # execute the maven goal, *clean* and *package*: 
 <pre> 
 $ mvn clean package 
 </pre> 
 # if success, the binary file can be found in the *target* folder 
 # _(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*: 
 <pre> 
 $ mvn clean deploy 
 </pre> 

 h2. Programming Guide 

 See [[Programming Guide]]