<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>BlackBerry Developer Blog &#187; BlackBerry Open Source</title>
	<atom:link href="http://devblog.blackberry.com/tag/blackberry-open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 15:28:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='devblog.blackberry.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9ef0a66c09615fa946c4179662398878?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>BlackBerry Developer Blog &#187; BlackBerry Open Source</title>
		<link>http://devblog.blackberry.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://devblog.blackberry.com/osd.xml" title="BlackBerry Developer Blog" />
	<atom:link rel='hub' href='http://devblog.blackberry.com/?pushpress=hub'/>
		<item>
		<title>WebWorks Ant Build Script</title>
		<link>http://devblog.blackberry.com/2012/11/webworks-ant-build-script/</link>
		<comments>http://devblog.blackberry.com/2012/11/webworks-ant-build-script/#comments</comments>
		<pubDate>Thu, 08 Nov 2012 19:28:49 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[WebWorks]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[BlackBerry Open Source]]></category>
		<category><![CDATA[blackberry webworks sdk]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=11942</guid>
		<description><![CDATA[There are many ways to build BlackBerry WebWorks applications, like the Ripple Emulator, the BlackBerry Graphical Aid, or the command line. Each one has some good use cases, and yet I think there’s room for one more: an Ant build script that can include some pre-processing and will work well with automated builds. Ant has [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11942&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>There are many ways to build BlackBerry WebWorks applications, like the <a href="https://developer.blackberry.com/html5/download/ripple">Ripple Emulator</a>, the <a href="http://supportforums.blackberry.com/t5/Testing-and-Deployment/BlackBerry-Tablet-OS-Graphical-Aid/ta-p/1207067">BlackBerry Graphical Aid</a>, or the <a href="https://developer.blackberry.com/html5/documentation/ww_developing/Compiling_Packaging_your_WW_app_1866977_11.html">command line</a>. Each one has some good use cases, and yet I think there’s room for one more: an Ant build script that can include some pre-processing and will work well with automated builds.</p>
<p style="text-align:center;"><a href="http://rimdevblog.files.wordpress.com/2012/11/timw1.png"><img class="aligncenter  wp-image-11943" title="Figure 1" alt="" src="http://rimdevblog.files.wordpress.com/2012/11/timw1.png?w=614&#038;h=242" height="242" width="614" /></a></p>
<p>Ant has been around a long time so it really needs no introduction. Inspiration for this build script came initially from <a href="http://addyosmani.com/blog/client-side-build-process/">Addy Osmani’s blog</a> on creating a build script for web applications, and later from reviewing the <a href="https://github.com/h5bp/ant-build-script">HTML5 Boilerplate’s Ant-Build-Script</a> project. This script is much more specific to BlackBerry WebWorks development and should serve as a great starting point for any developer wanting to introduce a build script to their WebWorks development cycle.</p>
<p>Ant scripts are great for a lot of reasons. Designed for build systems, with simple XML syntax, it&#8217;s been around long enough to get a lot of support from IDE&#8217;s and to have extensions and tutorials written for it. While there are newer build script tools available, Ant is a good, reliable tool. The IDE integration will be popular with many developers as well, since Eclipse and it&#8217;s variants work well with Ant. My current favorite is Sublime Text 2 which has superb build script integration: when set to Ant, pressing ctrl-b will run the default build in the current file’s directory. Besides working with your IDE, build scripts can do all sorts of repeatable operations for you, which can automate routine steps, saving time and maintaining consistency between builds. An obvious requirement for teams, but still a real time saver when working solo.</p>
<p style="text-align:center;"><a href="http://rimdevblog.files.wordpress.com/2012/11/timw2.png"><img class="aligncenter  wp-image-11944" title="Figure 2" alt="" src="http://rimdevblog.files.wordpress.com/2012/11/timw2.png?w=614&#038;h=438" height="438" width="614" /></a></p>
<p>When I set out to create this script, I wanted something with a wide range of flexibility but also something simple that I could just drop into a project and have it build. I also wanted to be able to update some settings in one place when something changed but support project specific build targets. Lastly, I thought it would be pretty cool to do some Lint checking and code compression at the same time. The result is up here on <a href="https://github.com/blackberry/BB10-WebWorks-Community-Samples/tree/master/Ant-Build-Script" target="_blank">Github</a> and takes a two part approach. There is a main set of targets and associated tools that goes in one spot and a build.xml file that can be dropped into a WebWorks project. The main file you will setup once and only change when new SDKs are installed. The project file you will put a copy in each project and define a few simple properties to customize the build. Full instructions are included in the <a href="https://github.com/blackberry/BB10-WebWorks-Community-Samples/tree/master/Ant-Build-Script/README.md" target="_blank">Github Readme</a>.</p>
<p>Give it a try today and see what you think. Once you’ve done so, I’d really like to see some forks and pull requests that add additional targets. What are the tools that you would like to see included?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/11942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/11942/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11942&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/11/webworks-ant-build-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d4af90af66399bef37f445ec81aba64a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timwin1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/11/timw1.png" medium="image">
			<media:title type="html">Figure 1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/11/timw2.png" medium="image">
			<media:title type="html">Figure 2</media:title>
		</media:content>
	</item>
		<item>
		<title>Open Source and the BlackBerry PlayBook OS Platform</title>
		<link>http://devblog.blackberry.com/2011/10/open-source-playbook-os/</link>
		<comments>http://devblog.blackberry.com/2011/10/open-source-playbook-os/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 16:54:00 +0000</pubDate>
		<dc:creator>Eduardo P-L.</dc:creator>
				<category><![CDATA[Dev Con]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[BlackBerry Open Source]]></category>
		<category><![CDATA[BlackBerry PlayBook OS]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[DevCon 2011]]></category>
		<category><![CDATA[GamePlay]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[ndk]]></category>
		<category><![CDATA[Repositories]]></category>
		<category><![CDATA[tablet]]></category>
		<category><![CDATA[TouchMapOverlap]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=7282</guid>
		<description><![CDATA[Announcements regarding open source initiatives to develop for the BlackBerry PlayBook tablet.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=7282&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Today, Research In Motion® (RIM®) announced the 1.0 release of our Native SDK (NDK) for BlackBerry® PlayBook OS. What does that mean? <em>Native</em> means C/C++, <em>BlackBerry PlayBook OS</em> is our advanced platform for tablets and smartphones based on <a href="http://qnx.com/" target="_new">QNX</a>, and the 1.0 refers to the version of that platform, as exemplified with BlackBerry PlayBook OS v1.0.</p>
<p>The goal of the NDK is to make you, the developer, more productive in creating Native Applications for the BlackBerry PlayBook tablet. To accomplish this, the NDK includes tools: a compiler, a linker, the Eclipse-based <a href="http://www.qnx.com/products/tools/qnx-momentics.html" target="_new">QNX&#8217;s Momentics IDE</a>, and command line tools as well as samples, documentation, and libraries, and is paired with the <a href="http://developer.blackberry.com/native" target="_new">Developers/Native micro-site</a>. The micro-site is brand new (we also released <a href="http://developer.blackberry.com/android" target="_new">Android</a> and <a href="http://developer.blackberry.com/html5" target="_new">HTML 5</a> micro-sites) and provides information on most common actions, and&#8230; it also provides pointers to Open Source Components!</p>
<p><span id="more-7282"></span></p>
<p>As is the case for <a href="http://devblog.blackberry.com/2011/10/rim-open-source/">BlackBerry® WebWorks™</a>, Open Source is a key part of our native story. We use Open Source licenses, and transparent development, to deliver samples that developers can use to kick-start development, or to learn from in general. The NDK comes with a small (4) set of samples, available under an Open Source license. But the micro-site mentioned above links to a larger and growing set of samples all hosted at <a href="http://blackberry.github.com/" target="_new">our GitHub Organization</a> and ready for you to use, or fork and modify.</p>
<p>We are also porting popular Open Source libraries to complement those that are <a href="http://devtat001cnc/native/documentation/com.qnx.doc.native_sdk.devguide/com.qnx.doc.native_sdk.devguide/topic/libraries.html" target="_new">already included</a> in the BlackBerry PlayBook OS. Libraries already available include physics engines like <a href="http://www.bulletphysics.org" target="_new">Bullet Physics</a> and <a href="http://www.box2d.org/" target="_new">Box2DX</a>, scripting languages like <a href="http://www.lua.org/" target="_new">Lua</a>, multimedia libraries like <a href="http://connect.creativelabs.com/openal/default.aspx" target="_new">OpenAL</a> and <a href="http://www.libsdl.org/" target="_new">SDL</a>, gaming frameworks like <a href="http://www.cocos2d-x.org/" target="_new">Cocos2DX</a> and general-purpose libraries like <a href="http://www.boost.org" target="_new">Boost</a> and <a href="http://qt.nokia.com/" target="_new">Qt</a>. We will continue growing the list and welcome your suggestions!</p>
<p>Also available under an Open Source license are a few new libraries like <a href="http://blackberry.github.com/ndk/components.html#GamePlay" target="_new">GamePlay</a>, a new 3D native gaming framework, and <a href="http://blackberry.github.com/ndk/components.html#TouchMapOverlap" target="_new">TouchMapOverlap</a>.</p>
<p>We are using GitHub to anchor this and other initiatives. All libraries have a homepage that provides additional information on how they apply to the BlackBerry PlayBook OS. In most cases there will also be a code repository that holds the specifics for the port. For example, the OpenAL home page is<br />
<a href="http://blackberry.github.com/ndk/components.html#OpenAL" target="_new">blackberry.github.com/ndk/components.html#OpenAL</a> and the repository is <a href="http://github.com/blackberry/OpenAL" target="_new">github.com/blackberry/OpenAL</a>. Ideally the port specifics will be accepted into the upstream community; what we want is for the library to work on the BlackBerry PlayBook OS out of the box.</p>
<p>We will continue to expand our involvement in the Open Source community; it’s more efficient for us, better for the developers, and creates a much more open communication channel for everyone. For more details on RIM’s Open Source activities, visit <a href="http://blackberry.github.com/" target="_new">http://blackberry.github.com</a>.</p>
<p>P.S. Also check out <a href="https://lists.webkit.org/pipermail/webkit-dev/2011-October/018264.html" target="_new">George&#8217;s announcement</a> at WebKit-Dev about our renewed public participation in WebKit!</p>
<p><em>Do you use GitHub to develop? Have you checked out the BlackBerry GitHub page? Share in the comments!</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/7282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/7282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=7282&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2011/10/open-source-playbook-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f662e1b4e55509b4205db5b8187e374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eduardopele</media:title>
		</media:content>
	</item>
	</channel>
</rss>
