Robert,

The following thread may be of some assistance:

http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c3da5f8b67102696/00c493b1720b1ba1

- Chris

On Thu, Dec 10, 2009 at 2:53 PM, Robert Schultz <[email protected]> wrote:

> I'm having trouble getting DevMode working in GWT 2.0 with an external
> server
>
> I've upgraded from GWT 1.7 to GWT 2.0
>
> It compiles my GWT module correctly when I run
> com.google.gwt.dev.Compiler with arguments:
> -war /path/to/web/gwt com.my.path.mymodule.mymodule
>
> I have my own tomcat server and web.xml configuration.
>
> I serve up HTML code myself in which I include in the <head>:
> <script type="text/javascript" src='../gwt/
> com.my.path.mymodule.mymodule/
> com.my.path.mymodule.mymodule .nocache.js'></script>
>
> I can then visit my server http://localhost:7100/myapp/MyPage
> This loads up the web based GWT code and everything works great.
>
>
> DevMode however is not working.
>
>
> I am launching com.google.gwt.dev.DevMode as a Debug Configuration
> with arguments:
> -noserver -startupUrl http://localhost:7100/myapp/MyPage
> com.my.path.mymodule.mymodule
>
> I also have on the 'Classpath' my /src directories for my projects
> that contain GWT code.
>
> It correctly opens the "GWT Development Mode" window.
>
> I hit 'Launch Default Browser' button and it opens in Firefox:
> http://localhost:7100/myapp/MyPage?gwt.codesvr=127.0.0.1:9997
>
> I correctly see under netstat that it's listening on 9997.
>
> I never hit any of my GWT breakpoints.
> The page still works, clearly still using the web compiled JavaScript
> instead of establishing a dev connection.
>
>
> As a test I used the Google Eclipse plugin to create a test GWT
> project.
> I was able to launch a debug configuration for the test 'Web
> Application' and hit breakpoints, step through code, etc.
> So all my jars and browser plugins appear to be installed correctly.
>
> Any ideas as to where I went wrong?
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en.


Reply via email to