Building WSO2 Carbon from source is a simple task. If you follow the steps correctly you will get it. In the recent past some people have faced problems when building Carbon. Here in this post, I will give you steps to properly build Carbon from source.
Pre-requirements.
- Jdk 1.5 or higher,
- Apache Maven 2.1.0 or higher
- Apache Ant 1.7.1 or higher.
> mvn clean install -Dmaven.test.skip=ture
Step 01
Check out Apache Axis2 branch and build
> svn co http://wso2.org/repos/wso2/branches/carbon-platform/2.0/axis2
Before building Axis2 you need to build axis2-aar-maven-plugin and axis2-mar-maven-plugin in the modules/tools folder.
Step o2
Check out Apache Axis2 Transports and build
> svn co http://wso2.org/repos/wso2/branches/carbon-platform/2.0/transports
Step 03
Check out Apache WSS4J and build
> svn co http://wso2.org/repos/wso2/branches/carbon-platform/2.0/axis2
Step 03
Check out Equinox P2 and build
> svn co http://wso2.org/repos/wso2/branches/carbon-platform/2.0/p2
WSO2 Carbon uses OSGi as its underlying modularization technology. Therefore Carbon uses a collection third party bundles. Most of these third party bundle are wrapped by WSO2, since they are not yet available as bundles. Carbon-orbit project contains all these third party bundles.
Step05
Check out and build Carbon-orbit
> svn co http://wso2.org/repos/wso2/trunk/carbon-orbit
Stepo6
Check out and build Carbon
> svn co http://wso2.org/repos/wso2/trunk/carbon
If you follow above steps correctly, you should be able to build Carbon without much problems. Please let us know if you find any issues.
2 comments:
Thanks. worked will minor issues. How about data services or other wso2 carbon based components?
Your blog is very nice... i like your blog ....
Post a Comment