BUG Community

Welcome! Log In

How To

Modular Java == Buildable Java

I started out today with a simple goal; "Let's build OpenJDK for OMAP this morning." I said to myself.  So I begin with a fresh build tree, pulling in the build recipes bit by bit.  I start to see unresolved depencency issues.  "No problem, I know where to get that." I mutter under my breath.  Then I hit another, and another.  "Rhino?  Really?!" I mutter as my mood darkens.  "SNOBOL-native?!"* In fact over an hour...
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

Ruby and RubyGems (and Rails!) on the Bug

Ruby is a language I've been meaning to learn for some time now and I figured I'd do that by using it for one of my projects here at Bug. The first thing I went to do was install RubyGems, the package manager for Ruby (much like pip and easy_install for Python), but I couldn't get it to work. It turned out that our default install of Ruby is missing some modules from the Ruby...
read more

building JNI bundles

I've previously posted about building against bundles in SVN to get the latest BUG software.  This is a followup with special attention paid to the jni bundles.  I assume a certain knowledge of the SDK, our build system, and eclipse.  You'll need eclipse (3.3.2), subclipse, CDT, and CTE plugins installed.  eclipse 3.3.2: http://archive.eclipse.org/eclipse/downloads/drops/R-3.3.2-200802211800/index.phpsubclipse: http://subclipse.tigris.org/update_1.4.xCDT update site: http://download.eclipse.org/tools/cdt/releases/europaCTE update site: http://concierge.sourceforge.net/cte/updateAs of RC1.4.1 of the BUG software stack, control of the hardware is done by using...
read more

BUG Software R1.4.3 Released!

  BUG Software Release 1.4.3 is now publicly available.  The RC1.4.3.7 was approved as a production release.  Binary images are available at http://www.buglabs.net/download.  Sources are available atsvn://svn.buglabs.net/bug/tags/releases/R1.4.3.  Javadoc is available at http://bugcommunity.com/development/javadoc/r1.4.3/bug/.  And release notes are available at http://bugcommunity.com/wiki/index.php/R1.4.3_Release_notes. Some open source projects we've used in this release: - JNotify (http://jnotify.sourceforge.net) - JmDNS (http://jmdns.sourceforge.net/) - FM-Classic (http://fm-classic.sourceforge.net/) - avetanabt (http://www.avetana-gmbh.de/avetana-gmbh/produkte/jsr82.eng.xml) Thanks to everyone internal and external that helped make this release happen! 
read more

AutoBUG preview

We are ramping up for the Mobile World Conference here at Bug Lab. We wanted to have a little video to take with us to show what one BUG application could do - we picked the AutoBUG and had Erik Lang put our ideas into a visual format. For the complete movie, and the real potential of AutoBUG, you will have to wait.  But to wet your whistle, here is the outakes trailer.
read more

Bug Walkthrough For/From a Beginner

Hey Guys,Just how simple is Bug? Can ANYONE figure it out? Sure!Here is my experience using the Bug. I have no computer science, java, or programming experience. Ever.1.Downloading the BugLab software was extremely simple. I just followed the onscreen instructions in the Wiki tutorial at http://www.buglabs.net/start, did a quick reboot, and had all the necessary software installed. 2.After locating the USB port on my computer and following the networking instructions, it was pretty simple to...
read more

Tracking Modules in Your BUG App

One thing you may want to do is track module insertion and removal in your BUG Application.  There are probably a couple of approaches to this.  The following solution is easy, but not obvious.  It's the same method implemented in the code running on the BUG that updates the base LCD when you insert and remove modules.The basic idea is that you create a ServiceTracker that tracks only IModuleControl services.  First, create the ServiceTracker.  Here's...
read more

Chainsaw HOWTO

Introduction Welcome to the home of Chainsaw v2! Chainsaw v2 is a companion application to Log4j written by members of the Log4j development community. Like a number of Open Source projects, this new version was built upon inspirations, ideas and creations of others. Chainsaw v2 has it's roots from the original Chainsaw utility written by Oliver Burn, and with inspiration from the Log Factor 5 utility contributed by ThoughtWorks Inc. Available Distributions Java Web Start...
read more

End of Year Greetings

Happy Holidays and New Year from Bug Labs!In addition to recent major releases, we've also been busy celebrating the Holidays, the end of the year, and each other.  For me, our Holiday Party and end of year strategy meeting was rejuvenating. We did some non-work related interacting and it feels like it's been a long time since we've done that.  I found out some new stuff about our team - do you know what employee...
read more

Powered by Community Engine