How to Build WSO2 Carbon 4.2.0 Tutorial for a newbie
How to Build WSO2 Carbon 4.2.0 Tutorial for a newbie
Join the DZone community and get the full member experience.
Join For FreeDownload Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.
1. Linux (Mine is Ubuntu 13.04)
2. Oracle Java 1.6 (1.7 is still not supported)
3. Apache Maven 3.0.5 ( see post for installing apache maven)
4. Subversion
I assume that you have installed and configured all of the above and ready to build carbon. :)
svn checkout http://svn.wso2.org/repos/wso2/carbon/orbit/trunk/
svn checkout http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/Before building from source there are few settings to be applied. open the .bashrc file using the following command.
gedit /home/HOME_DIR/.bashrcand append the following lines.
MAVEN_OPTS=" -Xms512m -Xmx1024m -XX:MaxPermSize=1024m" export MAVEN_OPTSnow build the following order; orbit --> kernel and finally platform.
Move into the orbit folder and you'll see pom.xml file. Enter the following command to build the orbit.
mvn clean install -Dmaven.test.skip=trueNote that to complete the build you need to connect to the internet. Now that's it. There may be some build failures. Try updating the subversion and rebiuld.
In the next tutorial I'm going to explain how to debug the carbon kernel. See you until then.
Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat.
Published at DZone with permission of Aruna Karunarathna , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
{{ parent.title || parent.header.title}}
{{ parent.tldr }}
{{ parent.linkDescription }}
{{ parent.urlSource.name }}