Hi Chris,

To run the project in Tomcat, I call the maven cargo plugin from
netbeans (cargo:start).
I guess I should configure that goal to accept a debug session using the
parameters below. 
Will give it a try.

I downloaded IntelliJ 7.0 last night, and opened my project in that. Was
up and running/debugging in like 5 mins. What a pleasure.

Regards,
Enrico

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Christian Oloff
Sent: Friday, October 26, 2007 8:51 AM
To: [email protected]
Subject: [CTJUG Forum] Re: Maven - Netbeans - Cargo - Tomcat


What did you try so far? How did you tell the JVM that you want to debug

it? It may be done e.g. on the command line with "-Xdebug -Xnoagent 
-Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000", then you

can attach in Netbeans via "Run - Attach Debugger...".

Does this help a little?

Cheers,
Chris

Enrico Goosen wrote:
>
> Hi,
>
> Has anyone had any luck debugging a Maven - JSF webapp in Netbeans.
>
> I'm using the Cargo plugin to deploy/start my app standalone in the 
> target directory, but I'm not sure how to start a debug session.
>
> Thanks,
>
> **Enrico Goosen**
>
> Software Developer
>
> Metropolitan Employee Benefits
>
> Email: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
>
> Direct: 021 940 6231
>
> Fax: 021 917 3089
>
> Mobile: 083 305 5676
>
>
>
> "NOTE: This message (including attachments) is subject to all the 
> restrictions, qualifications and disclaimers of the Metropolitan group

> of companies ("Metropolitan") published at 
> http://www.metropolitan.co.za (collectively the "disclaimers") and by 
> reading this message and/or opening any attachment you are deemed to 
> have agreed to be bound by the provisions of the disclaimers. If you 
> cannot access any of the disclaimers, kindly send an e-mail to 
> [EMAIL PROTECTED] or contact 
> [EMAIL PROTECTED] and a copy will be sent to you.
>
> Metropolitan is an authorised Financial Services Provider.
>
> Web: http://www.metropolitan.co.za/
> Disclaimer: http://www.metropolitan.co.za/email_disclaimer.html
>
>
> Metropolitan subscribes to KPMG, a completely independent crime 
> disclosure service - make a contribution to the establishment of a 
> fraud free environment by reporting any suspicion to the KPMG Hotline
> * RSA 0800 22 14 18 * NAMIBIA 0800 00 00 77"
>
>
> >

-- 
Christian Oloff
mobile +27 73 559 1108
email [EMAIL PROTECTED]
skype christian.oloff




"NOTE: This message (including attachments) is subject to all the restrictions, 
qualifications and disclaimers of the Metropolitan group of companies 
("Metropolitan")  published at http://www.metropolitan.co.za (collectively the 
"disclaimers") and by reading this message and/or opening any attachment you 
are deemed to have agreed to be bound by the provisions of the disclaimers. If 
you cannot access any of the disclaimers, kindly send an e-mail to [EMAIL 
PROTECTED] or contact [EMAIL PROTECTED] and a copy will be sent to you.

Metropolitan is an authorised Financial Services Provider.

Web: http://www.metropolitan.co.za/
Disclaimer: http://www.metropolitan.co.za/email_disclaimer.html


Metropolitan subscribes to KPMG, a completely independent crime disclosure 
service - make a contribution to the establishment of a fraud free environment 
by reporting any suspicion to the KPMG Hotline
* RSA 0800 22 14 18                                          * NAMIBIA 0800 00 
00 77"



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to