Debugging maven 2 with Netbeans

2007-10-04 Thread Paul Sterk
Hi, I want to run 'mvn test' and have maven open a jdwp listener so that I can debug a plugin unit test. I thought I found the answer: export MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=9009,server=y,suspend=y I then ran 'mvn test' and connected to port 9009 with Netbeans 5.5.1.

Re: Debugging maven 2 with Netbeans

2007-10-04 Thread Milos Kleint
it should be enough to open ant-run-plugin project sources in the IDE, place the breakpoints in the test and execute the Debug file action on the test file. With the approach you have taken, it's possible to debug maven internals, however the test is probably executed in yet another VM which is

Re: Debugging maven 2 with Netbeans

2007-10-04 Thread Tim Kettler
Hi, the surefire-plugin defaults to fork a new jvm for running the tests. You either have to specify the debug options in the argLine/ parameter of the plugin configuration or disable the forking. -Tim Paul Sterk schrieb: Hi, I want to run 'mvn test' and have maven open a jdwp listener so

Re: [vote-result] debugging maven with eclipse

2007-02-15 Thread John J. Franey
-core. This is can be applied to any maven subproject that a maven developer may want to edit and run/debug. Please feel free to incorporate this into your tutorial if it is appropriate. First level: running and debugging maven under eclipse: setting up a run config. The principal here

Re: [vote-result] debugging maven with eclipse

2007-02-15 Thread Barrie Treloar
On 2/16/07, John J. Franey [EMAIL PROTECTED] wrote: I've discovered this technique to debug maven 2.0.4 under eclipse 3.2. Please add it to your tutorial if it is appropriate. Part of your tutorial is addressing how to debug a user project's unit tests as they are run via surefire. I'm not

Re: [vote-result] debugging maven with eclipse

2007-02-15 Thread Franz Allan Valencia See
developer may want to edit and run/debug. Please feel free to incorporate this into your tutorial if it is appropriate. First level: running and debugging maven under eclipse: setting up a run config. The principal here is to merely incorporate the important elements of the mvn script into an eclipse

RE: [vote-result] debugging maven with eclipse

2007-02-15 Thread hermod.opstvedt
breakpoint and you can step through your code (Mavens too if you have attachec the source) Hermod -Original Message- From: Franz Allan Valencia See [mailto:[EMAIL PROTECTED] Sent: Friday, February 16, 2007 3:13 AM To: Maven Developers List Subject: Re: [vote-result] debugging maven

RE: debugging maven with eclipse

2006-10-15 Thread Swenson, Eric
Developers List' Subject: debugging maven with eclipse Can anyone point me to instructions on how to use eclipse to debug maven? I'm having a problem that no one, so far, has commented on - namely that when I do a reactor build of my project (top-level with sub-projects), I get the error (when doing

Re: debugging maven with eclipse

2006-10-13 Thread Franz Allan Valencia See
Good day to you, Eric, I havve just created (or rather, continued) this short tutorial on debugging maven with eclipse, [1] However, I am a windows user, so my answer is based on windows. I am not sure about the exact steps in linux but more or less, the concept of running in debug mode

RE: debugging maven with eclipse

2006-10-13 Thread Swenson, Eric
I didn't miss anything. -- Eric -Original Message- From: Franz Allan Valencia See [mailto:[EMAIL PROTECTED] Sent: Thursday, October 12, 2006 11:40 PM To: Maven Developers List Subject: Re: debugging maven with eclipse Good day to you, Eric, I havve just created (or rather, continued

debugging maven with eclipse

2006-10-12 Thread Swenson, Eric
Can anyone point me to instructions on how to use eclipse to debug maven? I'm having a problem that no one, so far, has commented on - namely that when I do a reactor build of my project (top-level with sub-projects), I get the error (when doing mvn install): [ERROR] BUILD ERROR [INFO]

RE: debugging maven with eclipse

2006-10-12 Thread Swenson, Eric
From: Swenson, Eric Sent: Thursday, October 12, 2006 9:18 PM To: 'Maven Developers List' Subject: debugging maven with eclipse Can anyone point me to instructions on how to use eclipse to debug maven? I'm having a problem that no one, so far, has commented on - namely that when I do a reactor

RE: debugging maven with eclipse

2006-10-12 Thread Swenson, Eric
: Thursday, October 12, 2006 10:42 PM To: Swenson, Eric; Maven Developers List Subject: RE: debugging maven with eclipse I've managed to create an eclipse project by running mvn eclipse:eclipse in the maven-2.0.4 source tree. And after defining the M2_REPO classpath variable, I was able to get

Re: Debugging Maven with Eclipse?

2006-04-13 Thread Geoffrey De Smet
I created a mvnd script and there is an issue for it. After that it's just a matter of creating a remote debugger in eclipse. With kind regards, Geoffrey De Smet Jochen Kuhnle wrote: Hi, is there a guide/howto for this? Or even better, does anybody have a working .launch file? Regards,

Re: Debugging Maven with Eclipse?

2006-04-13 Thread Reinhard Poetz
Geoffrey De Smet wrote: I created a mvnd script and there is an issue for it. After that it's just a matter of creating a remote debugger in eclipse. Would you mind sharing the issue link with us? -- Reinhard Pötz Independent Consultant, Trainer (IT)-Coach {Software Engineering,

Re: Debugging Maven with Eclipse?

2006-04-12 Thread Tim Kettler
Have you found this threads in the archives: http://www.mail-archive.com/users@maven.apache.org/msg31345.html http://www.mail-archive.com/users@maven.apache.org/msg27239.html Hope this helps -Tim Jochen Kuhnle schrieb: Hi, is there a guide/howto for this? Or even better, does anybody have a

Re: Debugging maven with breakpoints feed-back: --jdwp + docs

2006-02-23 Thread Geoffrey De Smet
someone like to put it in JIRA? Done :) http://jira.codehaus.org/browse/MNG-2105 - Brett Brian E. Fox wrote: +1! -Original Message- From: Vincent Siveton [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 7:49 AM To: Maven Developers List Subject: Re: Debugging maven

Re: Debugging maven with breakpoints feed-back: --jdwp + docs

2006-02-23 Thread Grzegorz Slowikowski
10:41 PM Subject: Re: Debugging maven with breakpoints feed-back: --jdwp + docs I've thought about this in the past, but have always opted to go for setting MAVEN_OPTS (which I have in a separate little script). I'd be fine with adding this argument, but parsing the command line arguments

Debugging maven with breakpoints feed-back: --jdwp + docs

2006-02-22 Thread Geoffrey De Smet
I just used my first debug breakpoint in maven 2 to fix the jasperreports plugin: export MAVEN_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 mvn phase-on-my-project Still, this is a bit unhandy and it took me quite a while to find

Re: Debugging maven with breakpoints feed-back: --jdwp + docs

2006-02-22 Thread Vincent Siveton
Geoffrey, I like it! I prefer more --jdpa rather than --jpwd (Think about geronimo or tomcat) What do others think? Vincent 2006/2/22, Geoffrey De Smet [EMAIL PROTECTED]: I just used my first debug breakpoint in maven 2 to fix the jasperreports plugin: export MAVEN_OPTS=-Xdebug -Xnoagent

RE: Debugging maven with breakpoints feed-back: --jdwp + docs

2006-02-22 Thread Brian E. Fox
+1! -Original Message- From: Vincent Siveton [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 7:49 AM To: Maven Developers List Subject: Re: Debugging maven with breakpoints feed-back: --jdwp + docs Geoffrey, I like it! I prefer more --jdpa rather than --jpwd (Think about

Re: Debugging maven with breakpoints feed-back: --jdwp + docs

2006-02-22 Thread Brett Porter
it in JIRA? - Brett Brian E. Fox wrote: +1! -Original Message- From: Vincent Siveton [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 7:49 AM To: Maven Developers List Subject: Re: Debugging maven with breakpoints feed-back: --jdwp + docs Geoffrey, I like it! I prefer

RE: Debugging Maven

2004-08-26 Thread Lach, Thierry
You beat me to the question! -Original Message- From: Christian Mouttet [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 12:20 PM To: [EMAIL PROTECTED] Subject: Debugging Maven I'm downloading the source from CVS and want to run Maven in an Eclipse debugging session. How can I

Re: Debugging Maven

2004-08-26 Thread Dion Gillard
I have a spare batch file called maven-debug.bat that has this line in it: @Set MAVEN_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 I then use Run - Debug - Remote Java Application to connect to the running Maven. HTH On Thu, 26 Aug

Debugging Maven: Best Practices

2003-11-24 Thread Jörg Schaible
Hello developers, are there any recommendations how to debug Maven best? Currently I checked out maven, maven-plugins/genapp and jakarta-commons/jelly because I try to look into some strange behaviour of the genapp plugin. For maven and jelly I generated with an already installed Maven my