Eclipse 3.1M5 & WTPM3

I work with eclipse at work so it’s always nice to see new goodies from eclipse.org. I haven’t had time yet to check these out but I sure will. Eclipse M4 & Web Tools Project M2 was a little shaky for me so I had to revert back to Eclipse 3.0.1 & MyEclipse. I hope the Eclipse M5 milestone will be somewhat more stable and that the WTP M3 will add the flexibility I need for more complicated projects. In M2 it still insisted on a very particular directory structure and on (needlessly) generating all sorts of stuff. This simply does not map to what I want very well. Since this is listed as one of the things that they fixed in this release, I am optimistic.

Go get the goodies here:
– http://eclipse.org/webtools/index.html
– http://www.eclipse.org/downloads/index.php

Update: definately not ready for action (WTP) :-(. Two severe exceptions whilst trying out some of the functionality. The thing started with an error about some axis jars not being available. This was in the releasenotes. Then I tried to create a web project and there things got ugly. I have no time to investigate this any further and will wait for M4.

more on subclipse

I had some more fun with subclipse today. The integration with eclipse is much better than I anticipated. Eclipse already has extensive cvs functionality. Subclipse acts as a backend for this functionality and that means you get a lot of nice features. I was also pleasantly surprised with how well subclipse performs. Overall I am not so happy with eclipse in this respect (rebuilds suck and they happen a lot). But at subclipse seems to do well (compared to tortoise svn and commandline svn). Of course the bottleneck is network and disk io and doing this in Java doesn’t seem to have much performance impact. Things like getting svn logs for directories actually seems to work faster. Also I absolutely love the diff tools in eclipse.

tomcat and iis

I had to look into some configuration issues which I had been delaying for the past few weeks. How to get iis to play nice with tomcat such that you can have two virtual iis servers forward stuff to one tomcat with again two virtual servers.
We have two tomcat applications that we need to shield from the outside world with a webserver like apache or iis. How this works is that the webserver forwards some urls to tomcat and acts as a proxy for those urls.

This is pretty routine stuff, the only problem is that it is not documented how one should do this. And lets face it, the apache jakarta people write beautiful code but their documentation is typically not that good. You can get started easily but the advanced stuff is understandably not documented well. I say understandably because I understand that developers have other priorities (like getting things to work) but still, it’s bloody unusable now.

But I figured it out today thanks to this page: http://tjworld.net/help/kb/0001_iis6-Tomcat5-JK2.html#conConnector. This page contained all the necessary information to get me started. I followed the instructions to the letter and ended up with a working iis-tomcat setup. From there it was easy, just add a few hosts to the tomcat server in server.xml (I’m going to experiment with the alias tag later on) and add a bunch of iis virtual services (all with the isapi filter active) for each of the tomcat hosts. Works just fine. I knew all along that it was possible to do this and now I have the proof :-).

subclipse

For the zillionth time I decided to spend some time trying to get subclipse (http://subclipse.tigris.org/) to play nice with our svn+ssh repository at work. For those scratching their heads: eclipse is a popular java development ide; subversion is a version management system and subclipse is a subversion backend for eclipse’s team synchronization functionality. Until recently subclipse did not support subversion repositories secured with ssh, which unfortunately is a very common type of subversion repsository (and also very easy to setup). So, no subclipse. The reason was that subclipse depends on a native subversion library which in turn depends on the presence of ssh. That’s a lot of dependencies and it doesn’t work without a lot of tinkering and even then it may not work.

But the good news is that the guys at http://tmate.org fixed things for the subclipse guys by providing a java only implementation of the svn library. I installed it today and it works beautifully. The eclipse team synchronization stuff looks really useful and with subclipse finally working I can now put it to work.

Pivot

I’ve long avoided the use of an actual php based blog tool. However pivot makes it really easy to do what I want and I plan to not touch any of the php stuff so I installed it. It’s a pretty nice cms / blog tool. It seems to have everything a blog needs like comments, rss feeds, archives, etc. Also it doesn’t use a database so it is portable and maintenance free. It’s just a bunch of files in a directory. I like it that way.
I still need to fix lots of things like getting rid of the default layout and putting some content on this page. The frequency of posts won’t necessarily increase btw.