Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CBAA1048F for ; Fri, 11 Oct 2013 16:14:09 +0000 (UTC) Received: (qmail 13840 invoked by uid 500); 11 Oct 2013 16:14:04 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 13306 invoked by uid 500); 11 Oct 2013 16:14:04 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 13296 invoked by uid 99); 11 Oct 2013 16:14:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Oct 2013 16:14:02 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [206.46.173.5] (HELO vms173005pub.verizon.net) (206.46.173.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Oct 2013 16:13:58 +0000 Received: from gold-family.us ([unknown] [96.245.192.29]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MUI00I7ZIE0SR20@vms173005.mailsrvcs.net> for users@maven.apache.org; Fri, 11 Oct 2013 11:13:15 -0500 (CDT) Received: from durendal.home (durendal.home [192.168.1.8]) by gold-family.us (Postfix) with ESMTP id B33E011CD39C for ; Fri, 11 Oct 2013 12:18:37 -0400 (EDT) From: Russell Gold Content-type: multipart/alternative; boundary="Apple-Mail=_9F6AD32D-C3C9-4060-980F-6C981741B178" Message-id: <2BB6AC55-548B-4968-9889-64BD1F10B745@gold-family.us> MIME-version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Is there a Maven plugin for the Java debugger (jdb)? Date: Fri, 11 Oct 2013 12:13:10 -0400 References: <6A1D99A77AC2F24CA6361492DE0BA130047AA7E6@PHX-EXRDA-S11.corp.ebay.com> <095DBCF4-ABD8-452E-B881-A69AA7A11785@gold-family.us> To: "Maven Users List" In-reply-to: X-Mailer: Apple Mail (2.1510) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_9F6AD32D-C3C9-4060-980F-6C981741B178 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 I'm sorry; I don't understand. Why would you want to use a text editor, = rather than an IDE, to debug a java program? On Oct 11, 2013, at 11:52 AM, Andrew Pennebaker = wrote: > Why would anyone want to do this? So we don't have to debug Maven = projects > with Eclipse/IntelliJ, but the text editor of our choice. This is best > accomplished by Maven tasks which interact with the command line jdb = tool. >=20 >=20 > On Thu, Oct 10, 2013 at 5:27 PM, Russell Gold = wrote: >=20 >> Why do you want to do that? I suspect we are not getting at your = actual >> requirement. >>=20 >> On Oct 10, 2013, at 2:25 PM, Andrew Pennebaker = >> wrote: >>=20 >>> 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 arbitrary text editor, not necessarily Eclipse or >> Intellij, >>> for example Emacs, or even Notepad, by invoking Maven tasks that = point to >>> Maven plugins that interact with jdb. >>>=20 >>>=20 >>> On Thu, Oct 10, 2013 at 2:09 PM, Sankaran, Nambi = >> wrote: >>>=20 >>>> It very is easy to debug maven from eclipse, I have documented how = I >> debug >>>> maven-jetty-plugin using eclipse >>>>=20 >>>>=20 >> = http://nambisankaran.wordpress.com/2012/06/30/running-jetty-server-with-ma= ven/ >>>>=20 >>>> -----Original Message----- >>>> From: Andrew Pennebaker [mailto:apennebaker@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)? >>>>=20 >>>> I could also use an IDE for package management, but I'd rather use = plain >>>> Maven and an arbitrary text editor instead. >>>>=20 >>>>=20 >>>> On Thu, Oct 10, 2013 at 11:21 AM, Russell Gold = >>>> wrote: >>>>=20 >>>>> 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. >>>>>=20 >>>>> On Oct 10, 2013, at 10:52 AM, Andrew Pennebaker >>>>> >>>>> wrote: >>>>>=20 >>>>>> Yes. I'm looking for a task like `mvn jdb:debug ` that = starts >>>>>> a >>>>> jdb >>>>>> session on .main(). >>>>>>=20 >>>>>> 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. >>>>>>=20 >>>>>>=20 >>>>>> On Thu, Oct 10, 2013 at 10:46 AM, Benson Margulies < >>>>> bimargulies@gmail.com>wrote: >>>>>>=20 >>>>>>> What would that mean? Do you want to execute the program in the >>>>> debugger? >>>>>>>=20 >>>>>>> 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? >>>>>>>=20 >>>>>>> = ------------------------------------------------------------------- >>>>>>> -- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >>>>>>> For additional commands, e-mail: users-help@maven.apache.org >>>>>>>=20 >>>>>>>=20 >>>>>=20 >>>>> ----------------- >>>>> Author, Getting Started with Apache Maven < >>>>> http://www.packtpub.com/getting-started-with-apache-maven/video> >>>>>=20 >>>>> Come read my webnovel, Take a Lemon , = and >>>>> listen to the Misfile radio play < >>>>> http://www.fuzzyfacetheater.com/misfile/>! >>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>=20 >>>> = --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >>>> For additional commands, e-mail: users-help@maven.apache.org >>>>=20 >>>>=20 >>=20 >> ----------------- >> Author, Getting Started with Apache Maven < >> http://www.packtpub.com/getting-started-with-apache-maven/video> >>=20 >> Come read my webnovel, Take a Lemon , >> and listen to the Misfile radio play < >> http://www.fuzzyfacetheater.com/misfile/>! >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 ----------------- Author, Getting Started with Apache Maven = Come read my webnovel, Take a Lemon ,=20 and listen to the Misfile radio play = ! --Apple-Mail=_9F6AD32D-C3C9-4060-980F-6C981741B178--