Debugging Maven Project in Eclipse ( Tutorial )

3,223 views
Skip to first unread message

Metronome & Basic

unread,
Apr 22, 2011, 3:33:00 AM4/22/11
to google-we...@googlegroups.com
Any suggestion for debugging in Eclipse
 
If you create an Eclipse Project , the debugging facilities are there and ready to use.
 
If you import a maven project , you cannot run as Webapp nor Debug
   
    Or you have to setup a debug configuration ( for every project ? )
 
    or is there something you can add in your pom ?
 
any help welcome
 
Patrick
 
 

cri

unread,
Apr 22, 2011, 9:41:34 AM4/22/11
to Google Web Toolkit
You may find http://mojo.codehaus.org/gwt-maven-plugin/ helpful.

On Apr 22, 2:33 am, "Metronome & Basic"

Metronome & Basic

unread,
Apr 22, 2011, 10:06:31 AM4/22/11
to google-we...@googlegroups.com
Using Eclipse
Google Eclipse plugin automatically handle launching the Hosted mode browser
with a simple right click on your module gwt.xml file "run as > web
application".

I wish it could be that simple

I have 3 Pcs ( 2 with Xp 1 debian lenny ) with eclipse and maven plugin

only on on 3 only 1 of then has "run as > web application". on maven
projects

( they all have this option on Eclipse Projects )

nightmare

Patrick

--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-tool...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.


-----
Aucun virus trouv� dans ce message.
Analyse effectu�e par AVG - www.avg.fr
Version: 10.0.1209 / Base de donn�es virale: 1500/3590 - Date: 22/04/2011


Jeff Larsen

unread,
Apr 22, 2011, 10:33:49 AM4/22/11
to google-we...@googlegroups.com
Have you enabled the GPE for the other projects that don't have right click run as web application?

you can also check out David Chandler's post 



It is a bit old, so it might be dated. I'm not sure. I know I just use the archetype to create new maven projects and everything works out just swell.

archetype link 

Hilco Wijbenga

unread,
Apr 22, 2011, 3:50:20 PM4/22/11
to google-we...@googlegroups.com
On 22 April 2011 00:33, Metronome & Basic

<metrono...@worldonline.fr> wrote:
> Any suggestion for debugging in Eclipse

Use mvn gwt:debug (instead of mvn gwt:run) and attach your debugger in
Eclipse (use Remote Java Application).

Metronome & Basic

unread,
Apr 26, 2011, 3:43:45 AM4/26/11
to google-we...@googlegroups.com
That was the solution for me
Remote Fava Applivation and gwt:debug

I used this link as an help for configuration

thanks to all that have tried to help
( others solution could have been successfull , this one seemed "easier" to
me )

Patrick


----- Original Message -----
From: "Hilco Wijbenga" <hilco.w...@gmail.com>
To: <google-we...@googlegroups.com>
Sent: Friday, April 22, 2011 9:50 PM
Subject: Re: Debugging Maven Project in Eclipse ( Tutorial )

Dealing with Eclipse-based IDE - Maven User - Codehaus.URL
Reply all
Reply to author
Forward
0 new messages