More info on JSP support for Eclipse

This is a follow-up to my previous posting on several Eclipse shortcomings, mostly regarding JSP support. As I was confused by the relationship between the official M1 release of the Eclipse Web Tools Platform Project and the various initial contributions, I did a little more research on this.

It turns out that quite a few people on the Eclipse newsgroups had the same question… The initial contributions (IBM and Lomboz) are now obsolete and will be replaced by the WTP. However, the M1 release only contains very basic functionality and most importantly does not include JSP editing support. In fact, according to the WTP Milestone Plan, support for editing and debugging is only a medium priority for the M2 release (scheduled for December 22) and a high priority for the M3 release (February 25).

The initial focus appears to be on server support, which I think is a big mistake. All of these things are already possible by using Ant, which integrates nicely with Eclipse. Editing JSPs on the other hand requires the use of a third party editor until this functionality is made available in Eclipse. 4 years ago, this may have been acceptable, but in the last few years the ability to edit all components of a project within the same IDE has become pretty standard, and certainly results in much improved productivity.

The best course of action in the interm will probably be to uninstall the WTP M1 release and install either the IBM or the Lomboz contribution. If neither works acceptably, I guess I’ll have to go back to editing my JSPs outside of Eclipse, for example using JEdit. Or persuade my boss to buy me an IntelliJ IDEA license… which would be sad in some ways, as I really like many aspects of Eclipse, and more importantly the idea of relying on open source tools.

To be continued…

2 Responses to “More info on JSP support for Eclipse”

  1. Ken Says:

    I work pretty much everyday with the WebSphere Studio Application Developer (WSAD) the PAY version of the Eclipse equation. It’s got great support for jsp editing, comparatively speaking. I run WSAD at work and Eclipse at home, and the free Eclipse is a poor cousin in comparison. However, there are many different pieces/parts you can use with Eclipse which is the great thing. If you REALLY want to have highlighting and such, write your own plugin for Eclipse and call it a day.

    As for Ant in Eclipse, I think it’s ok, but I still mandate that my developers ‘do it raw’. Meaning that they complete build still must function correctly (including junit, jcoverage, checkstyle, jdepend, etc, etc,etc, all other steps). I have found problems getting all the Ant stuff to work correctly with WSAD as it adds some funky classpath issues that have to be resolved, that and it has some internal ‘gotchas’ in the classpath also (like it’s own version of xerces hidden in the bowels of the system).

    No tool is perfect, but for free, it’s worth more than most I’ve seen out there.

  2. DigitalHobbit Says:

    Eclipse is definitely a very decent tool, I agree - even though there are still a few rough edges. I wonder how close WSAD’s JSP support is to IBM’s contribution to the Eclipse Web Tools Platform project. I assume that this must be the origin of the code, which would be promising. I have removed the milestone release of the WTP from my Eclipse installation, but I have yet to try running IBM’s contribution. One of these days…

Leave a Reply