Eclipse Yoxos Services Downloads Blogs About
Home > Blogs >

Ian Bull

on Jan 31st, 2010Eclipse 3.6 M5 (Helios) available for download

Eclipse 3.6 M5 is now available for download. There are lots of new and exciting features, like the ability to open and file directly from the command line.  You can also use the synchronize view to compare patches:

applyPatchInSyncView Eclipse 3.6 M5 (Helios) available for download

Debug also introduced a few new features (like instance counts):

instance counts Eclipse 3.6 M5 (Helios) available for download

Check out all the new features in the New and Noteworthy.

Download the milestone:
http://download.eclipse.org/eclipse/downloads/drops/S-3.6M5-201001291300/index.php

or use p2 to upgrade to it:

http://download.eclipse.org/eclipse/updates/3.6milestones/

on Jan 7th, 2010I See You — SWT Spy

I spent part of today trying to debug a Linux specific issue in which wizard pages are not being shown properly.  Actually, the content of some wizard pages are not showing up at all (Bug 298805 if you’re interested).

While thinking through the problem on IRC (yes, you should be on IRC), Susan McCourt had a great idea — install the SWT Spy and see what it shows.

spy I See You    SWT Spy

The SWT Spy is a small tool that allows you to place your mouse over a widget and get information about that widget, including:

  1. Layout information
  2. Bounds
  3. Siblings
  4. Parent Chain (back to the shell)

spy action I See You    SWT Spy

I hacked the tool a bit to add the visibility field.  The SPY is available from: http://www.eclipse.org/swt/tools.php. Once installed, you can toggle the spy using CTRL+ALT+SHIFT+”.”.

An oldie but a goodie.

on Dec 12th, 2009Eclipse 3.6 M4 (Helios) available for download

Just in time for the Holidays, the Eclipse platform team has made Eclipse 3.6 Milestone 4 available.

Feel free to download it:
http://download.eclipse.org/equinox/drops/S-3.6M4-200912101301/index.php

Upgrade to it:
http://download.eclipse.org/eclipse/updates/3.6milestones

or just browse the New and Noteworthy:
http://download.eclipse.org/eclipse/downloads/drops/S-3.6M4-200912101301/eclipse-news-M4.html

There’s a whole host of new features such as Virtual Folders

virtual folder Eclipse 3.6 M4 (Helios) available for download

and the ability to execute multiple quick fixes at once:

multifix problem hover1 Eclipse 3.6 M4 (Helios) available for download

Enjoy the early Christmas present :-)

on Dec 1st, 2009Eclipse Community, Thanks!

There has been a lot of talk lately about what the Eclipse community is and is not doing.  While I have no intention of going anywhere near that conversation, I did want to highlight something that makes me very proud to be part of this great community.  This month, the Eclipse community raised over $3,000 for men’s health issues, and that’s awesome!

van Eclipse Community, Thanks!

Of course I’m talking about Movember!

mo eclipse Eclipse Community, Thanks!

David Green led all Mommitters with $740 raised.  Thanks David.  A big thank-you also goes out to Kevin Barnes who replied to my tweet on Oct 30th and motivated me to start the Mommitters. This would not have happened without you Kevin.  I also want to thank Kim Moir (and Kim Horne for the great suggestion) who helped get our Movember splash screen in the I-Builds.

All the Eclipse Mommitters also deserve a big thank-you for stepping up and growing a stache for charity.  You all looked terrific.

But the biggest thanks goes out to all the community members who stepped up with their wallets and donated a few bucks to a great cause.  Looking through the list of donations it was quite a diverse group of individuals.  As a community there may be things we can improve, but I think we should be very proud of this accomplishment.

on Nov 18th, 2009Compile errors… I should have set my EE

Lately I have been working on (and committing) a repository analyzer tool for p2.  It is meant to help you validate your repository against known problems and common mistakes (missing version numbers, two IUs with the same ID/Version, etc…).  After cleaning up the code I finally committed it.  Within a few minutes of committing it, Andrew starting pinging me to let me know I introduced a compile error. (Thanks Andrew).

The offending lines where here:

ee1 Compile errors... I should have set my EE

and more precisely:

ee2 Compile errors... I should have set my EE

You see, while this may seem fine to all you Java 1.6 developers out there, p2 is set to run on CDC-1.1/Foundation-1.1 and JSE-1.4.  I know in the Java SE space, 1.4 is long past end of life, but in the embedded space, it is still very common.  (Remember, these embedded devices require much smaller VMs, otherwise we complain that our small devices are two slow /sluggish / expensive, etc…) — and p2 is a provisioning platform that operates just fine on embedded devices.

With Eclipse, you can set your Execution Environment (EE) and point to a variety of JDKs.  This allows you to “single source” your code so the same code can run on a server with Java 1.6 installed and a small device with a Foundation VM.  However, I don’t have a Foundation VM :-( .

Lucky for us, an EE description for several JDKs is available in the Eclipse CVS repository:

ee3 Compile errors... I should have set my EE

Once you checkout the project, you can add this to your list of known JREs

ee4 Compile errors... I should have set my EE
Now I get all the Java tooling (content assist, compile errors, etc…) for the Foundation 1.1 VMs.

ee5 Compile errors... I should have set my EE

on Nov 16th, 2009Movember, we’re 1/2 way there

We are 1/2 way through the month of Movember and I thought I would use this opportunity to update the status of my Mo. I have started with the “trucker” look, although this may change as the month progresses.

 Movember, were 1/2 way there

The Eclipse Momitters are doing well too. We have 12 team members and have raised over $1,500 for men’s health issues (like prostate cancer) — If you have a few minutes and can spare a few dollars, please consider donating to the cause.  To help raise awareness, Kim suggested we create a Movember splash screen for this weeks Eclipse integration build.

movember splash Movember, were 1/2 way thereIf you think you can do better, please bring your art work to bug 295192.

on Nov 7th, 2009Tips for Successful PDE Product Builds

Recently I had the pleasure of updating the way Yoxos is built.  Like a lot of Eclipse based applications, the Yoxos build was feature based and we naturally use the normal headless PDE/Build scripts to do this.  To make things a little easier to extend, I decide to use the new product based builds (new is relative, as product builds have been around since about Eclipse 3.2).

There are a number of subtle points that I think are worth mentioning.

1. PDE/Build does not checkout the .product file

As you may know, when you specify a product build, you use the following build.property setting:

product=/some_bundle_or_featre/your.product

However, PDE/Build does not fetch that bundle or feature from your SCM system (See Bug: bug 159128)

To get around this problem, you can use a post setup custom target like this:

 <ant antfile="${genericTargets}" target="fetchElement">
    <property name="type" value="feature">
    <property name="id" value="org.feature.containing.product.file">
 </ant>

2. Platform specific products require platform filters

When I converted to product builds, I decided to build platform specific products (with platform launchers, etc…).  If any of your features contain platform specific fragments, make sure you set the conditions under which the fragment can be installed.

fragments1 Tips for Successful PDE Product Builds

If you don’t set these, and the bundle or fragment has set platform filters, then at build time the fragment won’t be included, however, the feature will still require it.

3. Make sure your delta pack matches your platform

If you are building a product that targets a number of different architectures, then you are likely familiar with the delta pack.  It’s very important that you use the delta pack that matches your platform version (i.e. don’t use the Eclipse 3.5.1 delta pack with Eclipse 3.5.0). At build time, the executable features (found in the delta pack) has a requirement on the org.eclipse.equinox.launcher bundle.  This bundle comes with the platform and the versions must match.

4. Make sure all your bundles are contained in a feature

If your product is feature based, make sure all the bundles that constitute your product are listed in a feature.  This is one of those errors that manifest itself as it worked when I ran it from Eclipse, why doesn’t it work on the build machine. The reason for this is you likely had all your bundles in your workspace when you launched from Eclipse, so PDE was able to track down these dependencies for you.  When you build on the server, only things that are explicitly included are fetched for building.

5. Check your javacSource setting

If you are using newer java constructs like generics (again, new is relative as these constructs have been around for over 4 years), make sure your java settings reflect this. However, changing your compiler settings in your workbench will have little effect on a server 1/2 a world away.  To influence the compiler settings during build, you can set the following properties in your build.properties file:

# Default value for the version of the source code.
# This value is used when compiling plug-ins that do not set the
# Bundle-RequiredExecutionEnvironment or set javacSource in build.properties
javacSource=1.5

# Default value for the version of the byte code targeted.
# This value is used when compiling plug-ins that do not set the
# Bundle-RequiredExecutionEnvironment or set javacTarget in build.properties.
javacTarget=1.5

Happy building!

on Nov 3rd, 2009An Introduction to OSGi in Victoria

Have you heard about OSGi but are not sure about the details?  Are you wondering what this brand new Java technology is all about?  Are you concerned that its footprint is too large for your specific application?  Are you not sure if OSGi solves a problem you have? Is OSGi a no go for you because you don’t use the Standard Widget Toolkit (SWT) or any other Eclipse technology?

If you considered answering yes to any of these questions, or are just curious about OSGi… please join us at the Vancouver Island Java User Group (VIJUG) on November 26th in Victoria, BC where I will be giving a introduction to OSGi. You might be surprised to learn that:

  • The OSGi specification is over 10 years old
  • OSGi was originally designed for embedded devices (and it’s small footprint reflects this)
  • OSGi is a framework that enables highly modular systems and a consistent programming model whether you are developing for the server, client or mobile devices
  • While Eclipse does make use of OSGi, there is no requirement on any Eclipse technologies when using OSGi.  There are even several implementations of OSGi specification to choose from

For more information, please see the announcement page.

on Oct 31st, 2009Come on Eclipse, let’s grow a Mo

As most of you know October is coming to an end. This means that M3 is due out soon, ESE is over, and the very early EclipseCon registration deadline is approaching.  It also means that Movember is starting.  Movember is a month dedicated to changing the face of men’s health, and it’s all about the Mo (the Mustache).  This year I thought we could try and get an Eclipse team together to help with this worthy cause.

So, if you’re part of the Eclipse Community — an Eclipse Committer, a Eclipse Contributor, a active user — you are encouraged to join the Eclipse Mommitters (Eclipse Committers with a Mo), help raise awareness of Prostate Cancer, and grow a killer mustache.

1 in 6 men will be diagnosed with prostate cancer in their lifetime.  Prostate cancer is the most common cancer to afflict Canadian men with 25,500 diagnosed and 4,400 dying from the disease each year.

mo eclipse Come on Eclipse, lets grow a Mo

This is not just for the gentlemen either.  Ladies, you are welcome to join as Mo Sista, a woman who loves a Mo. You can join the Eclipse team at the following URL: http://ca.movember.com/register/44681 .  Hey, maybe we can all keep our Mo’s until EclipseCon and get a group picture ;-) . (I’m just kidding).

on Sep 19th, 2009Eclipse 3.6 M2 (Helios) — Available

Milestone 2 for Eclipse 3.6 is now available.  Now that summer is over, and most people have returned from vacation, Eclipse development is starting to ramp  up again.  Interested in getting involved, now is a GREAT time.

M2 is available from:
http://download.eclipse.org/eclipse/downloads/drops/S-3.6M2-200909170100/index.php

Inside Eclipse, you can use p2 to update with this URL:
http://download.eclipse.org/eclipse/updates/3.6milestones

Finally the new and noteworthy can be read at:
http://download.eclipse.org/eclipse/downloads/drops/S-3.6M2-200909170100/eclipse-news-M2.html

Checkout the great new features like the API usage scans.

api scan Eclipse 3.6 M2 (Helios)    Available

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
© EclipseSource 2008 - 2009