You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jan Bartel <ja...@mortbay.com> on 2006/04/06 17:59:43 UTC
Re: maven-jetty6-plugin
Rolf,
FYI.
I have added your instructions for running the jetty plugin
under the eclipse debugger as a FAQ entry on the jetty6
site at:
http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
I've credited your name.
regards
Jan
Rolf Strijdhorst wrote:
> yes, there is just start maven with:
> jetty6:run
> but have in the environment tap of externaltools
> a variable MAVEN_OPTS with content: -Xdebug -Xnoagent
> -Djava.compiler=NONE-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4000
>
> next run debug on port 4000 or the same portnumber as the address property
> on the line above
> if you also specify that the debugger is able to terminate the jvm then you
> can reuse the debug session the next time you start jetty.
>
> Rolf
>
> On 12/26/05, Koen Maes <ko...@koma.be> wrote:
>
>>maven jetty plugin works great but i would like to debug my webapp via
>>eclipse
>>is there any option - like tomcat : catalina.sh jpda start - to tell jetty
>>that it should open up a JPDA port so I can connect with eclipse remote
>>debugger ?
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven-jetty6-plugin
Posted by Rolf Strijdhorst <ro...@gmail.com>.
Jan,
I have a fine tune addition
when you supply: suspend=n instead of suspend=y
you can start immeadiatly without running the debugger and launch the
debugger at anytime you really wish to debug.
Rolf
By the way
Thanx for the credit
On 4/6/06, Jan Bartel <ja...@mortbay.com> wrote:
>
> Rolf,
>
> FYI.
>
> I have added your instructions for running the jetty plugin
> under the eclipse debugger as a FAQ entry on the jetty6
> site at:
>
> http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
>
> I've credited your name.
>
> regards
> Jan
>
> Rolf Strijdhorst wrote:
> > yes, there is just start maven with:
> > jetty6:run
> > but have in the environment tap of externaltools
> > a variable MAVEN_OPTS with content: -Xdebug -Xnoagent
> > -Djava.compiler=NONE-Xrunjdwp:transport=dt_socket
> ,server=y,suspend=y,address=4000
> >
> > next run debug on port 4000 or the same portnumber as the address
> property
> > on the line above
> > if you also specify that the debugger is able to terminate the jvm then
> you
> > can reuse the debug session the next time you start jetty.
> >
> > Rolf
> >
> > On 12/26/05, Koen Maes <ko...@koma.be> wrote:
> >
> >>maven jetty plugin works great but i would like to debug my webapp via
> >>eclipse
> >>is there any option - like tomcat : catalina.sh jpda start - to tell
> jetty
> >>that it should open up a JPDA port so I can connect with eclipse remote
> >>debugger ?
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>