You should take a look at targets.xml
I add some jvmargs to launch the tests for remote debugging
target : component-junit-functional (client side JVM)
inside the junit task :
<jvmarg line="-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,server=y,address=4141,suspend=y"/>
target : start-functional-test-http-server (server side JVM)
inside the java task :
<jvmarg line="-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,server=y,address=4141,suspend=y"/>
Sometimes, axis tests are running in only 1 JVM (only client side)
Notice that you must attach the remote debugger quickly when debugging
server side JVM.
Cheers
Guillaume
Tom Jordahl wrote:
Check the 'ws-axis/java/xmls' directory. There is a target that runs
the SimpleAxisServer. Or just run it from the command line, deploy the
WSDD file for the test (found in build/work/tests/wsdl/marshal).
Check the developers guide for how to run a single JUnit test case from
the command line, or you can do it straight from IntelliJ.
Hope that helps a little.
Tom Jordahl
Macromedia Server Development
-----Original Message-----
From: David Blevins [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 28, 2005 8:11 PM
To: [email protected]
Subject: Debugging Axis tests
I'd really really like to run the tests/wsdl/marshall tests with
remote debugging turned on. However I an having a hard time figuring
out where the tests are launched--there are a lot of xml entity refs
pulling xml from multiple places.
Anyone have an clues on where to add the extra vm options?
-David