Project

General

Profile

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.:

http://192.168.2.13:50000/svn/qconnector/trunk/build-ecosway-adaptor

Before continue, please prepare the following information:

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

Steps:
  1. checkout the project from SVN
    $ svn co http://192.168.2.13:50000/svn/qconnector/tags/build-ecosway-adaptor_{component_version}/build-ecosway-adaptor
    
  2. cd to the checkout-ed folder, build-ecosway-adaptor
    $ cd build-ecosway-adaptor
    
  3. execute the maven command to compile and build the module:
    1. if deploy to jboss 4.2.x
      $ mvn clean package
      
    2. if deploy to jboss 4.0.x
      $ mvn -P jboss-4.0 clean package 
      
    3. Note: You could skip the unit tests but strongly not recommended:
      1. if deploy to jboss 4.2.x
        $ mvn -Dmaven.test.skip=true clean package
        
      2. if deploy to jboss 4.0.x
        $ mvn -Dmaven.test.skip=true -P jboss-4.0 clean package
        
  4. if no error, the binary file of the module can be found in target directory
  5. cd to the directory, target/build-ecosway-adaptor/WEB-INF/lib
  6. 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
  7. 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
  8. restart the jboss
  9. done

Updated by chin-yeh about 14 years ago · 2 revisions