Project

General

Profile

Deploy ecosway-adaptor » History » Version 4

chin-yeh, 11/25/2010 11:22 AM

1 1 chin-yeh
h1. Deploy ecosway-adaptor
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 1 chin-yeh
* 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 3 chin-yeh
*Component name:* ecosway-adaptor
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/ecosway-adaptor_{component_version}/ecosway-adaptor
13 1 chin-yeh
14
*Steps:*
15 2 chin-yeh
# checkout the project from SVN
16
<pre>
17 4 chin-yeh
$ svn co http://192.168.2.13:50000/svn/qconnector/tags/ecosway-adaptor_{component_version}/ecosway-adaptor
18 2 chin-yeh
</pre>
19 3 chin-yeh
# <code>cd</code> to the checkout-ed folder, *ecosway-adaptor*
20 2 chin-yeh
<pre>
21 3 chin-yeh
$ cd ecosway-adaptor
22 2 chin-yeh
</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 1 chin-yeh
### if deploy to *jboss 4.2.x*
34
<pre>
35
$ mvn -Dmaven.test.skip=true clean package
36 2 chin-yeh
</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 3 chin-yeh
# upload the following files to target server, e.g. e.g _usstore/WEB-INF/lib_:
43
** *ecosway-adaptor.jar*
44
** all of the files in the folder *dist*
45 2 chin-yeh
# restart the jboss
46
# done