Archive for the ‘Eclipse’ Category

PyDev 1.0.6 backporting

Thursday, June 1st, 2006

As I mentioned 2 weeks ago, I decided to backport PyDev 1.0.6 to Java 1.4 so that we could include it in Fedora. I’m glad to say that I’m done, and the patches are available here . Fabio, the author of PyDev, has released versions 1.0.7 and 1.0.8 in quick succession last week, which are bug fix releases, so I’ll be updating my patches for that shortly.

Right now I’m working on getting Jython into Fedora Extras because PyDev has Jython support. I could disable that support, and push the PyDev update into Core. But I decided it would be better to get Jython in extras, it’s a pretty important package I think. What I’ll probably end up doing once that’s done is splitting the PyDev SRPM in to several binary RPMS and make the eclipse-pydev-jython one depend on Jython itself.

If anybody is willing to be the shepherd of any of the 5 packages that include Jython and it’s dependencies in Extras let me know, as I probably won’t have time to maintain them.

We need a newer PyDev

Thursday, May 18th, 2006

Red Hat’s Toronto office recently got 6 new interns. It’s going to be a fun summer with 13 interns sitting together in one cube area :D.

Other than yelling very loudly for the whole day (I swear we were quieter last year!!) the interns are working on some improvements to yum. They’ve all used Eclipse before so they naturally wanted to use it. Very quickly they learned that we ship PyDev and so they tried that. Unfortunately we can only ship versions < 0.9.6, and currently we have 0.9.3. Even more unfortunately 0.9.3 sucks. Mostly because there were tons of additions and fixes since then, possibly also because of the way we’re running it, or because of GCJ. In any case, I decided that we *really* need to have a newer version, because this one is pretty close to useless as it is.

In the next few days I’m going to look to backporting PyDev 1.0.6 (latest released) to Java 1.4 and then pushing that as an update to FC5. We don’t have to do this often, but if it only takes 2 days, I can repeat the procedure before the end of the summer (when I’ll be going back to school). And then we could either repeat it again a few months after or just wait until we have real 1.5 language feature support (I don’t think PyDev uses any new library features, except Genericsized collections).

FUDCon Boston

Saturday, April 8th, 2006

This Friday I presented at FUDCon Boston about Eclipse in Fedora. My presentation was first thing in the morning, so I barely made it on time. Also the highest resolution I managed to get on the projector was 640 by 480, felt like I was back in ’92 or something. The presentation went pretty well I think, had a bunch of good question. And one person came over and told me about a particular problem he had with Webtools with our Eclipse, for which he apparently filed a bug, so now we have to look at that one ;). Unfortunately I didn’t get to do a demo, because at that resolution you could barely see anything in Eclipse. I also didn’t manage to make a screencast the night before, all the screencast tools died on me. Wink didn’t work with libstdc++.6.so. Istanbul took 100% CPU when recoding, which is something that’s reserved to Eclipse, so no go.

The conference itself was great. I got to meet a whole lot of people, some of whom I sort of met on IRC before. A lot of redhatters, a lot of other fedora-folk. It was very impressive to see so many people at once who are passionate about open source and about Fedora in particular. Very inspiring.

The presentations were interesting. One session with Jeremey Katz was about FC6. Everyone brainstormed about what should be included, the length of the development cycle, and when test releases should be. Cool. Another session talked about sound in Linux. Apparently Red Hat hired the speaker (whose name I can’t remember unfortunately) to make the situation with sound better. Frankly I didn’t know it was really bad, but I’m not a sound guy anyway. The guy seemed to be very knowledgeable and was a very entertaining presenter. Unfortunately I missed most of the presentation that Seth Vidal gave about Yum, but that got compensated by a great presentation by Ann Margulies, executive director of MIT’s OpenCourseware program. This presentation was really inspiring, not least because many universities from around the world are starting to join MIT in this program, opening up their lecture materials for everyone to see. I think this is a great initiative and I’m going to see if there’s any way we can start something like this at U of T. Why should we be the only ones that suck?

The last presentation was the State of Fedora adress by Max Spevack and Greg DeKoenigsberg. This wasn’t as much a presentation as a discussion with audience participation about the future of Fedora, and who are the people who are going to make it happen. There was some inevitable discussion of the Fedora Foundation Affair, but that went more smoothly than I thought it would. This was a pretty interesting session overall. I think the Fedora community is growing larger and stronger bit by bit, and it’s always a pleasant feeling to be part of something that’s growing, and that looks like it’s going the right way.

Go Fedora!

New ChangeLog plugin (2.0.2)

Thursday, March 30th, 2006

We’re going to release a new version of the ChangeLog plugin to the Fedora Core 5 update repository tomorrow. This update has some bug fixes with the formatting of the ChangeLog when one person tries to do consecutive commits. This version has been sitting in the update site for a few days and there haven’t been major complains, so if testing goes nicely tomorrow, I’ll push it to the updates repo. I’m also planning to try and get some new functionality integrated into the ChangeLog plugin if I have time over the next few weeks.

I’d like to get it playing nicely with the Compare editor because I find that most of my ChangeLogs are written up while inspecting changes in the Compare Editor. I usually go through the files, see what I changed and write entries. Right now I have to go through:

right-click -> Open with Editor -> Ctrl+Alt+C

I should really be able to do Ctrl+Alt+C from the compare editor at the very least. In the best case scenario I’d like to go through the diff and see what functions changed, and have them all put in the entry stub (possibly providing an option for just using the filename instead).

New Eclipse Fedora Update Site

Wednesday, March 8th, 2006

Yesterday I uploaded a new update site, made by Jeff Pound, for the Eclipse plugins we ship in Fedora. We now finally have both the ChangeLog and Bugzilla plugins in the same update site, which should be much more convenient. The main problem that we’re seeing with this is that we currently do not support the 3.2 builds, only 3.1.x, this is because the plugin depends on a patched up org.eclipse.compare plugin. The patched version exposes API that is internal in the official Eclipse.org version, and this allows us to apply patches from bug reports to projects in the workspace. Unfortunately these patches by Jeff were largely ignored by the core Eclipse folk, and are not committed to the 3.2 branch. On top of that the code that the patch applies to is still changing, since it’s internal API that the patch exposes and is not covered by the API freeze. So for now we are only supporting Eclipse 3.1 in the Bugzilla plugin. In the near future we may branch it so that we have a cut down version without the patch functionality for 3.2 (which is not that huge of a deal anyway). But we still need the internal API to stop changing for this. I guess we’ll wait and see.

New Fedora Eclipse Website

Thursday, March 2nd, 2006

After much tweaking of the content for the renovated Fedora Eclipse website, it is finally up on the web. Thanks to Diana Fong, our very talented graphic designer, for the very nicely done design. I think this is miles better than our previous page, which had very little information. We now have separate pages for the different plugins, so we can have some info on them. The next important step is to migrate the Bugzilla plugin’s update site into the sourceware.org server, which I will hopefully do tomorrow. This should make the Fedora Eclipse effort much more visible, and allow people to communicate with us better. Let me know if you find any problems with the site.

Jars in Eclipse Plugins

Wednesday, February 15th, 2006

In the past 2 days I’ve been trying to update the Bugzilla plugin before Fedora Core 5 test 3. I’ve been trying to make it play nice with the Red Hat bugzilla through the XMLRPC interface instead of html-scraping. The functionality was already there but I discovered that Eclipse couldn’t find the jar file that contained the Java xmlrpc library , which was located in /usr/share/java. I decided to stick the jar in the plugin and be done with it. Boy was I wrong. It took me a whole day of head-banging on Monday to *not* get it working. Seems like a pretty simple issue, getting a plugin to recognize a jar *inside the plugin*. But apparently getting a jar file onto the runtime classpath is a fundamentally difficult problem. Yesterday morning after talking to some eclipse people on IRC I got a link to this life saving post, that lists 6 steps to ultimate happiness. Half an hour of checking, testing, rebuilding and more testing and I was done.
Granted I should have gone and asked a bit earlier (how about a day?) but the fact that I was tweaking the same settings for a whole day and managed to not stumble on the correct set is also telling.

Blogs, PHP, and Apache

Sunday, February 12th, 2006

So this weekend I finally decided to get my hands dirty and try to learn how to administer Apache, understand PHP, and (hopefully by virtue of the previous things), figure out how WordPress actually works. Phew, it was a long weekend.

I started out by redoing the Fedora Eclipse website, because it badly needed an overhaul. It’s not completely finished yet, but I moved it to pure XHTML/CSS from a table, I also seperated it out into sections so that we can actuallly add meaningful content. Here, take a look at my current permutation. You might notice that it looks awfully similar to the old one. That’s because my CSS skills aren’t that amazing yet to come up with a new design.

After that I read/skimmed about half an Apache book. Most of it obviously went over my head :). But I finally figured out what and how mod_rewrite works. Yay for obfuscation! After that I read the PHP manual, which was pretty informative. I gotta say that I’m very impressed with PHP, it’s super simple, it’s expressive, and it’s got a lot of very nice modules. Impressive, to say the least. On a side note, looking at OO in PHP5 was almost indistinguishable from looking at Java, except for a few very minor details. I guess all programming languages are slowly but surely converging to The One True Java.

My head was kinda spinning towards midday Sunday from information overdose. Especially given the fact I also have a cold. But I managed to dig through WordPress documentation and figure out why my about me page displayed weird PHP errors when accessed. Even better, I fixed it. So there, I accomplished something useful.
And now, to sleep.

*zzzzz*