Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-16 Thread Andrew Pennebaker
; > > > > > exec:exec for different common situations. Really I don't think > > > there > > > > > is > > > > > > > any need whatsoever for a dedicated "mvn exec:jdb" here. > > > > > > > > > > > > >

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-15 Thread Curtis Rueden
baker" < > > apenneba...@42six.com > > > > > > > > > > wrote: > > > > > > > > > > > > > Why would anyone want to do this? So we don't have to debug > Maven > > > > > > projects > > > >

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-15 Thread Andrew Pennebaker
; > > > 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 > >

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-15 Thread Curtis Rueden
> actual > > > > > > requirement. > > > > > > > > > > > > On Oct 10, 2013, at 2:25 PM, Andrew Pennebaker < > > > apenneba...@42six.com> > > > > > > wrote: > > > > > > > > > > > > > Yes, various Java IDEs can d

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-14 Thread Andrew Pennebaker
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

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-11 Thread Mark Derricutt
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

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-11 Thread Curtis Rueden
> > > > > > > > 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 > > >

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-11 Thread Andrew Pennebaker
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 > > > >> > > > >>

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-11 Thread Curtis Rueden
.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

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-11 Thread Curtis Rueden
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

RE: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-11 Thread Sankaran, Nambi
(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

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-11 Thread Stephen Connolly
etty-plugin using eclipse > >>>> > >>>> > >> > http://nambisankaran.wordpress.com/2012/06/30/running-jetty-server-with-maven/ > >>>> > >>>> -Original Message- > >>>> From: Andrew Pennebaker [mailto:apenneba

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-11 Thread Russell Gold
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

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-11 Thread Andrew Pennebaker
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

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-10 Thread Russell Gold
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

RE: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-10 Thread Sankaran, Nambi
: 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

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-10 Thread Andrew Pennebaker
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

RE: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-10 Thread Sankaran, Nambi
, 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

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-10 Thread Andrew Pennebaker
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

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-10 Thread Andrew Pennebaker
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

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-10 Thread Curtis Rueden
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

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-10 Thread Russell Gold
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

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-10 Thread Andrew Pennebaker
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,

Re: Is there a Maven plugin for the Java debugger (jdb)?

2013-10-10 Thread Benson Margulies
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? -