Help for debugging webapp-project on Jetty

Hi folks,

I followed description in http://docs.codehaus.org/display/JETTY/Debugging to debug my app. It so far works, but it goes to sample webapplications of my Jetty-Installation but not to my Intellij project. I couldn't find a hint where to set it to my context. At tomcat configuration there is a Deployment tab when configuring, which is missing at the generic JSR45 server, so what place is this information put?

Has anyone succeeded to debug webapp in Intellij on Jetty in connection with maven2?

thanks.

btw: IntelliJ should provide an out-of the box support for Jetty (it is a quite popular servlet-container).

forgot to mention: am using IntelliJ 8 release.

Edited by: manuel aldana on Nov 9, 2008 4:40 PM

1 comment
Comment actions Permalink

On Sun, 09 Nov 2008 14:34:22 +0000, manuel aldana wrote:

Hi Manuel,

I followed description in
http://docs.codehaus.org/display/JETTY/Debugging to debug my app. It so
far works, but it goes to sample webapplications of my
Jetty-Installation but not to my Intellij project. I couldn't find a
hint where to set it to my context.

Has anyone succeeded to debug webapp in Intellij on Jetty in connection
with maven2?


You can try the Jetty Integration Plug-in (see the announcement I just
made in the plug-ins newsgroup/forum). It lets you define specific Jetty
application server configurations rather than the generic JSR45
configuration described in the codehaus doc. You can then define Jetty-
specific run and debug configurations that refer to a Jetty application
server configuration.

If you accept the defaults that the plug-in creates for you (and you
haven't modified your jetty.xml file) then you should find that you can
deploy and undeploy your web facets at will at runtime (either manually
or on 'make').

I've never used maven so can't comment on how that might affect things
(but if maven can launch an IDEA run/debug configuration then I don't see
there being a problem).

btw: IntelliJ should provide an out-of the box support for Jetty (it is
a quite popular servlet-container).


Let's hope that the plug-in restores your Development Pleasure :)

--
Mark Scott
mark@codebrewer.com

0

Please sign in to leave a comment.