Hi Scott, your post makes me think it might be time to retire the
webAppCreator Getting Started tutorial in favor of Google Plugin for
Eclipse. It used to be that webAppCreator produced custom shell scripts to
start/stop the app; however, they were a pain to maintain on all platforms
and the Google Plugin for Eclipse offers a better experience overall, so the
only way to start the built-in Web server with the webAppCreator-generated
build.xml is to run ant devmode. The way to switch from dev mode to
production mode is simply to drop "?gwt.codesvr=127.0.0.1:9997" from the
URL. That's the hook that invokes the dev mode plugin in the browser, and
without it, you'll be running the compiled JS instead.

I think it's easier to get started with GWT by working your way down the
left nav in the Google Plugin for Eclipse user guide:
http://code.google.com/eclipse/docs/users_guide.html

Feel free to post back with anything you find confusing.

/dmc

On Mon, Jul 4, 2011 at 1:12 AM, sf_g...@bellsouth.net <sf_g...@bellsouth.net
> wrote:

> Okay, brand new to GWT, I am starting at ground zero with the first
> app tutorial at
> http://code.google.com/webtoolkit/gettingstarted.html#create
> The "MyWebApp" runs fine in devmode (ant devmode from the MyWebApp
> directory.  In the section labeled "Compile and run in production mode
> ", when I build the app (ant build) in the directory and then execute
> the html from browser.  It fails, being unable to connect to server.
>
> I know Jetty is used in devmode, the error looks like it not running
> when executing the prod mode.
>
> Again, new to this, what do I need to do to get this simple app to
> work in prod mode?
>
> Scott
>
> --
> 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.
>
>


-- 
David Chandler
Developer Programs Engineer, GWT+GAE
w: http://code.google.com/
b: http://turbomanage.wordpress.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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.

Reply via email to