tag:blogger.com,1999:blog-385826292024-03-14T00:20:43.011+05:30Art of TechAnonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.comBlogger72125tag:blogger.com,1999:blog-38582629.post-47490967790744950582018-07-06T09:17:00.002+05:302018-07-06T09:17:23.684+05:30Moved to MediumA late announcement, a little more than 2 years, I moved to Medium. I won't be making any new posts here in this blog. Please refer/follow <a href="https://medium.com/@callkalpa">https://medium.com/@callkalpa</a> for the latest articles.Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-41816500600084268402016-05-10T22:31:00.002+05:302016-05-10T22:31:54.442+05:30WSO2 Application Server 6.0.0-M2 Released !Welcome to WSO2 Application Server 6.0.0, the successor of WSO2 Carbon
based Application Server. WSO2 Application Server 6.0.0 is a complete
revamp and is based on vanilla Apache Tomcat. WSO2 provides a number of
features by means of extensions to Tomcat to add/enhance the
functionality. It provides first class support for generic web
applications and JAX-RS/JAX-WS web applications. The performance of the
server and individual application can be monitored by integrating WSO2
Application Server with WSO2 Data Analytics Server. WSO2 Application
Server is an open source project and it is available under the <a class="markup--anchor markup--p-anchor" data-href="http://www.apache.org/licenses/LICENSE-2.0.html" href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="nofollow">Apache Software License (v2.0)</a>.<br />
<br />
Read more at <a href="https://medium.com/@callkalpa/wso2-application-server-6-0-0-m2-released-97cdc4da1987#.udebn5roi" target="_blank">https://medium.com/@callkalpa/wso2-application-server-6-0-0-m2-released-97cdc4da1987#.udebn5roi </a>Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-45454677869761541982016-04-06T14:15:00.000+05:302016-04-06T14:15:27.101+05:30WSO2 Application Server 6.0.0-M1 Released<div dir="ltr">
<span style="font-family: inherit;">Welcome to WSO2 Application Server, the successor of WSO2 Carbon based Application Server. WSO2 Application Server
6.0.0 is a complete revamp and is based on vanilla Apache Tomcat. WSO2 provides a number of features by means of extensions
to Tomcat to add/enhance the functionality. It provides first class support for generic web applications and
JAX-RS/JAX-WS web applications. The performance of the server and individual application can be monitored b</span>y
integrating WSO2 Application Server with WSO2 Data Analytics Server.
WSO2 Application Server is an open source project and it is available under the
<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">
Apache Software License (v2.0)
</a>
.<br />
<br />
Download WSO2 Application Server 6.0.0-M1 from <a href="https://github.com/wso2/product-as/releases/download/v6.0.0-m1/wso2as-6.0.0-m1.zip" target="_blank">here</a>. <br />
<h2>
Key Features</h2>
<ul>
<li>HTTP Statistics Monitoring</li>
<li>Webapp Classloading Runtimes</li>
</ul>
<h2>
Fixed Issues</h2>
<ul>
<li>
<a href="https://wso2.org/jira/browse/WSAS-2202?filter=13011" target="_blank">
https://wso2.org/jira/browse/<wbr></wbr>WSAS-2202?filter=13011
</a>
</li>
</ul>
<h2>
Known Issues</h2>
<ul>
<li>
<a href="https://wso2.org/jira/browse/WSAS-2212?filter=13012" target="_blank">
https://wso2.org/jira/browse/<wbr></wbr>WSAS-2212?filter=13012
</a>
</li>
</ul>
<h2>
Reporting Issues</h2>
Issues, documentation errors and feature requests regarding WSO2 Application Server can be reported through the public
issue tracking system.
<a href="https://wso2.org/jira/browse/WSAS" target="_blank">
https://wso2.org/jira/browse/<wbr></wbr>WSAS</a>.
<br />
<h2>
Contact us</h2>
WSO2 Application Server developers can be contacted via the
<a href="mailto:dev@wso2.org" target="_blank">Development</a>
and
<a href="mailto:architecture@wso2.org" target="_blank">Architecture</a>
mailing lists.
<br />
Alternatively, questions can also be raised in the stackoverflow forum :
<a href="http://stackoverflow.com/questions/tagged/wso2" target="_blank">http://stackoverflow.com/<wbr></wbr>questions/tagged/wso2</a>
<br /><br />Thank you for your interest in WSO2 Application Server.<br />
<strong>
<em><br />-The WSO2 Application Server Development Team -</em>
</strong></div>
Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-39113405691562732792015-12-29T10:34:00.001+05:302016-01-01T18:46:02.245+05:30FAD Singapore 2015 - Event Report<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHKIj3n_37dhvSbamVVnREMC3sUtoHOqPa6Jhrb1zc2G2076feaU761Cf2QskF-oyFkuX6uloFWmZsQ1l2hum5Xt2O-PWGGxHwD0O9U3c53NJx7en4hJ4r97nhqeBZSiPctz0H/s1600/Singapore+FAD+2015.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="428" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHKIj3n_37dhvSbamVVnREMC3sUtoHOqPa6Jhrb1zc2G2076feaU761Cf2QskF-oyFkuX6uloFWmZsQ1l2hum5Xt2O-PWGGxHwD0O9U3c53NJx7en4hJ4r97nhqeBZSiPctz0H/s640/Singapore+FAD+2015.jpg" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Photo Credit : Prima Yogi</td></tr>
</tbody></table>
<span id="goog_2078913759"></span><span id="goog_2078913760"></span><br />
<span id="goog_2078913759"><a href="https://fedoraproject.org/wiki/FAD_Singapore_2015" target="_blank">FAD Singapore 2015</a> was held on 5th and 6th of December in Singapore and I participated at the event. <a href="https://fedoraproject.org/wiki/Fedora_Activity_Day_-_FAD" target="_blank">FAD</a> (Fedora Activity Day) is supposed to be an event of one day or multiple days with the intention of working on a specific task(s) related to Fedora Project. So FAD Singapore 2015 was organized in order to discuss the way forward and the issues <a href="http://fedoracommunity.org/apac" target="_blank">APAC</a> region.<br /><br />The two day event was held in Red Hat Office in Singapore and we had participation from Singapore, Cambodia, Malaysia, Vietnam, India, China, Philippine, Myanmar, Indonesia and Sri Lanka. Special thank goes to Danishka (who couldn't participate at the event due to a personal matter), Harish and Troung for the superb event organization and for to the Fedora community in Singapore for the hospitality. I am glad that I met Heherson, my mentor, in person.<br /><br />One of the major points discussed was the way forward in the region in promoting Fedora for users and to increase the contributions back to the project. There we recognized that we do a less number of events as a region and we need to improve a lot. <br /><br />Next we moved on to discuss about organizing events, swags etc. We noticed that most of the ambassadors are not aware of the procedure (swag requesting, budget etc.) on how to organize an event. So those should be accessible and should be able to be easily found. Centralized media (Fedora DVDs) and swag production was discussed and PJP distributed the Fedora DVDs produced in India to be used in local events in each country. Another key point stressed is that it is important to follow up on users. We not only need to distribute the media but also need to follow up for feedback, issues etc. so that we can make sure the event or the media distributed served the purpose. Also the follow up is important in converting a Fedora user to a contributor. With the advancing hardware, since we are losing the DVD drive, Harish suggested the "give one get one program" where at an event we ask the participants to bring in their old thumb drive and in return we give them a one with Fedora. So there is a pool of Fedora thumb drives that we can share. This is a great idea that needs to be tested in field. Izhar brought up the idea to develop/use an event management application so that it is easier for all of us to track the progress of the event, where resources can be shared etc. One of the key concern was that wiki is good, but not for all purposes :-)<br /><br />Budget allocation for the region for the year 2016 was discussed where we first listed the events that we are planning to have in 2016. Then we all went through each one of them and commented/suggested how we can improve the event. Next we had a table round session where each participant expressed what and how they are doing in terms of promoting Fedora in their countries and the issues in doing so or the issues in the community itself. Most of the issues were already experienced by other communities also and had solutions.<br /><br />Overall, it is a fruitful two days at the FAD and we need to execute the actions items to be successful as a region in the years to come.</span><span id="goog_2078913760"></span>Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-10945493331296214342015-11-07T21:08:00.002+05:302015-11-07T21:14:30.990+05:30Introduction to Go for Java Programmers<span style="font-family: inherit;"><span style="font-size: small;">Introduction to Go for Java Programmers" is a tech talk I delivered recently at WSO2.</span></span><br />
<span style="font-family: inherit;"><span style="font-size: small;"><br /></span></span>
<span style="font-family: inherit;"><span style="font-size: small;">In this talk I briefly introduced Go (aka golang) and compared Go with Java in key aspects I thought are important. Slide deck used is embedded below. Source code of the demos alone with additional samples are here. </span></span><br />
<span style="font-family: inherit;"><span style="font-size: small;"><br /></span></span>
<span style="font-family: inherit;"><span style="font-size: small;">There are a number of resources to learn Go. If you are worried about from where to start, try A Tour of Go.</span></span><br />
<br />
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<iframe allowfullscreen="" frameborder="0" height="420" marginheight="0" marginwidth="0" scrolling="no" src="//www.slideshare.net/slideshow/embed_code/key/8JiwZOEzujTeBd" style="border-width: 1px; border: 1px solid #CCC; margin-bottom: 5px; max-width: 100%;" width="510"> </iframe> <br />
<div style="margin-bottom: 5px;">
<b> <a href="https://www.slideshare.net/callkalpa/introduction-to-go-for-java-programmers" target="_blank" title="Introduction to go for java programmers">Introduction to go for java programmers</a> </b> from <b><a href="https://www.slideshare.net/callkalpa" target="_blank">Kalpa Welivitigoda</a></b> </div>
</div>
Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-20762505744647368402015-10-29T13:16:00.003+05:302015-10-29T13:21:49.992+05:30WSO2 Carbon Kernel 5.0.0 - Alpha Released !<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;">
<br />
<span style="font-family: verdana, sans-serif;"><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">We are pleased to announce the alpha release of WSO2 Carbon Kernel 5.0.0. It is now available to download from</span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="color: black; font-size: 15.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"><a href="https://github.com/wso2/carbon-kernel/releases/download/v5.0.0-alpha/wso2carbon-kernel-5.0.0-alpha.zip" target="_blank">here</a></span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">. The source and tag location for this release are available</span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="color: black; font-size: 15.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"><a href="https://github.com/wso2/carbon-kernel/releases/tag/v5.0.0-alpha" target="_blank">here</a></span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">.</span></span></div>
<span style="font-family: verdana, sans-serif;"><br /></span>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">WSO2 Carbon Kernel 5.0.0 is the core of the next-generation WSO2 Carbon platform. We have completely rearchitected Carbon Kernel from the ground up with the latest technologies and patterns. Additionally, the Carbon Kernel is now a lightweight, general-purpose OSGi runtime specializing in hosting servers, providing key functionality for server developers. The result is a streamlined and even more powerful middleware platform than ever before.</span></span></div>
<span style="font-family: verdana, sans-serif;"><br /></span>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">The alpha release of the WSO2 Carbon Kernel 5.0.0 includes the following key features. </span></span><span style="color: black; font-family: verdana,sans-serif; font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;">For further details please see the </span><a href="https://docs.wso2.com/display/Carbon500/WSO2+Carbon+Documentation" style="font-family: verdana,sans-serif; font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;" target="_blank">documentation</a><span style="color: black; font-family: verdana,sans-serif; font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;">.</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: black; font-family: verdana,sans-serif; font-size: 15.3333px; font-weight: 700; line-height: 1.38; white-space: pre-wrap;"><br /></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: black; font-family: verdana,sans-serif; font-size: 15.3333px; font-weight: 700; line-height: 1.38; white-space: pre-wrap;">Key Features</span></div>
<ul>
<li><span style="color: black; font-family: verdana,sans-serif; font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;">Transport Management Framework</span></li>
<li><span style="color: black; font-family: verdana,sans-serif; font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;">Logging Framework with Log4j 2.0 as the Backend</span></li>
<li><span style="color: black; font-family: verdana,sans-serif; font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;">Carbon Startup Order Resolver</span></li>
<li><span style="color: black; font-family: verdana,sans-serif; font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;">Dropins Support for OSGi Ready Bundles</span></li>
<li><span style="color: black; font-family: verdana,sans-serif; font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;">Jar to Bundle Conversion Tool</span></li>
<li><span style="color: black; font-family: verdana,sans-serif; font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;">Pluggable Runtime Support
</span></li>
</ul>
<br />
<h3 dir="ltr" style="line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Fixed Issues</span></span></h3>
<h3 dir="ltr" style="line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt;">
<ul>
</ul>
</h3>
<ul>
<li><a href="https://wso2.org/jira/issues/?filter=12494" style="font-family: verdana,sans-serif; font-size: 15.3333px; font-weight: normal; line-height: 1.38; white-space: pre-wrap;" target="_blank">WSO2 Carbon Kernel 5.0.0 - Fixed Issues</a></li>
</ul>
<h3 dir="ltr" style="line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt;">
<ul>
</ul>
</h3>
<div>
<h3 dir="ltr" style="line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Known Issues</span></span></h3>
<h3 dir="ltr" style="line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt;">
<ul>
</ul>
</h3>
<ul>
<li><a href="https://wso2.org/jira/issues/?filter=12475" style="font-family: verdana,sans-serif; font-size: 15.3333px; font-weight: normal; line-height: 21.16px; white-space: pre-wrap;" target="_blank">WSO2 Carbon Kernel 5.0.0 - Known Issues</a></li>
</ul>
<h3 dir="ltr" style="line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt;">
<ul>
</ul>
</h3>
</div>
<h3 dir="ltr" style="line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">How To Contribute</span></span></h3>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: verdana, sans-serif;"><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">You can find more instructions on</span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">how to contribute</span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"> on our <a href="https://docs.wso2.com/display/Carbon500/Get+Involved" target="_blank">documentation</a> site.</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">If you have any suggestions or are interested in Carbon Kernel 5.0.0 discussions, you can join the <a href="mailto:dev@wso2.org" target="_blank">dev@wso2.org</a> or <a href="mailto:architecture@wso2.org" target="_blank">architecture@wso2.org</a> mailing lists.</span></span></div>
<h3 dir="ltr" style="line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Reporting Issues</span></span></h3>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: verdana, sans-serif;"><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">We encourage you to report issues, documentation errors regarding WSO2 Carbon Kernel 5.0.0 through the public</span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="color: black; font-size: 15.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"><a href="https://wso2.org/jira/browse/CARBON" target="_blank">issue tracking system</a></span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">.</span></span></div>
<span style="font-family: verdana, sans-serif;"></span><br />
<div>
<span style="font-family: verdana, sans-serif;"></span></div>
<span style="font-family: verdana, sans-serif;">
</span><span style="font-family: verdana, sans-serif;"><br /></span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Thanks,</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">WSO2 Carbon Team</span></span></div>
Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-84128937996431147912015-10-24T17:17:00.000+05:302015-10-24T17:17:54.319+05:30WSO2 Carbon Kernel 5.0.0 - Milestone 06 Released !<span></span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;">
<span style="font-family: verdana, sans-serif;"><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">We are pleased to announce that the sixth milestone release of Carbon Kernel 5.0.0 is now available to download from</span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="color: black; font-size: 15.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"><a href="http://svn.wso2.org/repos/wso2/people/aruna/v5.0.0-M6/wso2carbon-kernel-5.0.0-m6.zip" target="_blank">here</a></span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">. The Source and Tag Location for this release are available</span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="color: black; font-size: 15.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"><a href="https://github.com/wso2/carbon-kernel/releases/tag/v5.0.0-M6" target="_blank">here</a></span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">.</span></span></div>
<span style="font-family: verdana, sans-serif;"><br /></span><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Carbon Kernel 5.0.0 is the core of the next-generation WSO2 Carbon platform. We have completely rearchitected Carbon Kernel from the ground up with the latest technologies and patterns. Additionally, the Carbon Kernel is now a lightweight, general-purpose OSGi runtime specializing in hosting servers, providing key functionality for server developers. The result is a streamlined and even more powerful middleware platform than ever before.</span></span></div>
<span style="font-family: verdana, sans-serif;"><br /></span><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">This milestone release is a step forward towards building the OSGi-based server development framework. It includes the following new features.</span></span></div>
<span style="font-family: verdana, sans-serif;"><br /></span><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: black; font-size: 15.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">New Features </span></span></div>
<ul style="margin-bottom: 0pt; margin-top: 0pt;">
<li style="color: black; font-size: 12.6667px; list-style-type: disc; margin-left: 15px; vertical-align: baseline;"><div style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Upgrade to Eclipse Luna SR2 OSGi Framework.</span></span></div>
</li>
</ul>
<div>
<span style="color: black; font-family: verdana, sans-serif;"><span style="font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;"><br /></span></span></div>
<div>
<span style="color: black; font-family: verdana,sans-serif; font-size: 15.3333px; font-weight: bold; line-height: 21.16px; white-space: pre-wrap;">Improvements</span></div>
<ul style="margin-bottom: 0pt; margin-top: 0pt;">
<li style="color: black; font-size: 12.6667px; list-style-type: disc; margin-left: 15px; vertical-align: baseline;"><div style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: verdana,sans-serif; font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;">Carbon Feature Plugin 2.0.0-m1 integration.</span></div>
</li>
</ul>
<div>
<span style="color: black; font-family: verdana, sans-serif;"><span style="font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;"><br /></span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: black; font-size: 15.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Key Features</span></span></div>
<ul style="margin-bottom: 0pt; margin-top: 0pt;">
<li dir="ltr" style="color: black; font-size: 15.3333px; list-style-type: disc; margin-left: 15px; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Pluggable Runtime Framework</span></span></div>
</li>
<li dir="ltr" style="color: black; font-size: 15.3333px; list-style-type: disc; margin-left: 15px; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;"><span style="font-size: 15.3333px; line-height: 21.16px;">Java 8 Support</span></span></span></div>
</li>
</ul>
<ul style="margin-bottom: 0pt; margin-top: 0pt;">
<li dir="ltr" style="list-style-type: disc; margin-left: 15px; vertical-align: baseline;"><div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: verdana, sans-serif;"><span style="color: black;"><span style="font-size: 15.3333px; line-height: 21.16px; white-space: pre-wrap;">Centralized Logging Framework with Log4j 2.0 as the backend.</span></span></span></div>
</li>
<li dir="ltr" style="color: black; font-size: 15.3333px; list-style-type: disc; margin-left: 15px; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Carbon Launcher Framework</span></span></div>
</li>
<li dir="ltr" style="color: black; font-size: 15.3333px; list-style-type: disc; margin-left: 15px; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Transport Management Framework</span></span></div>
</li>
<li dir="ltr" style="color: black; font-size: 15.3333px; list-style-type: disc; margin-left: 15px; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 15.3333px; line-height: 21.16px;"><span style="font-family: verdana, sans-serif;">Pax Exam OSGi Test Framework Support</span></span></span></div>
</li>
</ul>
<h3 dir="ltr" style="line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Fixed Issues</span></span></h3>
<ul style="margin-bottom: 0pt; margin-top: 0pt;">
<li dir="ltr" style="color: black; font-size: 15.3333px; list-style-type: disc; margin-left: 15px; vertical-align: baseline;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: black; font-size: 15.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"><a href="https://wso2.org/jira/issues/?filter=12473" style="text-decoration: none;" target="_blank"><span style="font-family: verdana, sans-serif;">WSO2 Carbon Kernel 5.0.0 - Fixed Issues</span></a></span></div>
</li>
</ul>
<h3 dir="ltr" style="line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">How To Contribute</span></span></h3>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: verdana, sans-serif;"><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">You can find more instructions on</span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">how to contribute</span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"> on our documentation site.</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">If you have any suggestions or are interested in Carbon Kernel 5.0.0 discussions, you can join the <a href="mailto:dev@wso2.org" target="_blank">dev@wso2.org</a> or <a href="mailto:architecture@wso2.org" target="_blank">architecture@wso2.org</a> mailing lists.</span></span></div>
<h3 dir="ltr" style="line-height: 1.38; margin-bottom: 4pt; margin-top: 14pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Reporting Issues</span></span></h3>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: verdana, sans-serif;"><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">Carbon Kernel development is still in its early stages, and we encourage you to report issues, documentation errors, and feature requests regarding this milestone release of WSO2 Carbon Kernel 5.0.0 through the public</span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="color: black; font-size: 15.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"><a href="https://wso2.org/jira/browse/CARBON" target="_blank">issue tracking system</a></span><span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;">.</span></span></div>
<span style="font-family: verdana, sans-serif;"><br /></span><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">Thanks,</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: black; font-size: 15.3333px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: verdana, sans-serif;">WSO2 Carbon Team</span></span></div>
Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-8964482942600827452015-09-18T00:14:00.000+05:302015-09-18T00:14:46.899+05:30WSO2 Application Server (WSO2 AS) 5.3.0 Released!The WSO2 Application Server is an enterprise-ready cloud-enabled
application server, powered by Apache Tomcat, and Apache TomEE, it
integrates Apache CXF framework. It provides first class support for
standard Web applications, JAX-WS/JAX-RS applications and Jaggery
scripting applications. Coupled with features of
<a href="http://wso2.com/products/carbon/" target="_blank">
WSO2 Carbon</a>, users can now manage their applications including JAX-WS and
JAX-RS to web applications in a unified manner within the management
console itself.<br />
<br />
WSO2 Application Server also provides a comprehensive Web services server
platform using CXF as its Web services runtime, and provides many value
additions on top of this runtime. It can expose services using both SOAP
and REST models and supports a comprehensive set of WS-* specifications
such as WS-Security, WS-Trust, WS-SecureConversation, WS-Addressing,
WS-SecurityPolicy, etc. WSO2 Application Server also has inbuilt support
for Jaggery. WSO2 Application Server can be installed on on-premise or
any public/private cloud infrastructure and provide unified management
console and lifecycle management features which are independent from
underlying deployment option.<br />
<br />
An open source product, WSO2 Application Server is available under the
<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">
Apache Software License (v2.0)
</a>
. This includes all of the extra integration and management
functionality as well.<br />
<br />
For more information on WSO2 Application Server and to download the product please visit <a dir="ltr" href="http://wso2.com/products/application-server/" rel="nofollow noreferrer" target="_blank">http://wso2.com/<wbr></wbr>products/application-server</a>. <br />
<br />
<br />
<b>New Features</b><br />
<br />
<ul>
<li>JavaEE 6 Web Profile support via TomEE 1.7.2 integration</li>
<li>WebSocket 1.1 API Support as defined by the JSR-356 specification</li>
<li>Tomcat Virtual Hosts support</li>
<li>SAML2 Single-Sign-On support for web applications</li>
<li>WS-Discovery support for CXF JAX-WS and JAX-RS services</li>
<li>OSGi ServiceLoader Mediator specification support via SPI-Fly</li>
</ul>
<br />
<b>Key Features</b><br />
<br />
<ul>
<li>Support for Servlet 3, JSP 2.2, EL 2.2, JSTL 1.2 specifications.</li>
<li>Full JAX-WS 2.2 and JAX-RS 2.0 Specification support</li>
<li>Integration of Jaggery - server side scripting framework</li>
<li>Unified Application listing and management UI for WebApps, JAX-WS/RS, Jaggery</li>
<li>Multi Tenant support for standalone deployment</li>
<li>100% Apache Tomcat compliance runtime</li>
<li>Lazy loading for web applications and services</li>
<li>AppServer tooling - AppServer related artifacts can be easily generated using WSO2
Developer Studio
</li>
<li>Clustering support for High Availability and High Scalability</li>
<li>Full support for WS-Security, WS-Trust, WS-Policy and WS-SecureConversation
</li>
<li>JMX and Web interface based monitoring and management</li>
<li>WS-* and REST support</li>
<li>GUI, command line, and IDE based tools for Web service development</li>
<li>Equinox P2 based provisioning support</li>
<li>WSDL2Java/Java2WSDL/WSDL 1.1 and try it (invoke any remote Web service)<br />
</li>
</ul>
<br />
<b>XML & WS-* Standards Support</b><br />
<br />
<ul>
<li>SOAP 1.1/1.2</li>
<li>WSDL 1.1</li>
<li>WSDL 2.0</li>
<li>MTOM, XOP & SOAP with Attachments</li>
<li>WS-Addressing</li>
<li>WS-Security 1.0/1.1</li>
<li>WS-Trust</li>
<li>WS-SecureConversation</li>
<li>WS-SecurityPolicy</li>
<li>WS-Policy</li>
<li>WS-PolicyAttachment</li>
<li>WS-MetadataExchange</li>
</ul>
<br />
<b>JavaEE Web application Standards Support</b><br />
<br />
<ul>
<li>Java API for RESTful Web Services (JAX-RS) 1.1</li>
<li>Java API for XML-Based Web Services (JAX-WS) 2.2</li>
<li>Java Servlet 3.0</li>
<li>JavaServer Pages (JSP) 2.2</li>
<li>Expression Language (EL) 2.2</li>
<li>Standard Tag Library for JavaServer Pages (JSTL) 1.2</li>
<li>Java Server Faces (JSF) 2.0</li>
<li>Java Persistence API (JPA) 2.0</li>
<li>Java Transaction API (JTA) 1.1</li>
<li>Contexts and Dependency Injection for Java (CDI) 1.0</li>
<li>Enterprise JavaBeans (EJB) Lite 3.1</li>
<li>Bean Validation 1.0</li>
<li>Java Architecture for XML Binding (JAXB) 2.2</li>
<li>Common Annotations for the Java Platform (JSR-250) 1.1</li>
</ul>
<br />
<b>Open Source components included in WSO2 Application Server</b><br />
<br />
<ul>
<li>Embedded Apache Tomcat</li>
<li>Apache TomEE</li>
<li>Apache CXF: Supporting JAX-WS and JAX-RS</li>
<li>Apache Axis2 (SOAP)</li>
<li>Hazelcast</li>
<li>Apache Axiom (High performance XML Object Model)</li>
<li>Apache Rampart/Apache WSS4J (WS-Security)</li>
<li>Apache Rahas (WS-SecureConversation)</li>
<li>WS-Addressing implementation in Axis2</li>
<li>Apache Neethi (WS-Policy)</li>
<li>WS-SecurityPolicy implementation in Axis2</li>
<li>Apache XML Schema</li>
<li>Apache Tribes (Group Communications Framework)</li>
</ul>
<br />
NOTE:
Data services hosting support has been removed from WSO2 Application
Server 5.3.0. Users can use the WSO2 Data Services Server product to
deploy data services.<b> </b><br />
<br />
<b>Issues Fixed for this release</b><br />
<ul>
<li>
<a href="https://wso2.org/jira/issues/?filter=12251" target="_blank">
https://wso2.org/jira/issues/?<wbr></wbr>filter=12251
</a>
</li>
</ul>
<b>Known Issues</b><br />
<ul>
<li>
<a href="https://wso2.org/jira/issues/?filter=12250" target="_blank">
https://wso2.org/jira/issues/?<wbr></wbr>filter=12250
</a>
</li>
</ul>
<br />
<b></b><br />
<b>How you can contribute</b><br />
<ul>
<li>Source Code Repository : <a href="https://github.com/wso2/" target="_blank">https://github.com/wso2/</a></li>
<li>Mailing Lists
<ul>
<li>Join the mailing list
<ul>
<li>Developer List : <a href="mailto:dev@wso2.org" target="_blank">dev@wso2.org</a> | <a href="mailto:dev-request@wso2.org?subject=subscribe" target="_blank">Subscribe</a></li>
<li>Stackoverflow : <a href="http://stackoverflow.com/questions/tagged/wso2" target="_blank">StackOverflow.com</a></li>
</ul>
</li>
</ul>
</li>
</ul>
<br /><b>Reporting Issues</b><br />
<br />
Issues can be reported using the public JIRA available at <a href="https://wso2.org/jira/browse/WSAS" target="_blank">https://wso2.org/jira/browse/<wbr></wbr>WSAS</a>.
<br />
Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-588024390016653552015-07-12T12:09:00.001+05:302015-07-12T12:27:52.251+05:30How to move a XML element to be the first child of the parent elementI was using <a href="https://docs.wso2.com/display/ESB481/Enrich+Mediator" target="_blank">enrich mediator</a> in <a href="http://wso2.com/products/enterprise-service-bus/" target="_blank">WSO2 ESB</a> to add a child to a parent element in the payload. The new element got added as the last element of the children where I wanted it as the first. I tried action="sibling" but as per the <a href="https://github.com/wso2/wso2-synapse/blob/Apache-Synapse-2.1.3-wso2v5/modules/core/src/main/java/org/apache/synapse/mediators/elementary/Target.java#L176" target="_blank">synapse code</a> it also adds the element after the target element [1]. So I decided to make use of XSLT and following is a sample stylesheet along with the input and expected messages.<br />
<br />
<b>Input XML</b><br />
<pre style="background: #fff; color: #3b3b3b;"><span style="color: #7a7a7a;"><<span style="color: #016cff;">root</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">data</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">B</span>></span>value 1<span style="color: #7a7a7a;"></<span style="color: #016cff;">B</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">C</span>></span>value 1<span style="color: #7a7a7a;"></<span style="color: #016cff;">C</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">D</span>></span>value 1<span style="color: #7a7a7a;"></<span style="color: #016cff;">D</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">A</span>></span>value 1<span style="color: #7a7a7a;"></<span style="color: #016cff;">A</span>></span>
<span style="color: #7a7a7a;"></<span style="color: #016cff;">data</span>></span>
<span style="color: #7a7a7a;"></<span style="color: #016cff;">root</span>></span></pre>
<b>Expected XML</b><br />
<pre style="background: #fff; color: #3b3b3b;"><span style="color: #7a7a7a;"><<span style="color: #016cff;">root</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">data</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">A</span>></span>value 1<span style="color: #7a7a7a;"></<span style="color: #016cff;">A</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">B</span>></span>value 1<span style="color: #7a7a7a;"></<span style="color: #016cff;">B</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">C</span>></span>value 1<span style="color: #7a7a7a;"></<span style="color: #016cff;">C</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">D</span>></span>value 1<span style="color: #7a7a7a;"></<span style="color: #016cff;">D</span>></span>
<span style="color: #7a7a7a;"></<span style="color: #016cff;">data</span>></span>
<span style="color: #7a7a7a;"></<span style="color: #016cff;">root</span>></span></pre>
<b>Stylesheet </b><br />
<pre style="background: #fff; color: #3b3b3b;"><span style="color: #7a7a7a;"><<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">stylesheet</span> <span style="color: #963dff;">xmlns</span>:xsl=<span style="color: #666666;">"http://www.w3.org/1999/XSL/Transform"</span> <span style="color: #963dff;">version</span>=<span style="color: #666666;">"1.0"</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">output</span> <span style="color: #963dff;">indent</span>=<span style="color: #666666;">"yes"</span> /></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">strip-space</span> <span style="color: #963dff;">elements</span>=<span style="color: #666666;">"*"</span> /></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">template</span> <span style="color: #963dff;">match</span>=<span style="color: #666666;">"node() | @*"</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">copy</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">apply-templates</span> <span style="color: #963dff;">select</span>=<span style="color: #666666;">"node() | @*"</span> /></span>
<span style="color: #7a7a7a;"></<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">copy</span>></span>
<span style="color: #7a7a7a;"></<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">template</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">template</span> <span style="color: #963dff;">match</span>=<span style="color: #666666;">"//A"</span> /></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">template</span> <span style="color: #963dff;">match</span>=<span style="color: #666666;">"//data"</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">copy</span>></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">copy-of</span> <span style="color: #963dff;">select</span>=<span style="color: #666666;">"//A"</span> /></span>
<span style="color: #7a7a7a;"><<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">apply-templates</span> /></span>
<span style="color: #7a7a7a;"></<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">copy</span>></span>
<span style="color: #7a7a7a;"></<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">template</span>></span>
<span style="color: #7a7a7a;"></<span style="color: #016cff;">xsl</span><span style="color: #016cff;">:</span><span style="color: #016cff;">stylesheet</span>></span></pre>
Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-76735036773583524842015-05-17T17:15:00.003+05:302015-05-17T17:15:50.990+05:30/home when moving from Ubuntu to FedoraAfter using Ubuntu (13.10) for like almost one year I decided to move back to Fedora (Fedora 21). This is going to be a short post on my experience on mounting the same /home I used in Ubuntu for Fedora.<br />
<br />
I had a separate partition for /home in Ubuntu which I needed to be mounted as the /home in Fedora as well. In anaconda (Fedora installer) I choose to configure the partitions manually. In the manual partitioning window, it listed all the partition I had under Ubuntu (it was smart that it listed them under the label Ubuntu 13.10). I mounted the / of Ubuntu with re-formatting to be the same in Fedora. And for /home, I mounted the same /home in Ubuntu to be the same in Fedora. But /home was listed under both "New Fedora 21 Installation" and "Ubuntu 13.10" as well. I proceeded. During the installation I created the same user ("kalpa") which was there Ubuntu. It took a considerable amount of time for the "User creation" phase of the installation. This is to set the file permission for the new user. Time taken for the process may change based on the number of files that are there in home. The rest of the installation went smooth. And I have no issue with /home up to now using Fedora 21.Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-5158514840918430152015-04-25T23:05:00.002+05:302015-07-12T12:10:15.368+05:30Workaround for absolute path issue in SFTP in VFS transportIn <a href="http://wso2.com/products/enterprise-service-bus/" target="_blank">WOS2 ESB</a>, <a href="https://docs.wso2.com/display/ESB481/VFS+Transport" target="_blank">VFS transport</a> can be used to access SFTP file system. The issue is that we cannot use absolute paths with SFTP and this affects to WSO2 ESB 4.8.1 and prior versions. The reason is that SFTP uses SSH to login, and it will by default log into the user's home directory and the path specified will be considered relative to the user's home directory.<br />
<br />
For example consider the VFS URL below,<br />
<blockquote class="tr_bq">
vfs:sftp://kalpa:*****@localhost/myPath/file.xml</blockquote>
The requirement is to refer to <b>/myPath/file.xml</b> but it will refer <b>/home/kalpa/myPath/file.xml </b>(/home/kalpa) is the user's home directory.<br />
<br />
To overcome this issue we can create a mount for the desired directory in the home directory of the user in the FTP file system. Considering the example above, we can create the mount as follows,<br />
<blockquote class="tr_bq">
mount --bind /myPath /home/kalpa/myPath</blockquote>
With this the VFS URL above will actually refer to <b>/myPath/file.xml</b>.Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-54241738074751179642015-01-26T23:44:00.000+05:302015-07-12T12:10:36.542+05:30Date time format conversion with XSLT mediator in WSO2 ESB<br />
I recently came across this requirement where a <a href="http://www.w3schools.com/schema/schema_dtypes_date.asp" target="_blank">xsd:datetime</a> in the payload is needed to be converted to a different date time format as follows,<br />
<br />
<span style="background-color: white; font-family: inherit;">Original format : <span style="line-height: 20.011714935302734px;">2015-01-07T09:30:10+02:00</span></span><br />
<span style="background-color: white; font-family: inherit;"><span style="line-height: 20.011714935302734px;">Required date: </span><span style="line-height: 20.011714935302734px;">2015/01/07 09:30:10</span></span><br />
<br />
In <a href="http://wso2.com/products/enterprise-service-bus/" target="_blank">WSO2 ESB</a>, I found that this transformation can be achieved through a <a href="https://docs.wso2.com/display/ESB481/XSLT+Mediator" target="_blank">XSLT mediator</a>, <a href="https://docs.wso2.com/display/ESB481/Class+Mediator" target="_blank">class mediator</a> or a <a href="https://docs.wso2.com/display/ESB481/Script+Mediator" target="_blank">script mediator</a>. In an overview, XSLT mediator uses a XSL stylesheet to format the xml payload passed to the mediator whereas in class mediator and script mediator we use java code and javascript code respectively to manipulate the message context. In this blog post I am going to present how this transformation can be achieved by means of the XSLT mediator.<br />
<br />
<b>XSL Stylesheet</b><br />
<span style="background-color: #f9f9f9; color: #080808;"><?</span><span style="color: #bf4f24;">xml</span><span style="color: #bf4f24;"> version</span><span style="background-color: #f9f9f9; color: #080808;">=</span><span style="color: #0b6125;">"1.0"</span><span style="color: #bf4f24;"> encoding</span><span style="background-color: #f9f9f9; color: #080808;">=</span><span style="color: #0b6125;">"UTF-8"</span><span style="background-color: #f9f9f9; color: #080808;">?></span><br />
<pre style="background: #f9f9f9; color: #080808;"><<span style="color: #bf4f24;">localEntry</span> <span style="color: #bf4f24;">xmlns</span>=<span style="color: #0b6125;">"http://ws.apache.org/ns/synapse"</span> <span style="color: #bf4f24;">key</span>=<span style="color: #0b6125;">"dateTime.xsl"</span>>
<<span style="color: #bf4f24;">xsl</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">stylesheet</span> <span style="color: #bf4f24;">xmlns</span>:xsl=<span style="color: #0b6125;">"http://www.w3.org/1999/XSL/Transform"</span> <span style="color: #bf4f24;">xmlns</span>:xs=<span style="color: #0b6125;">"http://www.w3.org/2001/XMLSchema"</span> <span style="color: #bf4f24;">version</span>=<span style="color: #0b6125;">"2.0"</span>>
<<span style="color: #bf4f24;">xsl</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">output</span> <span style="color: #bf4f24;">method</span>=<span style="color: #0b6125;">"xml"</span> <span style="color: #bf4f24;">omit-xml-declaration</span>=<span style="color: #0b6125;">"yes"</span> <span style="color: #bf4f24;">indent</span>=<span style="color: #0b6125;">"yes"</span> />
<<span style="color: #bf4f24;">xsl</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">param</span> <span style="color: #bf4f24;">name</span>=<span style="color: #0b6125;">"date_time"</span> />
<<span style="color: #bf4f24;">xsl</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">template</span> <span style="color: #bf4f24;">match</span>=<span style="color: #0b6125;">"/"</span>>
<<span style="color: #bf4f24;">dateTime</span>>
<<span style="color: #bf4f24;">required</span>>
<<span style="color: #bf4f24;">xsl</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">value-of</span> <span style="color: #bf4f24;">select</span>=<span style="color: #0b6125;">"format-dateTime(xs:dateTime($date_time), '[Y0001]/[M01]/[D01] [H01]:[m01]:[s01] [z]')"</span> />
</<span style="color: #bf4f24;">required</span>>
</<span style="color: #bf4f24;">dateTime</span>>
</<span style="color: #bf4f24;">xsl</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">template</span>>
</<span style="color: #bf4f24;">xsl</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">stylesheet</span>>
<<span style="color: #bf4f24;">description</span> />
</<span style="color: #bf4f24;">localEntry</span>>
</pre>
<br />
<br />
<b>Proxy configuration</b>
<br />
<pre style="background: #f9f9f9; color: #080808;"><?<span style="color: #bf4f24;">xml</span><span style="color: #bf4f24;"> version</span>=<span style="color: #0b6125;">"1.0"</span><span style="color: #bf4f24;"> encoding</span>=<span style="color: #0b6125;">"UTF-8"</span>?>
<<span style="color: #bf4f24;">proxy</span> <span style="color: #bf4f24;">xmlns</span>=<span style="color: #0b6125;">"http://ws.apache.org/ns/synapse"</span> <span style="color: #bf4f24;">xmlns</span>:xs=<span style="color: #0b6125;">"http://www.w3.org/2001/XMLSchema"</span> <span style="color: #bf4f24;">name</span>=<span style="color: #0b6125;">"DateTimeTransformation"</span> <span style="color: #bf4f24;">transports</span>=<span style="color: #0b6125;">"https http"</span> <span style="color: #bf4f24;">startOnLoad</span>=<span style="color: #0b6125;">"true"</span> <span style="color: #bf4f24;">trace</span>=<span style="color: #0b6125;">"disable"</span>>
<<span style="color: #bf4f24;">target</span>>
<<span style="color: #bf4f24;">inSequence</span>>
<<span style="color: #bf4f24;">property</span> <span style="color: #bf4f24;">name</span>=<span style="color: #0b6125;">"originalFormat"</span> <span style="color: #bf4f24;">expression</span>=<span style="color: #0b6125;">"$body/dateTime/original"</span> />
<<span style="color: #bf4f24;">xslt</span> <span style="color: #bf4f24;">key</span>=<span style="color: #0b6125;">"dateTime.xsl"</span>>
<<span style="color: #bf4f24;">property</span> <span style="color: #bf4f24;">name</span>=<span style="color: #0b6125;">"date_time"</span> <span style="color: #bf4f24;">expression</span>=<span style="color: #0b6125;">"get-property('originalFormat')"</span> />
</<span style="color: #bf4f24;">xslt</span>>
<<span style="color: #bf4f24;">log</span> <span style="color: #bf4f24;">level</span>=<span style="color: #0b6125;">"full"</span> />
</<span style="color: #bf4f24;">inSequence</span>>
</<span style="color: #bf4f24;">target</span>>
</<span style="color: #bf4f24;">proxy</span>>
</pre>
<br />
dateTime.xsl XLS style sheet is stored as an inline xml <a href="https://docs.wso2.com/display/ESB481/Local+Registry+Entries" target="_blank">local entry</a> in ESB.<br />
<br />
In the proxy, the original date is passed as an parameter ("date_time") to the XLS style sheet. I have used <a href="http://www.w3.org/TR/xslt20/#function-format-dateTime" target="_blank">format-dateTime</a> function, a function of <a href="http://www.w3.org/TR/xslt20/" target="_blank">XSL 2.0</a>, to do the transformation.<br />
<br />
<b>Sample request</b><br />
<pre style="background: #f9f9f9; color: #080808;"><?<span style="color: #bf4f24;">xml</span><span style="color: #bf4f24;"> version</span>=<span style="color: #0b6125;">"1.0"</span><span style="color: #bf4f24;"> encoding</span>=<span style="color: #0b6125;">"UTF-8"</span>?>
<<span style="color: #bf4f24;">soap</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">Envelope</span> <span style="color: #bf4f24;">xmlns</span>:soap=<span style="color: #0b6125;">"http://www.w3.org/2003/05/soap-envelope"</span>>
<<span style="color: #bf4f24;">soap</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">Header</span> />
<<span style="color: #bf4f24;">soap</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">Body</span>>
<<span style="color: #bf4f24;">dateTime</span>>
<<span style="color: #bf4f24;">original</span>>2015-01-07T09:30:10+02:00</<span style="color: #bf4f24;">original</span>>
</<span style="color: #bf4f24;">dateTime</span>>
</<span style="color: #bf4f24;">soap</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">Body</span>>
</<span style="color: #bf4f24;">soap</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">Envelope</span>>
</pre>
<br />
<b>Console output</b><br />
<pre style="background: #f9f9f9; color: #080808;"><?<span style="color: #bf4f24;">xml</span><span style="color: #bf4f24;"> version</span>=<span style="color: #0b6125;">"1.0"</span><span style="color: #bf4f24;"> encoding</span>=<span style="color: #0b6125;">"UTF-8"</span>?>
<<span style="color: #bf4f24;">soap</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">Envelope</span> <span style="color: #bf4f24;">xmlns</span>:soap=<span style="color: #0b6125;">"http://www.w3.org/2003/05/soap-envelope"</span>>
<<span style="color: #bf4f24;">soap</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">Body</span>>
<<span style="color: #bf4f24;">dateTime</span> <span style="color: #bf4f24;">xmlns</span>=<span style="color: #0b6125;">"http://ws.apache.org/ns/synapse"</span> <span style="color: #bf4f24;">xmlns</span>:xs=<span style="color: #0b6125;">"http://www.w3.org/2001/XMLSchema"</span>>
<<span style="color: #bf4f24;">required</span>>2015/01/07 09:30:10 GMT+2</<span style="color: #bf4f24;">required</span>>
</<span style="color: #bf4f24;">dateTime</span>>
</<span style="color: #bf4f24;">soap</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">Body</span>>
</<span style="color: #bf4f24;">soap</span><span style="color: #bf4f24;"><span style="color: #794938;">:</span></span><span style="color: #bf4f24;">Envelope</span>>
</pre>
Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-72714449246056071462015-01-08T23:18:00.001+05:302015-01-08T23:18:30.846+05:30WSO2 Carbon Kernel 4.3.0 ReleasedI am a bit late to announce, but here it is...<br />
<br />
Hi Folks,<br />
<br />
WSO2 Carbon team is pleased announce the release of the Carbon Kernel 4.3.0.<br />
<br />
<b>What is WSO2 Carbon</b><br />
<br />
WSO2 Carbon redefines middleware by providing an integrated and componentized middleware platform that adapts to the specific needs of any enterprise IT project - on premise or in the cloud. 100% open source and standards-based, WSO2 Carbon enables developers to rapidly orchestrate business processes, compose applications and develop services using WSO2 Developer Studio and a broad range of business and technical services that integrate with legacy, packaged and SaaS applications.<br />
<br />
WSO2 Carbon kernel, the lean, modular, OSGi-based platform, is the base of the WSO2 Carbon platform. It is a composable server architecture which inherits modularity and dynamism from OSGi framework. WSO2 Carbon kernel can be considered as a framework for server development. All the WSO2 products are composed as a collection reusable components running on this kernel. These products/components inherits all the core services provided by Carbon kernel such as Registry/repository, User management, Transports, Caching, Clustering, Logging, Deployment related features.<br />
<br />
You can download the released distribution from the product home page : <a href="http://wso2.com/products/carbon/">http://wso2.com/products/carbon/</a><br />
<br />
<b>How to Contribute </b><br />
<br />
<ul>
<li>WSO2 Carbon Kernel code is hosted in GitHub. </li>
<li>The GIT repository is <a href="https://github.com/wso2/carbon4-kernel/">https://github.com/wso2/carbon4-kernel/</a></li>
<li>Carbon 4.3.0 release <b>tag</b> is <a href="https://github.com/wso2/carbon4-kernel/releases/tag/4.3.0">https://github.com/wso2/carbon4-kernel/releases/tag/4.3.0</a></li>
</ul>
<br />
<b>What's New In This Release</b><br />
<br />
<ul>
<li>Simplified logging story with pluggable log provider support.</li>
<li>Upgraded versions of Hazelcast, Log4j, BouncyCastle.</li>
<li>Improved Composite application support.</li>
</ul>
<br />
<b>Key Features</b><br />
<br />
<ul>
<li>Composable Server Architecture - Provides a modular, light-weight, OSGi-based server development framework.</li>
<li>Carbon Application(CApp) deployment support.</li>
<li>Multi-Profile Support for Carbon Platform - This enable a single product to run on multiple modes/profiles.</li>
<li>Carbon + Tomcat JNDI Context - Provide ability to access both carbon level and tomcat level JNDI resources to applications using a single JNDI context.</li>
<li>Distributed Caching and Clustering functionality - Carbon kernel provides a distributed cache and clustering implementation which is based on Hazelcast- a group communication framework</li>
<li>Pluggable Transports Framework - This is based on Axis2 transports module.</li>
<li>Registry/Repository API- Provide core registry/repository API for component developers.</li>
<li>User Management API - Provides a basic user management API for component developers.</li>
<li>Logging - Carbon kernel supports both Java logging as well as Log4j. Logs from both these sources will be aggregated to a single output</li>
<li>Pluggable artifact deployer framework - Kernel can be extended to deploy any kind of artifacts such as Web services, Web apps, Business processes, Proxy services, User stores etc.</li>
<li>Deployment Synchronization - Provides synchronization of deployed artifacts across a product cluster.</li>
<li>Ghost Deployment - Provides a lazy loading mechanism for deployed artifacts</li></li>
<li>Multi-tenancy support - The roots of the multi-tenancy in Carbon platform lies in the Carbon kernel. This feature includes tenant level isolation as well as lazy loading of tenants.</li>
</ul>
<br />
<b>Fixed Issues</b><br />
<br />
<ul>
<li><a href="https://wso2.org/jira/issues/?filter=12100">https://wso2.org/jira/issues/?filter=12100</a></li>
</ul>
<br />
<b>Known Issues</b><br />
<br />
<ul>
<li><a href="https://wso2.org/jira/issues/?filter=12099">https://wso2.org/jira/issues/?filter=12099</a></li>
</ul>
<br />
<b>Contact Us</b><br />
<br />
WSO2 Carbon developers can be contacted via the mailing lists:<br />
<br />
<ul>
<li>Carbon Developers List: <a href="mailto:dev@wso2.org">dev@wso2.org</a></li>
<li>Carbon Architecture List: <a href="mailto:architecture@wso2.org">architecture@wso2.org</a></li>
</ul>
<br />
<b>Reporting Issues</b><br />
You can use the <a href="https://wso2.org/jira/browse/CARBON">Carbon JIRA</a> issue tracker to report issues, enhancements and feature requests for WSO2 Carbon.<br />
<br />
Thank for you interest in WSO2 Carbon Kernel.<br />
<br />
<b>--The WSO2 Carbon Team--</b>Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-86467733114257862002014-12-08T19:42:00.000+05:302014-12-08T19:42:26.970+05:30Working with directories that start with '-' in bashThis is sort of note to self, came across while testing depsync in WSO2 Application Server [1].<br />
<br />
What I wanted to do was to <b>cd</b> into the directly named "<b>-1234</b>", this denoted the artifact repo for the super user in WSO2 AS. <b>cd -1234</b> simple doesn't work as <b>cd</b> tries to interpret "<b>-1</b>" as a command argument. This [2] came out from a google search, to simply put it, there are two approaches possible.<br />
<br />
<ul>
<li><b>cd -- -1234</b></li>
<li><b>cd ./-1234</b></li>
</ul>
<div>
Hope this would be helpful although the circumstances may be rare.</div>
<div>
<br /></div>
<div>
[1] <a href="http://wso2.com/products/application-server/">http://wso2.com/products/application-server/</a></div>
<div>
[2] <a href="http://linuxers.org/quick-tips/how-open-directory-or-file-starting-hyphen">http://linuxers.org/quick-tips/how-open-directory-or-file-starting-hyphen</a></div>
Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-90026796669950805002014-10-18T12:02:00.001+05:302014-10-18T12:20:25.565+05:30Light Level Meter | Firefox OS App<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8VPvBX1jdE3RCqcthhpNClPnArev-fjyx_OQuL-6lobFqisdmXruyuN9VeyGPo0z87f5OBJ0FEPYfsz26p9XN7WZambzjGmfhLoX1a8DB7CRgdOTDeX5Xge2llceHHyOsAqAW/s1600/145487.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8VPvBX1jdE3RCqcthhpNClPnArev-fjyx_OQuL-6lobFqisdmXruyuN9VeyGPo0z87f5OBJ0FEPYfsz26p9XN7WZambzjGmfhLoX1a8DB7CRgdOTDeX5Xge2llceHHyOsAqAW/s1600/145487.png" height="320" width="213" /></a></div>
Light Level Meter [1], is a Firefox OS app developed by myself to demonstrate the use of Mozilla WebAPI [2]. The app measures the ambient light level in lux [3] and present in realtime. It records the max and min values and plots the variation of the light level over time.<br />
<br />
I've made use of DeviceLightEvent [4] to get the current ambient light level from the light level detector in the device (I have tested it with Keon [5]). The real time chart is implemented using Smoothie Charts [6] which is a simple, easy to use javascript charting library for streaming data.<br />
<br />
Measurement of ambient light level has many uses. One is that it could be used to adjust the light level of electronic visual displays that are there in many of the devices we use today such as mobile phones and tablets. By such adjustments based on the ambient light level, we could save energy while delivering a comfortable reading experience to the user.<br />
<br />
Another use of measuring ambient light level is in electrical lighting design. For example, the light level recommended for reading is different from that is recommended for hand tailoring. Recommended light levels in building designing in Sri Lanka can be found in page 38 of "Code of Practice for Energy Efficient Buildings in Sri Lanka" [7].<br />
<br />
Source code of Light Level Meter [8].<br />
<br />
[1] <a href="https://marketplace.firefox.com/app/light-level-meter">https://marketplace.firefox.com/app/light-level-meter</a><br />
[2] <a href="https://wiki.mozilla.org/WebAPI">https://wiki.mozilla.org/WebAPI</a><br />
[3] <a href="http://en.wikipedia.org/wiki/Lux">http://en.wikipedia.org/wiki/Lux</a><br />
[4] <a href="https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent">https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent</a><br />
[5] <a href="http://en.wikipedia.org/wiki/GeeksPhone_Keon">http://en.wikipedia.org/wiki/GeeksPhone_Keon</a><br />
[6] <a href="http://smoothiecharts.org/">http://smoothiecharts.org/</a><br />
[7] <a href="http://www.energy.gov.lk/pdf/Building%20CODE.pdf">http://www.energy.gov.lk/pdf/Building%20CODE.pdf</a><br />
[8] <a href="https://github.com/callkalpa/callkalpa.github.io/tree/master/LightLevelMeter">https://github.com/callkalpa/callkalpa.github.io/tree/master/LightLevelMeter</a>Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-30681926895486836672013-11-07T18:45:00.001+05:302013-11-24T22:06:13.115+05:30Mozilla Summit 2013<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEim0WZLENxnLW7WXeS0D_bRAeeE6OPBNTMe85IV6gw-ekcNPDkCKr-yGsu48-7kt41KdNyK-leWFw72jlAoaBb5e4xUYqwxUOeivXshxpc4o1gcPZBwsb8acEeWTOxiArA6LoVq/s1600/blog-header_logo31.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEim0WZLENxnLW7WXeS0D_bRAeeE6OPBNTMe85IV6gw-ekcNPDkCKr-yGsu48-7kt41KdNyK-leWFw72jlAoaBb5e4xUYqwxUOeivXshxpc4o1gcPZBwsb8acEeWTOxiArA6LoVq/s1600/blog-header_logo31.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">http://summit.mozilla.org/</td></tr>
</tbody></table>
Mozilla Summit 2013 [1] in Santa Clara was my first International Mozilla Event out of the region. The first one was Mozilla South Asia Inter-community Meet-up [2] which was held in Kathmandu, Nepal in February this year. Mozilla Summit 2013 was held from 4th to 6th of October in Brussels, Santa Clara, and Toronto in parallel. Most of the Mozilla communities in Asia including but not limited to Sri Lanka, India, Bangladesh were invited to Santa Clara.<br />
<br />
I was excited as it was my first flight outside the region, a long one of course and because I am going to meet a lot of Mozillians. After a long flight of almost 15 hours from Dubai we (Rohana, Suresh and myself from Mozilla Sri Lanka community and a lot more from India and Bangladesh communities) landed in San Francisco airport where I was warmly welcomed by the Mozilla team and after about 30 minutes ride we were there in The Santa Clara Marriott hotel where the summit was going to unveil and where we were going to stay for the next couple of awesome days.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcwlghLBGq_yHuwh86z4qPqMVwLwWeUNbRYKyEty8FqbQfS08iYrL9CUtOdoHlDxmmPepMo4aUsU-53mn4Reo8Anu5BnvcHXvdALE-9LUg7qEnm4ax0heEHQ8yWkFsepJ-HiAk/s1600/1385953_10151891646752867_382435093_n.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcwlghLBGq_yHuwh86z4qPqMVwLwWeUNbRYKyEty8FqbQfS08iYrL9CUtOdoHlDxmmPepMo4aUsU-53mn4Reo8Anu5BnvcHXvdALE-9LUg7qEnm4ax0heEHQ8yWkFsepJ-HiAk/s320/1385953_10151891646752867_382435093_n.jpg" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Welcome Pack<br />
Photo courtesy: Danishka Navin</td></tr>
</tbody></table>
Three t-shirts for the three days, that was cool. It was a sound sleep on 3rd, so sound it was I missed the photo walk the next morning. Fortunately it was not only me who missed the photo walk, a couple of others also were there in the lobby who has missed the photo walk. We started by our own, a self guided photo walk, we named it.<br />
<br />
Day 1, Friday kicked offed with Michel Baker's keynote speech on The Nature of Mozilla where she emphasized the idea of Know More, Do More and Do Better. "Where do we want Mozilla and the web to be in 10 years", the speech by Brendan Eich was followed by the world fair, where participant from different communities show cased their community activities, their delicious food, their games, their culture basically. That was great to have that number of communities, in one place. Several sessions took place in the evening and "Firefox OS in 2014 and Beyond" was one in which I was of great interest. Next was the group photo, outside the hotel, a huge one of course. The day concluded with dinner and karaoke. Food throughout the event was awesome :-)<br />
<br />
Day 2, morning session was interesting with the videos and demos from different ongoing projects in Mozilla. New Firefox OS Marketplace, App Maker and App Manager are some of the many of interest. Next was the innovation fair where the new products and technology from Mozilla were presented. We, the Mozillians at the summit were lucky that we got the chance to be exposed to the latest products and technologies from Mozilla before the rest of the world do. In the evening there were some sessions going on and next we went to Great America, an amusement park just a few blocks away from the hotel. It was a night full of fun, the halloween theme, drop tower, roller coaster, games, music and a lot more.<br />
<br />
Day 3, the final day of the summit was more into people getting into small groups and discussions and brainstorming on the products that they are interested in. It was nice to see the ideas for a better web being pasted on the paper covered walls by the individuals. The last day at the summit concluded with dinner and DJ.<br />
<br />
It was fun, informative and a great experience to participate at the Mozilla Summit 2013 and after a long flight I was back in my motherland with the determination that I should contribute more towards building a open web and to aware people about Know More, Do More and Do Better.<br />
<br />
[1] <a href="http://summit.mozilla.org/">http://summit.mozilla.org</a><br />
[2] <a href="http://kalpapathum.blogspot.com/2013/02/mozilla-south-asia-inter-community-meet.html">http://kalpapathum.blogspot.com/2013/02/mozilla-south-asia-inter-community-meet.html</a>Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-56996485440092335952013-06-22T06:49:00.001+05:302013-07-13T00:03:46.555+05:30Electricity Bill Cal | My first app for Firefox OS<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAm8UCyup3IK8unWiVLdd5jclOn3kSNc6fAY-vdn0MUP8vlof1sDJr4dtjFDj9rWAFXLTS9os5FC222q5sOa0yDTdxqFUWbzCSpvZNh5cDs1Mwys5KFYx2D0xo2ayRyEAV-j5H/s1600/103394.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAm8UCyup3IK8unWiVLdd5jclOn3kSNc6fAY-vdn0MUP8vlof1sDJr4dtjFDj9rWAFXLTS9os5FC222q5sOa0yDTdxqFUWbzCSpvZNh5cDs1Mwys5KFYx2D0xo2ayRyEAV-j5H/s320/103394.png" width="213" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Home Screen of Electricity Bill Cal</td></tr>
</tbody></table>
<br />
I am happy to say that my very first app, Electricity Bill Cal [1] for Firefox OS has been accepted by the Firefox Marketplace [2].<br />
<br />
Electricity Bill Cal is an app to calculate the bill for the electricity consumption of domestic and religious consumers in Sri Lanka. The calculations are done based "Electricity Tariff Revision - May 09, 2013" which is the latest approved tariff structure in Sri Lanka for the moment.<br />
<br />
Electricity Bill Cal is a hosted app (Firefox OS apps can be either hosted or packaged). The app is hosted in github pages [3] which is a good option to host web apps in this small scale. This is basically a web app and the manifest file makes it eligible to be submitted as an Firefox OS app in the Firefox Marketplace. At the submission to the Firefox Marketplace it stated that it will take approximately 18 working days to get the app approved but it took only about 8 days. At the moment app reviewing is done by a small group of volunteers [4] that it takes a number of days to get an app reviewed. If you are interested you may become a Firefox Marketplace app reviewer [5] and thus contribute to Mozilla and the community.<br />
<br />
If you are interested in developing apps for Firefox OS which is not that hard, Firefox OS in Mozilla Developer Network [6] is a good place to start with.<br />
<br />
[1] <a href="https://marketplace.firefox.com/app/electricity-bill-cal?src=search">https://marketplace.firefox.com/app/electricity-bill-cal?src=search</a><br />
[2] <a href="https://marketplace.firefox.com/">https://marketplace.firefox.com</a><br />
[3] <a href="http://pages.github.com/">http://pages.github.com/</a> and <a href="https://github.com/callkalpa/slelectcal/tree/gh-pages">https://github.com/callkalpa/slelectcal/tree/gh-pages</a><br />
[4] <a href="https://wiki.mozilla.org/Marketplace/Reviewers">https://wiki.mozilla.org/Marketplace/Reviewers</a><br />
[5] <a href="https://blog.mozilla.org/apps/2013/05/20/become-a-marketplace-app-reviewer/">https://blog.mozilla.org/apps/2013/05/20/become-a-marketplace-app-reviewer/</a><br />
[6] <a href="https://developer.mozilla.org/en/docs/Mozilla/Firefox_OS">https://developer.mozilla.org/en/docs/Mozilla/Firefox_OS</a>Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com6tag:blogger.com,1999:blog-38582629.post-29428837564762974922013-05-24T09:50:00.001+05:302013-05-24T10:30:02.876+05:30Keon | It's here :-)<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-FbxKcaLfaduBya1FeeL7md7UTciH73J1MmIIfi1V42b4k6vGGalsx2SvkqHSAgui3XpNWCDySM3w8PQq4-STtyQlnAszywYgM9LgqVHZrAm2K83GXcp5H1sBgVucughFi7bm/s1600/DSC01177+(copy).JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-FbxKcaLfaduBya1FeeL7md7UTciH73J1MmIIfi1V42b4k6vGGalsx2SvkqHSAgui3XpNWCDySM3w8PQq4-STtyQlnAszywYgM9LgqVHZrAm2K83GXcp5H1sBgVucughFi7bm/s320/DSC01177+(copy).JPG" width="256" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Keon on my diary :-)</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
Two days back I received Keon, Firefox OS [1] developer phone by Geeksphone [2]. It was shipped under the program to ship devices to Mozilla Reps [3]. Since it was a mobile phone, it was detained by the customs, had to get the approval from TRC [4], a few other docs and in the whole process it cost me around 70USD. But the effort was worth enough and I am happy with the Keon on my palm.<br />
<br />
The device is cool, nice design. The OS also is pretty much stable, just a few automatic restarts during charging. I tried some of the apps in the market place, the restarts may be due to those apps as well, not sure. Anyway I am going to flash it with the latest image [5] that is available there in geeksphone forum. In the current version (Build identifier 20130307190626) it supports contact sync only from facebook, which I dislike. It would be better if it can sync with Google contacts as well, since in my case, most of the contact numbers are in Google contacts. <br />
<br />
Wi-fi, GPS, FM radio they works fine. I couldn't check the camera, gallery since I don't have a memory card right now.<br />
<br />
My contribution to Firefox OS would be in terms of testing the OS and developing apps for the market place [6]. I will blog on those apps once I finish them and they are in the market place.<br />
<br />
One last note, the S/N and the IMEI of the device is to be found in the package of the phone. It was looking for it in the phone settings and found only the IMEI. Thanks to Priyanka [7] I learned that they are mentioned in the package. Those who requested Keon and need to update their request in bugzilla, this may be useful.<br />
<br />
That's all about Keon and Firefox OS for the time being and will write more on my experience with them and apps in future.<br />
<br />
Reference<br />
<br />
[1] <a href="https://developer.mozilla.org/en/docs/Mozilla/Firefox_OS">https://developer.mozilla.org/en/docs/Mozilla/Firefox_OS</a><br />
[2] <a href="http://www.geeksphone.com/">http://www.geeksphone.com/</a><br />
[3] <a href="https://reps.mozilla.org/">https://reps.mozilla.org/</a><br />
[4] <a href="http://www.trc.gov.lk/" target="_blank">http://www.trc.gov.lk </a><br />
[5] <a href="http://forum.geeksphone.com/index.php?topic=5207.0">http://forum.geeksphone.com/index.php?topic=5207.0</a><br />
[6] <a href="https://marketplace.firefox.com/">https://marketplace.firefox.com/</a><br />
[7] <a href="http://priyankaivy.blogspot.in/">http://priyankaivy.blogspot.in/</a>Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com1tag:blogger.com,1999:blog-38582629.post-74274742535585518712013-03-27T16:58:00.000+05:302013-03-27T17:00:46.896+05:30PHP Report Maker | A life saver<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFrTchPa2DxggYWfNcGSTwxpqXAnt9suyeiAmSaQpzyZdgjigFLbV9qo_A0KSXgTpRxUwK4I3VH2OZNyQN-6w0c9YhWcToU4oXgYQib2fh8EFW_NJcjO-64MBu8SBawhHc1G-M/s1600/reports.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFrTchPa2DxggYWfNcGSTwxpqXAnt9suyeiAmSaQpzyZdgjigFLbV9qo_A0KSXgTpRxUwK4I3VH2OZNyQN-6w0c9YhWcToU4oXgYQib2fh8EFW_NJcjO-64MBu8SBawhHc1G-M/s200/reports.jpg" width="200" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">SOURCE: http://www.avidtrader.com/wordpress/wp-content/uploads/2013/01/reports.jpg</td></tr>
</tbody></table>
<br />
Recently I was involved in developing a registration site for SLUG (Sri Lankan University Games) 2013 [1] where we wanted to produce several reports at the end.Thanks to Mr. Samudaya Nanayakkara [2], I came across PHP Report Maker 6 [3], a php dynamic web report generator with data sources MySQL, PostgreSQL, Microsoft Access, Microsoft SQL Server and Oracle for the moment. In my case it was with MySQL.<br />
<br />
The basic steps would be,<br />
<ul>
<li>Connect to the database</li>
<li>Create a view</li>
<li>Create a report</li>
</ul>
It is possible to create several reports with different fields and filters from the same view. Apart from that it is possible to make a table, view as a report as well.<br />
<br />
PHP Report Maker supports extended filters, which comes in handy in filtering report data. The filters can be configured simply to result in a complex functionality.<br />
<br />
<u>Stuff that didn't work in localhost</u><br />
<br />
I created several extended filters for the reports and I configured them to have 'SELECT-ONE' type, that is the drop down. But in the browser, the drop down was not fed with the distinct values of the relevant field, is was left with only 'Please select'. The issue was not there when I moved the files to the server :-)<br />
<br />
<u>Moving reports to the server, pay attention</u><br />
<br />
There are views created in the database server in the process of creating the reports. They need to be formed in the server, a mysql dump and restore would do.<br />
<br />
Next is the database info in the server. If they differ from those in your localhost, modify them. They can be found in ewrcfg6.php in phprptinc in your report out put directory.<br />
<br />
In my case all the table names were in lower case in the mysql dump of views where as in the saver they were in camel case. Grep and sed can be used to replace them accordingly.<br />
<br />
<u>More info</u><br />
<br />
video tutorial : <a href="http://www.youtube.com/watch?v=5xcQrKOv2oo">http://www.youtube.com/watch?v=5xcQrKOv2oo</a><br />
online demo : <a href="http://www.hkvstore.com/phpreportmaker/demo.asp">http://www.hkvstore.com/phpreportmaker/demo.asp</a><br />
<br />
<br />
Reference<br />
[1] <a href="http://www.slug2013.moraspirit.com/">http://www.slug2013.moraspirit.com/</a><br />
[2] <a href="http://samudayan.blogspot.com/">http://samudayan.blogspot.com/</a><br />
[3] <a href="http://www.hkvstore.com/phpreportmaker/">http://www.hkvstore.com/phpreportmaker/</a>Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-20353236448813674932013-02-28T18:00:00.001+05:302013-02-28T18:01:19.500+05:30Mozilla South Asia Inter-Community Meet-up 2013<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgowj435SBA9I83-QuLsIWv7D0jUKnviHhfz7f9f2QuT6JrwG54-VnjAzkeasr5Pw6TUvdbrym9iuqAV1QRNUYMwD-qw2bEFYOYGJoZ1W7U4OutGiKMAMPELlEQO75dQzmBTSb4/s1600/8510710320_3b69beebde_b.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgowj435SBA9I83-QuLsIWv7D0jUKnviHhfz7f9f2QuT6JrwG54-VnjAzkeasr5Pw6TUvdbrym9iuqAV1QRNUYMwD-qw2bEFYOYGJoZ1W7U4OutGiKMAMPELlEQO75dQzmBTSb4/s400/8510710320_3b69beebde_b.jpg" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">SOURCE: http://www.flickr.com/photos/hardfire/8510710320/</td></tr>
</tbody></table>
<div style="text-align: left;">
First ever Mozilla South Asia Inter-Community Meet-up was held successfully on 23rd and 24th February 2013 in Kathmandu, Nepal.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
All most all the participants had landed in Kathmandu by 22nd night. We all had dinner, traditional Nepalese with marvellous traditional dancing at Yak & Yeti Hotel where the meet-up was to be hosted and where accommodation was provided as well.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
On the official first day of the meet-up, 23rd, the session kicked off with introducing each other, our role in Mozilla and how we hope to contribute to Mozilla in the year ahead. A SWOT analysis was done on community basis. In the afternoon we all attended the Open Data Day which was a public event organized by the FOSS communities in Nepal. There several small sessions each with a time span of around 15 minutes were carried out on Mozilla as an organization, Firefox OS, Webmaker and Localization. A load of thanks to Gen, Deb, Gautham, Mac and Huda. A few Firefox OS developers phones were available and the participants had the chance to have hands on experience of the Firefox OS. That was the firsts hands on experience of mine as well and that was simply superb. Next we had a discussion with Nepalese FOSS communities on "How to sustain with FOSS". There we discussed about the issues that are faced by the FOSS communities, how to retain the existing contributors, financial sustainability of the projects, how we can adopt from other communities etc. Back at the hotel we discussed the issues faced by Mozilla communities in each country and solutions as suggestions based on the SWOT analysis in the morning session.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
On 24th, officially the last day of the meet-up, common issues for the Mozilla communities in each country were identified and categorized. Participants were listed under each category as their interest. A task force for each category was formed and they discussed separately to come up with a road map for the year 2013 so that the common issues raised earlier are addressed properly. I hope that through inter community support and collaboration, we as the Mozilla South Asian community will be able to spread the word and contribute to make Mozilla products better.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
It was a wonderful experience, the stay at Nepal and the meet-up. Many thanks to all the participants, Mozilla Nepal community and other supporters for the great hospitality and organization. Special thanks to Suresh and Lumbini FOSS community for the immense support rendered to Danishka and myself during our visit to Lumbini the following day.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Hope to see you all and more in the next meet-up with all the tasks in the road map ticked :-)<br />
<br />
More info: <a href="https://wiki.mozilla.org/Community/South-Asia/Inter-Community-Meetup-2013">https://wiki.mozilla.org/Community/South-Asia/Inter-Community-Meetup-2013</a></div>
Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com1Kathmandu 44600, Nepal27.7 85.33333330000004927.5875385 85.171971800000051 27.812461499999998 85.494694800000048tag:blogger.com,1999:blog-38582629.post-55895346344830942082012-09-17T19:13:00.000+05:302012-09-17T19:15:02.405+05:30Entering its 3rd year, the latest release : Hanthana Linux 17 (Sithija) is available now!<div style="background-color: white;">
<i><span style="background-color: white;">Original Post: </span><a href="http://blog.hanthana.org/2012/09/16/entering-its-3rd-year-the-latest-release-hanthana-linux-17-sithija-is-available-now/">http://blog.hanthana.org/2012/09/16/entering-its-3rd-year-the-latest-release-hanthana-linux-17-sithija-is-available-now/</a></i></div>
<br />
<br />
Project began with the goals of Introducing and promoting Free and
Open Source Software to the masses, especially to those with low
technical knowledge, no access to the Internet or under privileged, and
has now been deployed in a lot of schools, individuals, private sector
offices, public sector institutes and government offices.<br />
<br />
Hanthana Linux operating system was officially released on the 19th
of September 2009 and by now the the number of copies distributed by the
Hanthana Linux Project and individuals has counted up to the thousands.
According to the SourceForge website, just one of the repositories that
provides the distribution, there’s over 6000 downloads from all over
the world. From those, at least 8 countries (excluding Sri Lanka) has
downloaded a minimum of 100 copies and at least 96 countries has at least
one download.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://blog.hanthana.org/wp-content/uploads/2012/09/Hanthana-Linux-Downloads-all-the-time.png" style="margin-left: 1em; margin-right: 1em;"><img alt="" class="aligncenter size-full wp-image-456" height="121" src="http://blog.hanthana.org/wp-content/uploads/2012/09/Hanthana-Linux-Downloads-all-the-time.png" title="Hanthana Linux Downloads all the time" width="400" /></a></div>
<br />
<br />
<a href="http://sourceforge.net/projects/hanthana/files/stats/timeline?dates=2009-09-01+to+2012-12-31" target="_blank" title="Hanthana Linux downloads all the time">http://sourceforge.net/projects/hanthana/files/stats/timeline?dates=2009-09-01+to+2012-12-31</a><br />
<br />
This information excludes the local repository, LEARN, which is used by Sri Lankans as well as the Ibiblio repository.<br />
<br />
The School Labs project which was inaugurated in 2012 by the Hanthana
Linux project has already facilitated labs to 2 schools already and is
planned to provide for more schools.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://blog.hanthana.org/wp-content/uploads/2012/09/IMG_1377.jpg" style="margin-left: 1em; margin-right: 1em;"><img alt="" class="aligncenter size-full wp-image-451" height="265" src="http://blog.hanthana.org/wp-content/uploads/2012/09/IMG_1377.jpg" title="Hanthana 17 pre-release installation at a rural school lab in Kandiyapitawewa Area" width="400" /></a></div>
<br />
<br />
Schools in the Walapane educational zone of the Nuwara Eliya district
and in the Kebithigollewa educational zone of the Anuradhapura district
are next in this project and you too can join this project in
facilitating IT knowledge to underprivileged school children in these
areas.<br />
<br />
Hanthana Linux is not just another <a href="http://fedoraproject.org/" target="_blank" title="Fedora Project">Fedora</a>
respin. As a project it facilitates the deployment of Free and Open
source Software amongst the everyday PC user as well as the localization
of FOSS software,Documentation and provide training workshops as well.<br />
<br />
Hanthana Linux is not a commercial product. Its a project for the betterment of the community by the community.<br />
<br />
<b>Hanthana Linux 17 (Sithija) is released!</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://blog.hanthana.org/wp-content/uploads/2012/09/Screenshot-from-2012-09-16-09_51_44.png" style="margin-left: 1em; margin-right: 1em;"><img alt="" class="size-full wp-image-449" height="224" src="http://blog.hanthana.org/wp-content/uploads/2012/09/Screenshot-from-2012-09-16-09_51_44.png" title="Hanthana 17 (Sithija) Desktop" width="400" /></a></div>
<br />
<br />
Hanthana Linux 17 (sithija), the latest release of Hanthana was
released on the 3rd anniversary of the Hanthana Linux project. In
addition to the host of applications, the new release has the official <a href="http://libreoffice.org/" target="_blank" title="LibreOffice">LibreOffice</a> guide provided by <a href="http://documentfoundation.org/" target="_blank" title="The Document Foundation">the Document Foundation</a>.<br />
<br />
<a href="http://hanthana.org/download.php" target="_blank" title="Get Hanthana Linux!">Get your copy of Hanthana Linux 17 today!</a><br />
<br />
The Hanthana Linux project takes this moment to give our heartfelt
gratitude to everyone who worked for the project as well as everyone who
sent the project their best wishes. Thank You.Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-9937327783195530392012-04-26T16:11:00.001+05:302012-04-26T16:12:56.554+05:30FUDCon KL 2012 | Count me in<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blog.azneita.org/wp-content/uploads/2012/04/going-to-fudconkl.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blog.azneita.org/wp-content/uploads/2012/04/going-to-fudconkl.png" /></a></div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
</div>
<div style="text-align: left;">
Help spread the word.</div>
<div style="text-align: left;">
<br /></div>
<a href="http://fedoraproject.org/wiki/FUDCon:KualaLumpur_2012">http://fedoraproject.org/wiki/FUDCon:KualaLumpur_2012</a>Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-66686224536947612822012-04-25T21:34:00.001+05:302012-04-25T21:42:13.660+05:30Browse fails to start : FIXED | Sugar 0.96 releasedLatest Browse (based on gtk3) failed to start on fedora 16 and Manuel has a fix. It's a matter of two commit reverts. Find steps and more info at the ticket[1]<br />
<br />
Sugar 0.96 is released. Release notes can be found here [2]<br />
<br />
<br />
[1] <a href="http://bugs.sugarlabs.org/ticket/3513">http://bugs.sugarlabs.org/ticket/3513</a><br />
[2] <a href="http://wiki.sugarlabs.org/go/0.96/Notes">http://wiki.sugarlabs.org/go/0.96/Notes</a>Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0tag:blogger.com,1999:blog-38582629.post-42477830308502910552012-02-25T23:19:00.000+05:302012-02-25T23:21:24.761+05:30to-doo: a simple to-do list application<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://reclaimyourqueendom.files.wordpress.com/2011/04/to-do-list.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="282" src="http://reclaimyourqueendom.files.wordpress.com/2011/04/to-do-list.jpg" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Source: http://reclaimyourqueendom.files.wordpress.com/2011/04/to-do-list.jpg</td></tr>
</tbody></table>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
to-doo [1] is a simple to-do list application written by me using google app engine [2] and python [3]. I wanted to make it as simple as possible yet serve the purpose. The syntax used is simple, more information are there in the 'help' link of to-doo. The frontend is basic HTML so that almost all the browsers including the browsers in mobile phones will support this. They will load to-doo quickly and will function with low amount of data transferred.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
to-doo uses google accounts to authenticate the user. This is a service provided by the API of the google app engine. So the application will not save your google password but your google account nick name as it is used to filter out the relevant tasks.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Give to-doo a try and leave your comments through the link provided in to-doo.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
[1] <a href="http://to-doo.appspot.com/" style="text-align: -webkit-auto;">http://to-doo.appspot.com/</a></div>
<div style="text-align: left;">
[2] <a href="http://code.google.com/addengine">http://code.google.com/appengine</a></div>
<div style="text-align: left;">
[3] <a href="http://python.org/">http://python.org</a></div>Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com2tag:blogger.com,1999:blog-38582629.post-19881898406139965212012-02-16T12:08:00.001+05:302012-02-16T12:13:12.048+05:30./sugar-jhbuild update: 'BundleModule' has no attribute 'parse_from_xml' [solved]I was trying to build sugar on my fedora 16 (64 bit) box as instructed here [1]. git clone was successful but <span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">./sugar-jhbuild update</span> <span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">failed</span> although I have all the <span class="Apple-style-span" style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px;">dependencies</span> installed. Following is the strange python error I got,<br />
<br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">./</span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">sugar</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">-</span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> update</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">Cloning upstream </span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">Cloning into </span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">...</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">remote: Counting objects: 30895, done.</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">remote: Compressing objects: 100% (8597/8597), done.</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">remote: Total 30895 (delta 23961), reused 28682 (delta 22191)</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">Receiving objects: 100% (30895/30895), 6.00 MiB | 118 KiB/s, done.</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">Resolving deltas: 100% (23961/23961), done.</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">Warning: unknown distro version, automatic fallback to rawhide.</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">Traceback (most recent call last):</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> File "./</span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">sugar</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">-</span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">", line 62, in <module></span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> sys.exit(main.main(base_dir, sys.argv[1:]))</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> File "/home/kalpa/</span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">sugar</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">-devel/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">sugar</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">-</span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">/sjhbuild/main.</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">py", line</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">111, in main</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> rc = </span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">.commands.run(command, config, args, help=lambda:</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">.main.print_help(</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">parser))</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> File "/home/kalpa/.local/lib/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">python2.7/site-packages/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">/commands/__init__.py",</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">line 123, in run</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> return cmd.execute(config, args, help)</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> File "/home/kalpa/.local/lib/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">python2.7/site-packages/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">/commands/__init__.py",</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">line 52, in execute</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> return self.run(config, options, args, help)</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> File "/home/kalpa/.local/lib/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">python2.7/site-packages/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">/commands/base.py",</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">line 63, in run</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> module_set = </span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">.moduleset.load(config)</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> File "/home/kalpa/.local/lib/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">python2.7/site-packages/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">/moduleset.py",</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">line 316, in load</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> ms.modules.update(_parse_</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">module_set(config, uri).modules)</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> File "/home/kalpa/.local/lib/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">python2.7/site-packages/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">/moduleset.py",</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">line 412, in _parse_module_set</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> inc_moduleset = _parse_module_set(config, inc_uri)</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> File "/home/kalpa/.local/lib/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">python2.7/site-packages/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">/moduleset.py",</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">line 427, in _parse_module_set</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> repositories, default_repo)</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> File "/home/kalpa/.local/lib/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">python2.7/site-packages/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">/modtypes/__init__.py",</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">line 58, in parse_xml_node</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> return parser(node, config, uri, repositories, default_repo)</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> File "/home/kalpa/</span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">sugar</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">-devel/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">sugar</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">-</span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-size: 13px;">jhbuild</span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">/sjhbuild/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">bundlemodule.py",</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">line 50, in parse_bundle</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"> instance = BundleModule.parse_from_xml(</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">node, config, uri,</span></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-size: 13px;">repositories, default_repo)</span></span><br />
<span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: 'Courier New', Courier, monospace; font-size: 13px;">AttributeError: type object 'BundleModule' has no attribute 'parse_from_xml'</span><br />
<br />
<span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">It took me a couple of days to figure the issue. It all went fine after I removed</span><span class="Apple-style-span" style="font-family: inherit;"> </span><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: 'Courier New', Courier, monospace;">/home/kalpa/.local/lib/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: 'Courier New', Courier, monospace;"></wbr><span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: 'Courier New', Courier, monospace;">python2.7/site-packages/</span><wbr style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: 'Courier New', Courier, monospace;"></wbr><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-family: 'Courier New', Courier, monospace;">jhbuild </span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-family: inherit;">Then all was fine working :-)</span><br />
<span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-family: inherit;"><br /></span><br />
<span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-family: inherit;">In </span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-family: 'Courier New', Courier, monospace;">./sugar-jubuild depscheck</span><span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-family: inherit;"> there is an warning</span><br />
<span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: 'Courier New', Courier, monospace;"><br /></span><br />
<span class="Apple-style-span" style="background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: 'Courier New', Courier, monospace;">Missing packages:</span><br />
<span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span">gnome-python2-evince</span></span><br />
<span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-family: inherit;"><span class="Apple-style-span" style="font-family: arial, sans-serif;"><br /></span></span><br />
<span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-family: inherit;">It can be either ignored or install through</span><br />
<span class="il" style="background-attachment: initial; background-clip: initial; background-color: rgba(255, 255, 255, 0.917969); background-image: initial; background-origin: initial; color: #222222; font-family: 'Courier New', Courier, monospace;"><span class="Apple-style-span">yum install gnome-python2-desktop</span></span><br />
<br />
[1] <a href="http://wiki.sugarlabs.org/go/Development_Team/Jhbuild">http://wiki.sugarlabs.org/go/Development_Team/Jhbuild</a>Anonymoushttp://www.blogger.com/profile/14950492227843811177noreply@blogger.com0