views:

536

answers:

1

Hi,

I am currently developing a J2EE application and I would like to use Jetty. I would like to have iot integrated with Eclipse, so I could debug the appliaction.

I've tried out couple of plugins (including WTP) but nothing works well enough. Run Jetty Run plugin is the best, but I cannot specify context-root in it, which makes it unusable for me.

What would you recommend?

+1  A: 

but I cannot specify context-root in it, which makes it unusable for me

You normally specify the context root in the project's properties, not in the server plugin. Rightclick the web project and navigate to Web Project Settings. There you can set the context root.

By the way, if you really want to get the most out of Eclipse to develop Java EE applications, you really should get "Eclipse for Java EE developers", and thus not "Eclipse for Java developers".

BalusC
The EE edition of Eclipse is quite fine for developing Web Apps. Just notice there is no server included, so you will need to configure one (and most likely download it too) which is a bit confusing if you end up doing it as part of something else.
Thorbjørn Ravn Andersen