Deploy ws-status » History » Version 2
chin-yeh, 10/29/2010 05:16 PM
1 | 1 | chin-yeh | h1. Deploy ws-status |
---|---|---|---|
2 | 2 | chin-yeh | |
3 | See also [[Build components from sources]] |
||
4 | |||
5 | Before continue, please prepare the following information: |
||
6 | * module or component name, e.g. _ecwyadaptor_ |
||
7 | * module or component version, e.g. _1.0-SNAPSHOT_ |
||
8 | * the SVN URL, e.g. http://192.168.2.13:50000/svn/qconnector/tags/{module_name}_{module_version}/{module_name} |
||
9 | |||
10 | *Component name:* ws-status |
||
11 | *Component version:* x.x.x-x (see [[Documentation#ModulesComponents|Documentation]] to get the latest released version) |
||
12 | *SVN URL:* http://192.168.2.13:50000/svn/qconnector/tags/ws-status_{component_version}/ws-status |
||
13 | |||
14 | *Steps:* |
||
15 | # checkout the project from SVN |
||
16 | <pre> |
||
17 | http://192.168.2.13:50000/svn/qconnector/tags/ws-status_{component_version}/ws-status |
||
18 | </pre> |
||
19 | # <code>cd</code> to the checkout-ed folder, ws-status |
||
20 | <pre> |
||
21 | cd ws-status |
||
22 | </pre> |
||
23 | # execute the maven command to compile and build the module: |
||
24 | ## if deploy to *jboss 4.2.x* |
||
25 | <pre> |
||
26 | $ mvn clean package |
||
27 | </pre> |
||
28 | ## if deploy to *jboss 4.0.x* |
||
29 | <pre> |
||
30 | $ mvn -P jboss-4.0 clean package |
||
31 | </pre> |
||
32 | ## *Note:* You could skip the unit tests but *strongly* not recommended: |
||
33 | ### if deploy to *jboss 4.2.x* |
||
34 | <pre> |
||
35 | $ mvn -Dmaven.test.skip=true clean package |
||
36 | </pre> |
||
37 | ### if deploy to *jboss 4.0.x* |
||
38 | <pre> |
||
39 | $ mvn -Dmaven.test.skip=true -P jboss-4.0 clean package |
||
40 | </pre> |
||
41 | # if no error, the binary file of the module can be found in *target* directory |
||
42 | # rename the deployment(packaged) file to *ws-status.war* |
||
43 | # upload the deployment file to the target server |
||
44 | <pre> |
||
45 | ../jboss-x.x.x/server/{profile name}/deploy |
||
46 | </pre> |
||
47 | # restart the jboss |
||
48 | # done |