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 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 that I c

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 n

RE: debugging maven with eclipse

2006-10-15 Thread Swenson, Eric
I still don't have a solution to my problem and really need someone who understands the internals of default-plexus-container to help me through the problem. Please see, below, for a high-level description of the problem. What I've found is that what is happening is that I'm getting this exceptio

RE: debugging maven with eclipse

2006-10-12 Thread Swenson, Eric
make sure 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 ra

Re: debugging maven with eclipse

2006-10-12 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 is the s

RE: debugging maven with eclipse

2006-10-12 Thread Swenson, Eric
Sent: 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 variabl

RE: debugging maven with eclipse

2006-10-12 Thread Swenson, Eric
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 Eclipse to not show any errors when building. In setting up for debugging, I use the command line parameters:

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 Engineerin

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, J

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 Grzegorz Slowikowski
day, February 22, 2006 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

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

2006-02-23 Thread Geoffrey De Smet
in. Would 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

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

2006-02-22 Thread Brett Porter
put 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 +

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 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 -Xnoa

Re: Debugging Maven

2004-08-27 Thread Christian Mouttet
Guys, thank's a lot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Debugging Maven

2004-08-26 Thread Shinobu Kawai
Hi Christian, > I'm downloading the source from CVS and want to run Maven in an Eclipse > debugging session. How can I debug Maven itself? How are you running maven outside of Eclipse? Maven is merely a Java application. You only have to let eclipse know the starting class, and whatever option

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

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: Best Practices

2003-11-24 Thread Brett Porter
> Since there are a lot more dependent jars and plugins that > may be interesting for debugging I just ask myself how you > all have set up your developing environment? Are you using > the libraries in the local repository at all? I don't go to such great lengths when I actually need to step in