Confused about how to compile source

dajevu's picture
Hi, I'm really confused how to go about getting everything compile for Registry. What I did was: 1) svn co https://wso2.org/repos/wso2/trunk/registry/ 2) mvn install clean When I do that, I receive the following error: Missing: ---------- 1) org.wso2.carbon:org.wso2.carbon.ui:jar:1.6.0.SNAPSHOT I then switched gears and, in an attempt compile and build the core carbon stuff, did: 1) svn co https://wso2.org/repos/wso2/trunk/carbon/ But when I attempt to mvn clean install on that, I receive: Missing: ---------- 1) org.apache.axis2.wso2:axis2:jar:1.5.0.wso2v1 So, I'm sorta stuck right now. Thanks! jeff
dajevu's picture

Very frustrating...

I'm still trying to get everything to compile, but keep running into a multitude of errors? It's a really pity that the source can't be compiled, as it really limits the customizations that can be performed on the solution (which really runs contrary to the spirit of open source). I can't even get the samples to compile correctly, as several of the source files don't appear to exist in the main SVN trunk (such as org.wso2.carbon.registry.samples.ui.custom.topics.RegistryTopicAdminServiceStub.java).
krishantha's picture

Hi All, One of my colleague

Hi All, One of my colleague has written a blog entry for building carbon from source. [1]. Note that now registry is based on osgi carbon platform. We have moved registry into wso2 governance registry now. So you need to build the governance trunk[2] finally. Hope this help you. Thanks, Krishantha [1]http://ddweerasiri.blogspot.com/2009/01/lets-build-wso2-carbon-from-source-code.html [2]https://wso2.org/repos/wso2/trunk/solutions/governance
fr.'s picture

Confused about source

Hi, @Krishantha i have done what you say on your post and successful execute "mvn clean install" at the carbon source [1] and the governance trunk [2]. Now i want to use the registry with a tomcat but i don't find the the compiled file (i think because i am new to maven and all this) and when i execute "mvn deploy" in the governance file, i get a insert password message. So could you please tell me, where is the registry finally compiled and deploy, so i can use it with the tomcat. And one more question, where is the source from the plug ins that are found under carbon_home\webapps\ROOT\WEB-INF\plugins, because i couldn't find them in the governance thrunk nor in the registry source file. Regards Rodo
senakafdo's picture

Compiling Source

Hi all, Recently this question was asked on the mailing list, and a detailed explanation on how to build the source is found at [1]. After you've successfully built the governance trunk, you should see two .zip files in the {governance-trunk}/modules/distribution/target directory. A guide to deploy WSO2 ESB on Tomcat is found at [2], and WSO2 Governance Registry requires a similar process. Please do the following changes to Step 5 (I have assumed you will use the same context - esb, as in Step 4. If you opt to use some other context, please do so in item 3 below): 1. the two ports are 9443 (instead of 8243) and 9763 (instead of 8280). 2. edit the ports in both axis2.xml and transports.xml in CARBON_HOME\conf. 3. change the context path in carbon.xml in CARBON_HOME\conf from "/" to "/esb" (you can use some other context instead of esb - such as greg) 4. jdbc:h2:database/WSO2CARBON_DB should be used in place of jdbc:derby:database/WSO2CARBON_DB;create=true 5. you don't have to worry about the synapse.xml [1] http://markmail.org/thread/pnxw44cbm3y7xo3q [2] http://evanthika.blogspot.com/2009/02/deploying-wso2-esb-20-on-apache-tomcat.html HTH, Thanks, Senaka
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)