BUG Community

Welcome! Log In


Active Users

Blog Posts

Use a database on BUG

Here's a quick howto on using Apache Derby on the BUG 2.0 to get hot RDBMS action.Step 1, download the Apache Derby binary package from http://db.apache.org/derby/derby_downloads.html.  I chose the 'lib' distribution.  Unsure if Derby supports running from an OSGi context, I used the handy bnd utility to check. $ bnd print lib/derby.jar [MANIFEST derby.jar] Ant-Version Apache Ant 1.7.1 Bundle-Activator org.apache.derby.osgi.EmbeddedActivator Bundle-ManifestVersion 2 Bundle-Name Apache Derby 10.7 Bundle-SymbolicName derby Bundle-Vendor Apache Software Foundation Bundle-Version 10.7.1000001.1040133 Class-Path derbyLocale_cs.jar...
read more

OSGi service binding II: muddy waters

In the first post regarding binding to OSGI services on BUG, we covered the simplest (and most common) case: binding to a set of services and running an application when all services are available.  Now we will look at a less common but nonetheless important scenario: binding to multiple instances of the same service.  The code shown in this tutorial can also be modified to apply to many cases where programmatic control of service binding...
read more

suggested (free) reading:

The bug development team is growing!  I spent a few minutes tracking down some items I believe our developers should be sharp on, and I thought our community might benefit from the list...  Feel free to reply or comment with your own additions...OE/build OE usermanual: http://docs.openembedded.org/usermanual/usermanual.pdfPoky Guide: http://www.pokylinux.org/doc/poky-handbook.htmlBitbake example/Openmoko wiki: http://wiki.openmoko.org/wiki/BitBake_recipeContinuous Integration/Build automation: http://buildbot.net/buildbot/docs/current/Java/JNI/OSGi:OSGi R4 specification: http://www.osgi.org/Release4/DownloadOSGi tools/bnd http://www.aqute.biz/Code/BndOSGi FAQ: http://www.osgi.org/About/HowOSGiJNI: http://java.sun.com/docs/books/jni/download/jni.pdfjni examples we use or will use: http://bluecove.org/ ...java/xmpp (swarm[?]): http://www.igniterealtime.org/builds/smack/docs/latest/documentation/ subclipse: http://subclipse.tigris.org/cdt: http://www.ibm.com/developerworks/opensource/library/os-eclipse-stlcdt/egit/jgit: http://wiki.eclipse.org/EGit/User_Guide Linux/OS/Bootloader:Init/runlevels:...
read more

Open Hardware Definition 1.0

Read the official post on the Open Hardware Summit blog! This is an exciting day in opening hardware!Finally D-day is here! We are pleased to announce the 1.0 of the Open Source Hardware Definition.The definition has undergone a few rounds of feedback, and feedback collection has been done (online, forums, open hardware summit, stakeholder’s websites, email etc) and posted here for review. Gradually, feedback has been converging more and more, and support for the definition growing.We would like to thank everyone...
read more

SDK Tip: Saving your ConfigAdmin state between sessions.

In the 2.1 SDK we have switched to use the Felix implementation of the ConfigurationAdmin service specification.  By default, each time BUG simulator launches, a clean configuration is created.  This can be a pain when you rely on specific settings.  By changing the system property fexlix.cm.dir in the BUG Simulator launch configuration, you can prevent the configuration from being cleared.  See the screenshot for more details.
read more

R2.0.1 available for download!

Howdy bugcommunity!  Despite the hellish weather across the northeast and all the delays it causes, we're shipping!  Also!  We're shipping new SW!  Orders filled from today on (January 31st 2011) on will include (at least) R2.0.1, our maintenance release following our initial 2.0 release.  Here's the info: The build artifacts can be found at: http://dauber/buildbot/repo/full/12909  (internal) and http://bugcommunity.com/downloads/files/2.0/Releases/R2.0.1/ Redmine roadmap associated with this release: http://redmine.buglabs.net/versions/show/53Issues addressed (or scheduled to be addressed for this release):Defect #1551:...
read more

OSGi service binding without throwing in the kitchen sink.

 In the BUG 2.0 software release we've added an API to allow for easy service binding with minimal code.  The API is in com.buglabs.application.ServiceTrackerHelper and the primary actor is the ManagedRunnable.  To illustrate the usage of the API consider this example:We will create two bundles, one as an API bundle and another as the implementation bundle.  For brevity, the API bundle will also create some services so that we can bind them in our implementation bundle.  I...
read more

Pardon our appearance.

Things may get a little ugly from time to time over at buglabs.net/applications and at repo.buglabs.net. We're rolling out some fun things for BUG 2.0 and we may experience the occasional hiccup.  If you notice something gone from the repo our an application that dropped off the face, drop me an email at john [at] buglabs [dot] net and I'll make it come back.Image CC courtesy of Chris Corwin's photostream.
read more

Run a python weather module on BUG

 Today I installed a python weather module on my BUG. I was using our 1.4.3 rootfs and it was easy peasy! Here's what I did: alicia-imac:~ agibb$ ssh root@ The authenticity of host ' (' can't be established. RSA key fingerprint is ba:78:f9:af:8b:92:e8:5b:48:8d:7d:e3:40:cb:0e:5b. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '' (RSA) to the list of known hosts. root@'s password: ********* root@pipix:~# wget http://python-weather-api.googlecode.com/files/pywapi-0.2.1.tar.gz Connecting to python-weather-api.googlecode.com[]:80 pywapi-0.2.1.tar.gz 100% |**************************************************|...
read more

It's all fun and games...

..until a bagel gets capped!  Be safe out there people!
read more

Powered by Community Engine