Twitter github

Posts Tagged with “pde”

Eclipse October BugDay

Just a friendly reminder that the Eclipse October BugDay is coming up this Friday. We already have a few awesome participants, but it would be nice to have some more. If you’re interested in helping PDE out this time around, we recently enhanced the error log view by partitioning out log statements by session:

Cool huh? It would even be cooler if the current session was highlighted.

If bolding text isn’t your thing, here are some other bugs from PDE:

  • [142422] – Update class references in dependent plugin.xmls
  • [195433] – Junit plugin test configuration should use project’s JRE by default
  • [190717] – [Target][Editors] Target editor, content page: Features tab should not show Add Working Set etc

Going First Shooter…

I’ve been wrapping things up today before I head to Cancun by going through some small bugs and came across a new addition to PlanetEclipse. Daniel Ford talks about going “First Shooter” on Eclipse in a way that makes the geek inside of me jealous 😉

In other news, Apache Felix is lighting up to PDE.

RAP and PDE?

RAP makes me giggle.

I completely forgot about a demo that Frank Appel from the RAP team showed me at a restaurant during the Equinox Summit. I recall talking to Frank over a beer when he showed me a PDE plug-in (org.eclipse.pde.runtime) running within RAP:

Error Log View and You

So, given that I’ve seen two instances today where people have wanted to know how to use the log view within their applications, I figure a blog entry is in order. The log view currently lives within the PDE feature and specifically the org.eclipse.pde.runtime plug-in (or org.eclipse.ui.views.log in Eclipse 3.4 and beyond). To add the view to your application you need to do two things:

  1. Add a dependency on org.eclipse.pde.runtime (or org.eclipse.ui.views.log in Eclipse 3.4)
  2. Reference the view in your perspective with the id org.eclipse.pde.runtime.LogView (this is the same still in 3.4)

That’s it! Don’t believe me? Here’s the famous RCP Browser example with the log view (patch to help people out in 3.4, if in 3.3, simply replace org.eclipse.ui.views.log with org.eclipse.pde.runtime as a dependency in the MANIFEST.MF).:

This Week in PDE

So what happened this week in PDE?

  • [202044] – Refactor LogView into a new plug-in (org.eclipse.ui.views.log)
    • The log view has been refactored into its own bundle to help with consumability and serviceability. It still remains in the PDE feature as I couldn’t bribe the Platform team in slipping it into the Platform feature.
  • [198724] – Raise warning when . is not on bundle-classpath and there are source folders
    • This is one of those problems that keeps Ed Merks and his newsgroup addiction in business. New plug-in developers find it hard to debug problems when things work at development-time versus not working during run-time. Now if PDE detects a mismatch between your bundle classpath and what is specified in your build.properties, you’ll get a nice error and cool quickfix (in this case, we had a source.library.jar entry and no corresponding bundle classpath entry):

Eclipse BugDay October 2007

Last month’s Eclipse bugday ended with 22 bugs fixed and improved project participation!

The next bugday is scheduled for October 26th with rumors of EMF and GEF participating this time around. If you’re looking for interesting PDE bugs, check these out:

  • [205198] – Flag when there are missing bundle or package version ranges
  • [201964] – [Schema][Editors] “Use” default value text field should be read-only when editor is not editable

Good luck!

Equinox Summit 2007

I had a bit of time to reflect on the Equinox Summit and here are my take aways:

  • p2 development is progressing very quickly
  • Dynamic-aware programming (service / extension registry) within OSGi is hard (we should adopt a standard way by Eclipse 4.0)
  • Service Activator Toolkit (SAT) is making its way into Equinox
  • It’s p2 not P2
  • Next time on pay-per-view: Spring-OSGi versus Declarative Services
  • It’s time to move the Equinox console out of the framework itself
  • Ottawa has a cat problem
  • ECF has some new requirements due to p2 to support adaptive downloading
  • Creating a standard and lightweight way to pass messages between Equinox instances is a bit tricky (178927,201154,4922)
  • I fear the p2 UI will suffer from the sins of our past. We really need to move away from doing everything within Eclipse. The p2 UI should take hints from Firefox. I’d rather have p2 come up with a standard package for information (analogous to the XPI format) and allow people to use the embedded browser to install things via one click.
  • Should Eclipse.org maintain a central metadata repository to avoid RPM Hell? A large central repository is what Linux distros have moved to as they have learned from the past cries of their users.
  • Having an “Eclipse Installed” sticker on your laptop can cause you to meet interesting people at the airport
  • p2 plans to go live during Eclipse 3.4M5
  • p2 will be requiring developers to do build-to-build upgrades using p2
    • Note: This is so crucial it’s not even funny. One of the biggest reasons the old Update code didn’t get more love is because we didn’t “eat our own dog food” so to speak.

On the whole, the trip was very enjoyable. It was a pleasure to meet new people and see some faces I haven’t see in awhile. Thanks to the Eclipse Foundation and Jeff for putting this event together. Maybe it’s time for a PDE Summit in Austin :)?

Marlboro Man and the Equinox Summit

My first day in Ottawa and all I can think about is the Marlboro Man. I guess since arrived late into Ottawa this evening for the Equinox Summit, I was blessed with a hotel room that was probably occupied by the Marlboro Man before I arrived. Since the hotel is full, I have to endure the smoky smell until tomorrow 😀

On the Eclipse-side of things, I released changes for 3.4M3 that will upgrade Bundle-RequiredExecutionEnvironment (BREE for short) from coach to first class (thank you Gary Duprex for your patches and patience). Why are BREE’s good? Read PaScaL’s blog post.

In the new plug-in project wizard, you’ll see an option to set your target environment:

Also, we now flag missing BREE’s in honor of Remy Suen who may suffer from a heart attack if people don’t set BREEs in their bundles.

Note: I know you can have multiple BREE’s per bundle, but we currently don’t support this scenario in the new plug-in project wizard due to the rarity. If additional BREE’s need to be added, PDE offers a fantastic forms-based editor and a source editor with code completion.

Thanks Mylyn

On my way to the Equinox Summit with a 160 minute layover in Chicago, I was hacking a bug to add execution environment selection and validation to PDE (thanks Gary) when I noticed this in a recent build of Mylyn:

Thanks Mylyn! I was waiting for the ability to edit those Bugzilla keywords. Now we just need to figure out how to work with bugzilla flags without me opening a web browser.

By the way, if you haven’t tried out Mylyn, I’d recommend it. It has some nifty features that I can’t live without these days:

  • offline bugzilla browsing while on an airplane
  • ability to attach contexts to bugs to help new contributors navigate the PDE codebase
  • ability to apply patches from within Eclipse without opening a silly web browser
  • somewhat easy screenshot attachment to bugs

September Eclipse BugDay

Just a reminder for people that the next Eclipse BugDay is coming up. There’s a bit more projects participating this time around. If you really want to help out a project in need, check out the Visual Editor’s (VE) list of bugs (VE Contributing Guide). They really need help with general triage to get the project moving again.

If you want to take a stab at one from the PDE camp, here’s one:

  • [201994] – NLS wizard should include localization file in build.properties

Thanks!