Thanks so much for your help Gili.

The link you referred me to seems to describe how to modify the cactus task.
But I just want to set a property since
I'm running cactus from Maven  - I don't really have a cactus task element
available to modify.  Question 1. Can I just set the output property from
build.properties?

Debug mode:  I was using cactus.tomcat5x.jvmArgs=-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
which seems to work ok, except maven does not run eclipse in remote debug
mode so I had to create a separate remote debug launcher to connect to
tomcat after it gets started by cactus.  Question 2.  Do you know how to use
maven/cactus to tell eclipse to remote debug the tests that it runs?

Ted


-----Original Message-----
From: Gili [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 20, 2005 12:05 PM
To: Cactus Users List
Subject: Re: How to launch cactus in debug mode in eclipse?

http://jakarta.apache.org/cactus/integration/ant/task_cactus.html#tomcat5x

        use the "jvmArgs" argument.

Gili

Anagnost, Ted wrote:
> I'd like to debug my test methods in eclipse but I'm not sure how to 
> tell cactus (maven) to start in remote debug mode.
> 
> I'm doing this right now:
> 
>  mevenide:test-debug cactus:test
> While setting: JAVA_OPTS=-Xdebug
> -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n
> 
> But it doesn't stop at any break points.
> 
> 
> Can anyone point me to a page that shows how to do it step by step?
> 
> Ted
> 
> 

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

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

Reply via email to