Dienstag, 23. März 2010

Move method refactoring support

I got feedback that move method refactoring is not working.

Yes thats absolutely true. Although there is already a class MoveMethodPartiticipant the Change was not created. Seems that I just forgot to implement it.

This is fixed and available in HEAD.

Implementing features is much more fun than working on the update site :-)

Sonntag, 21. März 2010

p2 and no end

Today I decided not to give up the attempt to p2-enable the update site and I found a blog post with a migration guide:

http://plosquare.blogspot.com/2009/05/migrating-eclipse-update-sites-to-p2.html

Perhaps I will get it work with this article, but why does eclipse not offer such a guide?

Sonntag, 7. Februar 2010

Again troubles with update sites

Today I wanted to prepare a new release of MoreUnit. But when testing everthing with the test update site the plugin does not work because of:

Unable to access file "plugins/org.moreunit_1.4.0.jar!META-INF/MANIFEST.MF".

WTH is going on? The Manifest is in the JAR, googling around did not help very much.

It is  really annoying to spend so much time about update sites. It is the first time thinking about stopping to work on this project and spending my freetime for something else.

Donnerstag, 21. Januar 2010

It's working

Tonight I found out what I was doing wrong. I forgot to add the new version to the catgory.xml. As a consequence my update appeared but was uncategorized. Removing the corresponding checkbox showed the update. I fixed that and now the update appears as it should.
Not that a big thing (if you know what you have to do).

Mittwoch, 20. Januar 2010

Fighting with update sites

Today I played around with my test update site, but with no success. It was not possible to add a new release and update to that (p2-enabled). I think it is a quite easy task for experienced eclipse plugin developers, but if you are a free-time open source developer who wants to concentrate on adding features to a plugin it is annoying to spend so much time for those things :-(

Montag, 18. Januar 2010

Test Updatesite p2-enabled

Tonight I uploaded a test update site on http://moreunit.sourceforge.net/org.moreunit.updatetest/ which should be p2-enabled. I used the File > Export > Deployable features to generate a artifacts.xml and category.xml which should be enough to p2 enable MoreUnit (hopefully). The update site seems to work so I think it's a good start.

Sonntag, 17. Januar 2010

Patch and p2

Tonight I integrated a patch to start tests from the CUT.
After that I started to read a little bit about p2 again, because MoreUnit is not p2 enabled yet. Last time I tried, it did not work properly and documenation was quite rare. Todays try was not very successfully too. Documentation about update sites on eclipse.org is outdated and the p2 site wiki did not offer a easy switch guide for plugin developers from older update sites :-(