How to get Flex Builder 3 and Eclipse 3.4 Ganymede to play nice

There are a lot of good things I can say about Eclipse, but I have two griefs: One is the fact that I have way too much stuff in the menus that I never use. The other is that I’ve spent way too much time fiddling with the installation of plugins. Yesterday was no different: Upgrading to Ganymede left me without a working Flex Builder plugin. The MXML editor simply breaks with a traceback:
org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed:
at org.eclipse.jface.util.Assert.isTrue(Assert.java:185)
at org.eclipse.jface.util.Assert.isTrue(Assert.java:170)
at com.adobe.flexbuilder.editors.derived.editor.FlexMultiPageEditorPart.setActivePage(FlexMultiPageEditorPart.java:569)

I did find a solution here (make sure to restart eclipse with -clean afterwards), but this kind of fiddling with the installation is not something I should have to do. Especially not with a plugin that’s as important as Flex Builder. Adobe, I’m looking at you!

Eclipse + CDT + MinGW + XP x64

I’ve previously complained about the lack of decent free IDEs for developing C++, and since it’s been a while, I gave Eclipse another shot. The good news: CDT 4 no longer crashes every 5 minutes, it has much better project structure, and I think I can work with this. The bad news: It took ages to get everything up and running with MinGW.

The following is an attempt to remember what the problems were.
Continue reading

Eclipse RCP Patch 1 for 3.3.1 (3.3.1.v20071002_331) requires feature “org.eclipse.rcp”

I recently spent half a day trying to fix this Eclipse error message, which prevented me from updating/installing anything at all. So in case I ever trip over it again, here’s the solution:

  1. Help -> Software Updates -> Manage configurations -> Eclipse RCP Patch 1 -> disable
  2. restart
  3. Help -> Software Updates -> Find and Install -> Scan for updates of the currently installed features
  4. restart

I need a good linux IDE

I admit it: In the choice between emacs and vi, I choose “none of the above”. I want a C++ IDE. I’ve grown up with Borland Pascal, then used the Visual Studio IDE, and I’ve never used anything without a good integrated debugger.

Switching from Visual Studio to emacs + gdb is something I’m no longer able to do. So this weekend, I had a look at some of the IDE offerings that Linux had. It’s not a happy tale.

First there’s eclipse. Many people (Java people) swear by this, and as they point out repeatedly, it isn’t a Java IDE, it’s an IDE for anything you want. Sort of like Visual Studio is (if what you want is a MS language). I downloaded the CDT, and I like the way that’s all done from inside the IDE. But then… I tried to create a managed makefile from the Eressea sources, because if I’m going away from commandline make, I’d like to also go away from makefiles, thank you. very much. Not possible, though. It seems Eclipse has a weird conception of projects being everything that is in one folder, no more, no less. If I have the sources for my library and two executables all in the same folder, for example, I can’t make eclipse build a library and two executables. Instead it tries to mush all of it together. But really, that is academic, because I couldn’t even get it to do that – Eclipse + CDT crashed every 5 minutes. All I get is some java exception, no option to save my work, and then it’s gone and I’m back to square one.

Code::Blocks was my next candidate, because many people on the Ogre3D forums are raving about that. I installed it on Windows from the binaries, and while not pretty, it looked close enough to what I want. So.. debian packages? No dice. No packages for any distribution, actually. Build it from the sources, they say. But even that isn’t easy. It comes without a configure script, and requires me to install automake, but not the automake I had, no, that other version of automake please, and then it would bitch about something or other and completely refuse to do anything at all. No dice. I didn’t even get a configure script. Screw this.

There’s still kdevelop left to test. Like Obi Wan, it is my only hope to run linux on the desktop. Yes, my web browser and office suite run on linux, too, but without an IDE, I have to stick with Windows as my OS, because programming is what I do 90% of the time I’m at the computer.