Actions
Deploy ecosway-adaptor » History » Revision 2
« Previous |
Revision 2/4
(diff)
| Next »
chin-yeh, 10/29/2010 04:02 PM
Deploy ecosway-adaptor¶
See also Build components from sources
We will use the project to get the list of libraries needed by the ecosway-adaptor.:
Before continue, please prepare the following information:http://192.168.2.13:50000/svn/qconnector/trunk/build-ecosway-adaptor
- module or component name, e.g. ecwyadaptor
- module or component version, e.g. 1.0-SNAPSHOT
- the SVN URL, e.g. http://192.168.2.13:50000/svn/qconnector/tags/{module_name}_{module_version}/{module_name}
Component name: build-ecosway-adaptor
Component version: x.x.x-SNAPSHOT (see Documentation to get the latest released version)
SVN URL: http://192.168.2.13:50000/svn/qconnector/tags/build-ecosway-adaptor_{component_version}/build-ecosway-adaptor
- checkout the project from SVN
$ svn co http://192.168.2.13:50000/svn/qconnector/tags/build-ecosway-adaptor_{component_version}/build-ecosway-adaptor
cd
to the checkout-ed folder, build-ecosway-adaptor$ cd build-ecosway-adaptor
- execute the maven command to compile and build the module:
- if deploy to jboss 4.2.x
$ mvn clean package
- if deploy to jboss 4.0.x
$ mvn -P jboss-4.0 clean package
- Note: You could skip the unit tests but strongly not recommended:
- if deploy to jboss 4.2.x
$ mvn -Dmaven.test.skip=true clean package
- if deploy to jboss 4.0.x
$ mvn -Dmaven.test.skip=true -P jboss-4.0 clean package
- if deploy to jboss 4.2.x
- if deploy to jboss 4.2.x
- if no error, the binary file of the module can be found in target directory
cd
to the directory, target/build-ecosway-adaptor/WEB-INF/lib- rename the following files:
- from ecosway-adaptor-x.x.jar to ecosway-adaptor.jar
- from soapadaptor-x.x.jar to soapadaptor.jar
- from xml-mapper-x.x.jar to xml-mapper.jar
- upload all of the files in the directory, target/build-ecosway-adaptor/WEB-INF/lib to the target server, e.g usstore/WEB-INF/lib
- restart the jboss
- done
Updated by chin-yeh about 14 years ago · 2 revisions