I was always wondering whether developing MySQL with Eclipse/CDT will work or not. I tried to import our code base more than a year ago, but it did not worked out that well.
Eclipse/CDT got a lot better and I tried to import the MySQL code base again. To my positive surprise this time it worked.
You can try it for yourself: I wrote up a small howto covering installation, configuration, and basic debugging of MySQL with Eclipse/CDT at MySQL Forge.
You can find the document here: Eclipse/CDT on Linux and Mac OS X
I am looking forward to get your feedback. There are still some open points I would like to figure out:
- How to ignore SCCS/ directories of Bitkeeper in “Project View” and for code lookup?
- [UPDATE]: To ignore a directory, one has to use ant style wildcards. In case of ignoring all SCCS folders use **/SCCS/**.
- How to generate Makefile without running full
BUILD/compile-xyz
script. UseBUILD/compile-xyz -c
(notice the -c option). Thanks to Timour Katchaounov who figured this out. - Starting debug triggers a “make all” every time, which costs too much time. How to avoid “make all” if no files where changed?
By HeavyGod 2007-11-27 - 11:34
Really good and really interesting post. I expect (and other readers maybe :)) new useful posts from you!
Good luck and successes in blogging!
By music 2008-01-08 - 20:05
very interesting.
i’m adding in RSS Reader
By Tim 2009-08-25 - 23:34
Hi, I came across your post when trying to setup mysql/eclipse. After using your instructions and a bit of trial and error I figured out how to set up MySQL dev on the latest version of Eclipse. I wrote up an article on it with hopes that someone will find it useful: http://obscuredclarity.blogspot.com/2009/08/setup-mysql-development-in-eclipse.html
Rock on!