On Thu, 3 Nov 2005, Frank Mena wrote:

Before you run maven on the commandline, set MAVEN_OPTS to:

"-Xdebug -Xnoagent -Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"

Then set a breakpoint in eclipse, and start the debugger for an external
app, configuring it with the correct port.

-- Kenney

> I have been trying and struggling to convert from ant to maven on a very
> large and complicated multi-module, multi-project. I feel like a dog with a
> bone that won't let go. Maven 2 is too good a tool not to use and am
> determined to make it work. Great job, guys.
>
> I am writing some plugins and would like to use Eclipse to debug. I'm
> looking in mvn.bat to figure out which maven class to run in the debugger.
> Has anyone figured out how to do this?
>
> - Frank
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to