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
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
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.
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 with
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 is to merely incorporate the importan
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
how I can run/debug maven-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.
_
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 t
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
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
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
a conf file? Thanks. -- 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 fa
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]
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
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
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
Hi,
is there a guide/howto for this? Or even better, does anybody have a
working .launch file?
Regards,
Jochen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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 +
+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
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
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
Still, this is a bit unhandy and it took me quite a while to find out.
So here's my
Guys,
thank's a lot.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
I'm downloading the source from CVS and want to run Maven in an Eclipse
debugging session. How can I debug Maven itself?
-Christian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> 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
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 Eclip
30 matches
Mail list logo