Re: [mevenide-user] support for test-debug goal

"Milos Kleint" <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
can't be done. the forkMode and argLine parameters on the command line
are unique to the surefire-plugin. Each plugin can have different
parameters which I'm not able to anticipate.

Milos

On 9/14/07, Mohni, Daniel <[email protected]> wrote:
> what about adding a checkbox to the Custom/Goals Dialog
> like
>         [] Attach Debugger
>
> then everybody can use this easily on any target....
>
> Daniel
>
> > -----Original Message-----
> > From: Milos Kleint [mailto:[email protected]]
> > Sent: Friday, September 14, 2007 7:47 AM
> > To: [email protected]
> > Subject: Re: [mevenide-user] support for test-debug goal
> >
> > you can execute it as "Custom/Goals:" and in the dialog check that you
> > want to remember that for the given project (there's an enhancement
> > filed requesting to be able to create a global list for all projects-
> > http://www.netbeans.org/issues/show_bug.cgi?id=97358)
> > then the "Debug Test" items shows up under "Custom" submenu. That's
> > the preferred solution from my point of view as other project types
> > (ant-based ones) don't have this action either.
> >
> > Milos
> >
> > On 9/14/07, Mohni, Daniel <[email protected]> wrote:
> > > Tnx Milos,
> > >
> > > Is it possible to add this as a netbeans action in the context
> > > menu of a maven project/module ?
> > >
> > > like:
> > >         Run             (existing)
> > >         Debug           (existing)
> > >         Test            (existing)
> > >         Test Debug      (new)
> > >
> > > maybe thiss is a feature request ?
> > >
> > > Daniel
> > >
> > > > -----Original Message-----
> > > > From: Milos Kleint [mailto:[email protected]]
> > > > Sent: Friday, September 14, 2007 7:30 AM
> > > > To: [email protected]
> > > > Subject: Re: [mevenide-user] support for test-debug goal
> > > >
> > > > AFAIK this shall do.
> > > >
> > > > mvn -DforkMode=once -DargLine="-Xdebug -J-Xnoagent
> > > >
> > -Xrunjdwp:transport=dt_socket,suspend=y,server=y,address=8888" test
> > > >
> > > > then attach the debugger in the IDE to localhost:8888
> > > >
> > > > Milos
> > > >
> > > > On 9/14/07, Mohni, Daniel <[email protected]> wrote:
> > > > > Hi,
> > > > >
> > > > > currently I can debug a junit test file inside a maven project,
> > > > > but i can not automaticly start a test session (mvn test) and
> > > > > attach the debugger to that session.
> > > > >
> > > > > Is there an easy way to do this ?
> > > > >
> > > > > Regards
> > > > >
> > > > > Daniel
> > > > >
> > > > >
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe from this list please visit:
> > > > >
> > > > >     http://xircles.codehaus.org/manage_email
> > > > >
> > > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe from this list please visit:
> > > >
> > > >     http://xircles.codehaus.org/manage_email
> > > >
> > > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe from this list please visit:
> > >
> > >     http://xircles.codehaus.org/manage_email
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.