<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Engwar &#187; carbon</title>
	<atom:link href="http://engwar.com/tags/carbon/feed" rel="self" type="application/rss+xml" />
	<link>http://engwar.com</link>
	<description>Chintana Wilamuna&#039;s weblog</description>
	<lastBuildDate>Wed, 30 Nov 2011 13:28:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Building WSO2 Carbon from source</title>
		<link>http://engwar.com/post/110?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=building-wso2-carbon-from-source</link>
		<comments>http://engwar.com/post/110#comments</comments>
		<pubDate>Fri, 27 Mar 2009 12:06:21 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[carbon]]></category>
		<category><![CDATA[wso2]]></category>

		<guid isPermaLink="false">http://engwar.com/?p=110</guid>
		<description><![CDATA[Recently I built WSO2 Carbon. Here&#8217;s how I did it with some help from the carbon mailing list Do stick to the same build order. I did this on an Ubuntu machine. If you happen to see maven complaining about &#8230; <a href="http://engwar.com/post/110">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I built WSO2 Carbon. Here&#8217;s how I did it with some help from the <a href="http://wso2.org/mail#carbon">carbon mailing list</a> <img src='http://engwar.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Do stick to the same build order. I did this on an Ubuntu machine. If you happen to see maven complaining about running out of memory just do,</p>
<pre>
$ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"
</pre>
<p>First step, build <a href="http://ws.apache.org/axis2">Axis2</a> 1.4.1 from the custom branch</p>
<pre>
$ svn co http://svn.wso2.org/repos/wso2/branches/axis2/v1.4.1 axis2-1.4.1-branch
</pre>
<p>Next find the revision of the branch,</p>
<pre>
$ cd axis2-1.4.1-branch
$ svn info
Path: .
URL: http://svn.wso2.org/repos/wso2/branches/axis2/v1.4.1
Repository Root: http://svn.wso2.org/repos/wso2
Repository UUID: a5903396-d722-0410-b921-86c7d4935375
Revision: 32422
Node Kind: directory
Schedule: normal
Last Changed Author: amila
Last Changed Rev: 30518
Last Changed Date: 2009-02-06 10:39:03 +0530 (Fri, 06 Feb 2009)
</pre>
<p>Revision 30518 have an inconsistency in modules/addressing/pom.xml where the addressing artefact ID is wrong.  You have to <a href="http://engwar.com/wp-content/uploads/2009/03/addressing-pom.patch">get this patch</a> and apply it. Download, save it somewhere and do the following to apply the patch.</p>
<pre>
$ cd modules/addressing
$ patch -p0 < /home/chintana/addressing-pom.patch
$ cd ../..
</pre>
<p>Now you're at the Axis2 root level. Before building at the root level you have to build two plugins,</p>
<pre>
$ cd modules/tool/axis2-mar-maven-plugin
$ mvn clean install
$ cd ../axis2-aar-maven-plugin/
$ mvn clean install
$ cd ../../..
</pre>
<p>Back at the root level, now you can build the project,</p>
<pre>
$ mvn clean install -Dmaven.test.skip=true
</pre>
<p>Next step is to build Rampart from the custom branch,</p>
<pre>
$ svn co http://svn.wso2.org/repos/wso2/branches/rampart/1.4.wso2 rampart-custom
$ cd rampart-custom
$ mvn clean install -Dmaven.test.skip=true
</pre>
<p>Build Sandesha from the custom branch,</p>
<pre>
$ svn co http://svn.wso2.org/repos/wso2/branches/sandesha2/1.4.wso2 sandesha-custom
$ cd sandesha-custom
$ mvn clean install -Dmaven.test.skip=true
</pre>
<p>Next up is Savan, again from a custom branch,</p>
<pre>
$ svn co https://svn.wso2.org/repos/wso2/branches/savan/1.0wso2v1 savan-custom
$ cd savan-custom
$ mvn clean install -Dmaven.test.skip=true
</pre>
<p>Now all the prerequisites are complete for the Carbon platform. Let's go ahead and build Carbon. It has 3 parts. carbon-orbit, carbon and carbon-components (for carbon I had to change the addressing.version property in root level pom.xml to 1.4.1),</p>
<pre>
$ svn co http://svn.wso2.org/repos/wso2/trunk/carbon-orbit
$ cd carbon-orbit
$ mvn clean install -Dmaven.test.skip=true
$ cd ..
$ svn co http://svn.wso2.org/repos/wso2/trunk/carbon
$ cd carbon
$ mvn clean install -Dmaven.test.skip=true
$ cd ..
$ svn co http://svn.wso2.org/repos/wso2/trunk/carbon-components
$ mvn clean install -Dmaven.test.skip=true
</pre>
<p>All righty! After this you can go ahead and build other products which are designed on top of Carbon such as <a href="http://wso2.org/wsas">WSO2 WSAS</a>, <a href="http://wso2.org/esb">WSO2 ESB</a> etc...</p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/110/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

