Project

General

Profile

Documentation » History » Version 1

Soh Keong, 11/08/2012 02:11 PM

1 1 Soh Keong
{{toc}}
2
3
h1. Documentation
4
5
h2. Compile from source files
6
7
All of the projects are built and maintained using "Maven 2":http://maven.apache.org/. 
8
> Those projects can be imported into *Eclipse IDE* but the *m2 Maven* plugin is needed.
9
10
The *source files* are stored in:
11
> [[wiki#scm|SCM]]
12
13
*Prerequisite:*
14
* Eclipse IDE 
15
* Apache Maven 2
16
17
18
Below is the steps to create development and production jar ,
19
20
*Development*
21
# Right click on the pom.xml, Run As --> Maven clean. 
22
# Right click on the pom.xml, Run As --> Maven package.
23
24
*Production*
25
# Right click on the pom.xml, Run As --> Maven clean.
26
# Right click on the pom.xml, Run As --> Run Configuration...
27
# Right click on Maven Build --> New
28
# Name : cp-client
29
  Base Directory : ${workspace_loc:/cp-client}
30
  Goal : package
31
  Profiles : prod
32
  Click on Run Button.