; > > > > > exec:exec for different common situations. Really I don't think
> > > there
> > > > > is
> > > > > > > any need whatsoever for a dedicated "mvn exec:jdb" here.
> > > > > > >
> > > > > >
baker" <
> > apenneba...@42six.com
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Why would anyone want to do this? So we don't have to debug
> Maven
> > > > > > projects
> > > >
; > > > accomplished by Maven tasks which interact with the command line
> > jdb
> > > > > tool.
> > > > > >
> > > > > >
> > > > > > On Thu, Oct 10, 2013 at 5:27 PM, Russell Gold <
> r...@gold-family.us
> >
> actual
> > > > > > requirement.
> > > > > >
> > > > > > On Oct 10, 2013, at 2:25 PM, Andrew Pennebaker <
> > > apenneba...@42six.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Yes, various Java IDEs can d
en
> > > > > > project with an arbitrary text editor, not necessarily Eclipse or
> > > > > Intellij,
> > > > > > for example Emacs, or even Notepad, by invoking Maven tasks that
> > > point
> > > > to
> > > > > > Mav
You could run it via the maven-exec-plugin, which allows you to pass down the
classpath.
On 11 Oct 2013, at 3:52, Andrew Pennebaker wrote:
> Yes. I'm looking for a task like `mvn jdb:debug ` that starts a jdb
> session on .main().
>
> I can run jdb on individual Java code outside of a Maven stru
> > >
> > > > > On Thu, Oct 10, 2013 at 2:09 PM, Sankaran, Nambi <
> nsanka...@ebay.com
> > >
> > > > wrote:
> > > > >
> > > > >> It very is easy to debug maven from eclipse, I have documented
> how I
> > >
u, Oct 10, 2013 at 2:09 PM, Sankaran, Nambi >
> > > wrote:
> > > >
> > > >> It very is easy to debug maven from eclipse, I have documented how I
> > > debug
> > > >> maven-jetty-plugin using eclipse
> > > >>
> > > >>
.com]
> Sent: Friday, October 11, 2013 9:58 AM
> To: Maven Users List
> Subject: Re: Is there a Maven plugin for the Java debugger (jdb)?
>
> Why would you want to walk from New York to San Francisco when you can fly?
>
> Some people are gluttons for punishment, some peop
t; >>
> >
> http://nambisankaran.wordpress.com/2012/06/30/running-jetty-server-with-maven/
> > >>
> > >> -Original Message-
> > >> From: Andrew Pennebaker [mailto:apenneba...@42six.com]
> > >> Sent: Thursday, October 10, 201
(plugin) that can enable this for emacs or vim, would be a
great.
-Original Message-
From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
Sent: Friday, October 11, 2013 9:58 AM
To: Maven Users List
Subject: Re: Is there a Maven plugin for the Java debugger (jdb)?
Why would you want
etty-plugin using eclipse
> >>>>
> >>>>
> >>
> http://nambisankaran.wordpress.com/2012/06/30/running-jetty-server-with-maven/
> >>>>
> >>>> -Original Message-
> >>>> From: Andrew Pennebaker [mailto:apenneba
nning-jetty-server-with-maven/
>>>>
>>>> -Original Message-
>>>> From: Andrew Pennebaker [mailto:apenneba...@42six.com]
>>>> Sent: Thursday, October 10, 2013 11:04 AM
>>>> To: Maven Users List
>>>> Subject: Re: Is there a Ma
rver-with-maven/
> >>
> >> -Original Message-----
> >> From: Andrew Pennebaker [mailto:apenneba...@42six.com]
> >> Sent: Thursday, October 10, 2013 11:04 AM
> >> To: Maven Users List
> >> Subject: Re: Is there a Maven plugin for the Java debugger
mailto:apenneba...@42six.com]
>> Sent: Thursday, October 10, 2013 11:04 AM
>> To: Maven Users List
>> Subject: Re: Is there a Maven plugin for the Java debugger (jdb)?
>>
>> I could also use an IDE for package management, but I'd rather use plain
>> Maven and
: Thursday, October 10, 2013 11:26 AM
To: Maven Users List
Subject: Re: Is there a Maven plugin for the Java debugger (jdb)?
Yes, various Java IDEs can debug Java code, including Java code organized in
Maven projects. What I'm interested in is debugging Java code in a Maven
project with an arbi
server-with-maven/
>
> -Original Message-
> From: Andrew Pennebaker [mailto:apenneba...@42six.com]
> Sent: Thursday, October 10, 2013 11:04 AM
> To: Maven Users List
> Subject: Re: Is there a Maven plugin for the Java debugger (jdb)?
>
> I could also use an IDE for pac
, 2013 11:04 AM
To: Maven Users List
Subject: Re: Is there a Maven plugin for the Java debugger (jdb)?
I could also use an IDE for package management, but I'd rather use plain Maven
and an arbitrary text editor instead.
On Thu, Oct 10, 2013 at 11:21 AM, Russell Gold wrote:
> The simp
Thanks! I'll look into it!
On Thu, Oct 10, 2013 at 12:02 PM, Curtis Rueden wrote:
> Hi Andrew,
>
> Another option is to use the exec-maven-plugin to launch your java program
> of choice, then attach to it with jdb afterward using the "-attach" option.
>
> See also:
> http://stackoverflow.com/qu
I could also use an IDE for package management, but I'd rather use plain
Maven and an arbitrary text editor instead.
On Thu, Oct 10, 2013 at 11:21 AM, Russell Gold wrote:
> The simplest way to do this is actually to run it in your IDE directly.
> IntellijIDEA community edition can import your m
Hi Andrew,
Another option is to use the exec-maven-plugin to launch your java program
of choice, then attach to it with jdb afterward using the "-attach" option.
See also:
http://stackoverflow.com/questions/2935375/debugging-in-maven
Regards,
Curtis
On Thu, Oct 10, 2013 at 10:21 AM, Russell Go
The simplest way to do this is actually to run it in your IDE directly.
IntellijIDEA community edition can import your maven project and thus get all
of the dependencies. Then you just run the program in the debugger. I presume
Eclipse can do something similar.
On Oct 10, 2013, at 10:52 AM, And
Yes. I'm looking for a task like `mvn jdb:debug ` that starts a jdb
session on .main().
I can run jdb on individual Java code outside of a Maven structure, but I'm
not sure how to inform jdb of Java code in a Maven project, Maven's
CLASSPATH handling, etc. etc.
On Thu, Oct 10, 2013 at 10:46 AM,
What would that mean? Do you want to execute the program in the debugger?
On Thu, Oct 10, 2013 at 10:38 AM, Andrew Pennebaker
wrote:
> I'd like to run jdb over some of my classes in a Maven project. Is there a
> plugin I can drop into my pom.xml?
-
24 matches
Mail list logo