Debug - Maven - Eclipse

2011-02-11 Thread mortsahl
Environment: Eclipse 3.6, GWT 2.1.1

I've created a maven project with ...
$GWT_HOME/webAppCreator -out myProject -maven  com.whatever.myProject

I imported it into Eclipse via m2eclipse (import as existing maven
project).  Everything is working as expected.

However, I've done a lot of Googling and reading old threads here, but
I still haven't discovered how I can debug in Eclipse while running
via the GWTShell.  Can someone help me with this process?

Mort

-- 
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Debug - Maven - Eclipse

2011-02-11 Thread mortsahl
Thanks .. I've got the plugin installed .. but that still doesn't
answer my question on how to debug in eclipse when using a maven
project (I refuse to go back 10 years and use ant)

On Feb 11, 2:42 pm, Jeff Larsen larse...@gmail.com wrote:
 I'd *highly *recommend downloading the eclipse plugin for gwt.

 http://dl.google.com/eclipse/plugin/3.6for 3.6

 http://dl.google.com/eclipse/plugin/3.5for 3.5

-- 
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Debug - Maven - Eclipse

2011-02-11 Thread mortsahl
I'll give that a shot, thanks ... I was hoping to somehow configure a
debug launch configuration to work ... so far, I haven't figured out
the magic.

Mort

On Feb 11, 3:49 pm, Hilco Wijbenga hilco.wijbe...@gmail.com wrote:
 On 11 February 2011 13:48, mortsahl morts...@gmail.com wrote:

  Thanks .. I've got the plugin installed .. but that still doesn't
  answer my question on how to debug in eclipse when using a maven
  project (I refuse to go back 10 years and use ant)

 Just run mvn gwt:debug and attach a debugger in Eclipse (Debug
 Configuration -- Remote Java Application).

-- 
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Debug - Maven - Eclipse

2011-02-11 Thread mortsahl
Thanks ... I've got the gwt-maven-plugin v2.1.0-1 ... however, that
doesn't do anything for starting the Eclipse debugger.

Remote debugging works fine ... if I can figure out a working debug
launch I'll post it here

On Feb 11, 4:24 pm, Jeff Larsen larse...@gmail.com wrote:
 use the gwt-maven-plugin.

 Details can be found here

 http://mojo.codehaus.org/gwt-maven-plugin

 If you need a working sample look at the expenses sample app. Simplest way
 to get started is to use the archetype.

-- 
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Is there a way to copy all maven referenced jars to the war/WEB-INF/lib

2011-01-30 Thread mortsahl
I'm new to GWT and trying to figure things out, but on this maven
question, I created my initial project using the included
webAppCreator script like this ...

$GWT_HOME/webAppCreator -out myProject -maven  com.myProject

(I'm on a Mac so change your path accordingly)

This created my initial project template including the pom.xml file.
See the generated README.txt file.  I then imported the project into
Eclipse using the m2eclipse plugin and importing as an existing maven
project.  Build from the command line or from Eclipse.

This gives you a working template ... add dependencies, get rid of the
sample code and start doing your own thing.  First thing I did was
just add a dependency and did a mvn clean gwt:compile package then
looked in the the generated war file's WEB-INF/lib and my dependency
was there.

Very easy.  I don't know if I'll run into problems as my app grows in
complexity but for a start I couldn't be happier.

Mort


On Jan 30, 2:01 am, Mike.G gsun...@gmail.com wrote:
 hi all:
  i'm using maven to organize my gwt project, everything works well but one
 defect: Is there a way to copy all maven referenced jars to the
 war/WEB-INF/lib?

 when i use maven POM to add a new depencies, i have to copy the jar and it's
 dependent jar to WEB-INF/lib, usually i may forget copying some, which will
 lead to no class def error when i deliver the project to web server. but
 in development mode, it works well.

 could someone help me? how did you tackle this messy situation? thanks very
 much.

-- 
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



SOAP Web Service

2011-01-28 Thread mortsahl
My company has a set of web services that are not exposed outside the
firewall.

It is being proposed that a publicly available GUI client be written
to access those services by our clients.  It's being proposed that the
client be written in GWT/GXT

Are there valid reasons to use GWT and web services together?  Isn't
the WS layer just redundant ... I mean you call the RPC layer that
talks to the server anyway, then that layer makes a services request,
gets the response, then thru a DTO serialized the response back to the
GUI.

Am I missing something here?

Mort

-- 
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.