Actions
Build components from sources » History » Revision 2
« Previous |
Revision 2/4
(diff)
| Next »
chin-yeh, 10/28/2010 12:26 PM
Build components from sources¶
This section describes how to compile and build component from source files.
Most of the projects are built and maintained using Maven and versioning using SVN. Therefore, you should be familiar with the tools below:- Maven http://maven.apache.org/
- SVN http://subversion.apache.org/
- *nix shell commands
- 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}
- module name: soap-adaptor
- module version: 0.5.2-SNAPSHOT
- SVN URL: http://192.168.2.13:50000/svn/qconnector/tags/soap-adaptor_0_5_2_SNAPSHOT/soap-adaptor
- dot(.) is not allowed in tag name so replace the dot with underscore(_)
- checkout the project from SVN
$ svn co http://192.168.2.13:50000/svn/qconnector/tags/soap-adaptor_0_5_2_SNAPSHOT/soap-adaptor
cd
to the checkout-ed folder,soap-adaptor
$ cd soap-adaptor
- execute the maven command to compile and build the module:
$ mvn clean package
- You could skip the unit tests but strongly not recommended:
$ mvn -Dmaven.test.skip=true clean package
- You could skip the unit tests but strongly not recommended:
- if no error, the binary file of the module can be found in target/{module name}-{module version}.jar, e.g. soapadaptor-0.5.2-SNAPSHOT.jar
- done
Updated by chin-yeh about 14 years ago · 2 revisions