Deployment Guide » History » Version 3
chin-yeh, 02/28/2012 06:00 PM
1 | 1 | chin-yeh | {{toc}} |
---|---|---|---|
2 | |||
3 | h1. Deployment Guide |
||
4 | |||
5 | 3 | chin-yeh | This guide describe how to build and deploy _UPS_ related modules. |
6 | |||
7 | h2. Steps |
||
8 | |||
9 | _Build deployment files:_ |
||
10 | # checkout [[wiki#SCM|the project]] via <code>Eclipse</code> |
||
11 | # rebuild the project _(Project -> Clean)_ and make sure there is no compile error |
||
12 | # locate the *build.xml* and execute the following <code>Ant</code> goal: |
||
13 | <pre> |
||
14 | archive |
||
15 | </pre> |
||
16 | # if no error, the execution will create a binary file called, *ups_client.jar* |
||
17 | |||
18 | _[2] Deployment:_ |
||
19 | # upload the *ups_client.jar* to: |
||
20 | ** web app: |
||
21 | <pre>WEB-INF/lib</pre> |
||
22 | ** standalone java program: |
||
23 | <pre>your program's library folder</pre> |
||
24 | # upload *all of the jar files* in <code>lib</code> folder to: |
||
25 | ** web app: |
||
26 | <pre>WEB-INF/lib</pre> |
||
27 | ** standalone java program: |
||
28 | <pre>your program's library folder</pre> |
||
29 | ** _if there's duplicate library, use the newer version_ |
||
30 | # done |