Feed on
Posts
Comments

Earlier this week I discovered a keyboard shortcut that will crash Eclipse on Mac OS X Leopard. There’s a fix for the problem so I wanted to blog the solution for any and all that might stumble across this issue in the future.

To be clear, as far as I can tell the bug only affects Eclipse 3.3 running on Leopard, although you may want to test your Mac environment just to be sure.

The bug shows itself when you use the Open Resource shortcut (CMD+SHIFT+R) or the Open Class (CMD+SHIFT+T) shortcut, once you’ve selected your file or class Eclipse will crash. At first I thought that this was a Flex Builder bug, Adobe even has a bug filed for this exact problem but after more research it turns out that the bug is an SWT issue in Eclipse.

Thankfully Eclipse has already resolved this issue in the 3.3.2 stream build so if this is an issue for you then download the 3.3.2 stream build and update your existing Eclipse installation. I’ve tested Flex Builder 3.0 plugin final on 3.3.2 and it appears to run without issue. If you’re running Flex Builder 3.0 standalone then you’re out of luck, download the plugin.

The title says it all. Here’s some links to the bits.

Flex Builder 3.0
http://www.adobe.com/products/flex/

Flex SDK 3.0
http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK
AIR 1.0
http://www.adobe.com/products/air/


Edit: In a comment below Ted Patrick confirmed that Adobe has indeed already changed the licensing to allow for a virtualized Win/Mac combination. Fantastic News! One more reason to develop on a Mac! (02/08/08 11:42 PST)

I develop Flex and AIR applications in Flex Builder on my Macbook Pro notebook and I keep a copy of VMWare Fusion and Window XP on standby for testing.

Last week while debugging an AIR application I came across a NativeMenu problem that required me to set breakpoints inside the Windows specific section of the NativeMenu code. No problem, I fired up VMWare Fusion, started Windows XP, installed Flex Builder 3 beta 3 and imported the project from my Mac partition. It all worked very slick and I was able to debug the problem and code a solution from within Windows, all without making a copy of the code base.

It all sounds so good and efficient right?

But later as I was basking in the glory of my victory, I got to thinking…this won’t be possible once Flex Builder 3 is released because I won’t have a Windows license key for Flex Builder 3. Will I need to spend hundreds of dollars for a Windows license key just so I can debug the occasional AIR application? What about when Linux support is a reality? Hundreds more?

The short answer may be “Yes”, pony up the cash and move on ya whiner!

But there’s a larger question at the root of this issue. Does Adobe as the provider of a freely available cross-platform runtime have an obligation to it’s developers to provide an equivalent platform for developing and debugging across all the supported platforms? In my opinion they do, it’s in Adobe’s best interest long term. Being able to debug AIR applications on Windows, Mac and (looking forward) Linux will only improve the quality of AIR applications and that in-turn should promote adoption of the platorm.

Let me be clear, I’m not suggesting that Adobe give away the IDE farm, I am suggesting that Adobe needs to consider the developer faced with challenges of cross-platform debugging in AIR. How does the developer who cannot afford a Windows, Mac & Linux IDE affect the platform as a whole? In my opinion the AIR applications we create (free or not) are public ambassadors for the platform, as such we need them to be stable and performant across every platform the AIR runtime supports. To accomplish this we need reasonable access to tools for each platorm.

So here’s my suggestion Adobe, it’s simple. Make the Flex Builder Professional license cross-platform. Let your developers make a choice for cross-platform debugging.

Merapi Logo

We knew it was coming but we didn’t know when or in what form. Adam Flater just posted that the Artemis project has officially been reborn as the Merapi project. The list of contributors looks impressive, including both developers and designers.

For those of you not familiar with Artemis Merapi, it’s a framework for connecting Adobe AIR applications to the desktop using Java technology. Merapi picks-up where the AIR 1.0 runtime drops off, in that while AIR can read and write from the native file system it cannot launch native applications or interact with the shell.

Merapi has huge potential and I’m looking forward discovering what’s possible when we can combine the power of Java with the richness and ubiquity of Adobe AIR. These are exciting times indeed!

By the way…looks like the namesake might be a mountain in Java Indonesia

Edit:
Andrew Powell has also posted a few words about Merapi and a few more about why they chose the name. (02/05/08 09:37am PST)

skyfire logo

I was reviewing Engadget’s coverage of Demo 08 this morning and I nearly fell out of my seat when I saw skyfire. skyfire is a mobile browser that claims to bring a PC browsing experience to the mobile phone for the first time.

Continue Reading »

For my last AIR project and my current Flex project I’ve been using the PureMVC ActionScript framework. It’s a solid framework and on the whole I’m enjoying working with it. When using PureMVC for Flex and AIR development one of the questions I see consistently is how to create mediators for deferred components. In other words, if the view of your app uses a view stack how do you handle creating mediators on the children of the viewstack that are not created yet? Continue Reading »

The fine folks over at 360 Conferences are soliciting our input to help shape the future of the 360 Flex conferences. If you’ve ever been to a 360 Flex or if you’re simply and opinionated conference attendee please take a minute to complete the short 3 question survey.

A friend of mine IM’d me with a link to this hilarious video, done in the spirit of the Apple Mac VS. PC ads. Now don’t read to much into my posting this on my blog, I like both of these technologies and I’m not choosing sides here. I just like funny when I see it. Video after the jump… Continue Reading »

Eclipse Fast View is a very handy feature that enables docking and undocking of Eclipse views. If you consistently find yourself looking for more room in Eclipse then Fast View is for you. The screencast after the jump demonstrates Fast View in action.  Continue Reading »

Ted Patrick, during the 360 Flex keynote, announced that the next Flex 3.0 beta will be available in October. While he didn’t go so far as to specify when in October I’m hopeful that the timing will coincide with MAX. In addition Ted announced that Flex 3 and AIR will ship in parallel sometime “very early in 2008″.

Older Posts »