here :
http://www.netbeans.org/issues/enter_bug.cgi?component=mavenLaurent.
On Wed, Jan 7, 2009 at 3:19 PM, Zoltan Farkas
<zoly@...> wrote:
I would like to file a issue regarding this, where should
where should I file this?
--zoly
Sent: Thursday, December 18, 2008
4:51 PMSubject: RE:
[mevenide-user] Debug problems with NB 6.5 and maven 2
Ok, Figured it out myself, changed the Debug Test
properties to:
jpda.listen=true
maven.surefire.debug="-Xdebug
-Djava.compiler=none -Xnoagent
-Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address}"
jpda.stopclass=${packageClassName}
forkMode=once
test=${className}
and it works now, I gues it was related with my fork
settings on the surefire plugin (for for every test).
however with argLine debugging did not
work...
--zoly
From: Zoltan Farkas
[mailto:zoly@...]
Sent: Thursday, December 18, 2008
2:14 PM
To: user@...
Subject:
[mevenide-user] Debug problems with NB 6.5 and maven 2
I am new to m2/nb5
combination, and I have some problems getting debug working.
I am trying to debug
a unit test and I am running it with: "debug test"
here is the
output:
NetBeans: JPDA
Listening Start...
JPDA Address: z:52116
Port:52116
NetBeans: Executing
'/opt/apache-maven-2.0.9/bin/mvn -Djpda.listen=true -Djpda.stopclass=MyClassName
-Djpda.address=52116 -DargLine=-Xdebug -Djava.compiler=none -Xnoagent
-Xrunjdwp:transport=dt_socket,server=localhost,address=52116 -DforkMode=once
-Dtest=EventExpertProcessorTest test-compile
surefire:test'
NetBeans: JAVA_HOME
=/usr/java
......
The debugger console
displays: Listening on 52116
However I never see
the debugger attaching to the process ....
Am I missing
something? I had no problems doing this with M1/nb5.5
thanks
--zoly