More info:
Was using GWT 1.6 before this without the eclipse plugin and
everything was working fine.
I thought maybe I was doing something wrong, but after looking for
info as to how it should work, I'm definitely doing the same as the
following source:
http://www.ibm.com/developerworks/java/library/j-gaej1/
Incidentally I thought it might be the fact that Google App engine
stuff is now there, but if I create a project but I deselect the
"using Google app engine SDK", It still gives me the same problem.
I have other projects created with GWT 1.6 available in eclipse and
they work correctly with the new library.
If I try and create a new -Run Configuration- as a -Java Application-
instead of the new -Web application- and I copy all the settings from
the previous projects, I can run that configuration, I get the hosted
mode, but it gives me the error:
Exception in thread "main" java.lang.NoSuchMethodError:
org.mortbay.thread.Timeout.<init>(Ljava/lang/Object;)V
at org.mortbay.io.nio.SelectorManager
$SelectSet.<init>(SelectorManager.java:306)
at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:
223)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
39)
at
org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:
303)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
39)
at org.mortbay.jetty.Server.doStart(Server.java:233)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
39)
at
com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:
543)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783)
at com.google.gwt.dev.DevMode.main(DevMode.java:275)
--
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.
So is this the default new behaviour?
The IBM guide I posted says I should get the hosted mode console if I
use the GWT sdk. Is this simply out of date?
Incidentally, if I copy and paste the URL into a browser, the page
fails to load.
I also prefer the hosted mode console for two reasons. I can restart
Jetty in one click which rather than rerunning the configuration.
I got a debug tab in the hosted console for each browser and because
I'm working on a chat like app, this was useful.
On Apr 12, 3:37 am, Ian Bambury <ianbamb...@gmail.com> wrote:
> Right-click the URL, copy, and paste it into a browser (as it says just
> above the URL). Then you'll have to install a plug-in.
>
> Ian
>
> http://examples.roughian.com
>
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsubs cr...@googlegroups.com>
I assume the GWT sdk is setup correctly because the field for version
number is populated.
Also, you'll see in my original post that I did try and getting
Devmode running as a java application, but ran into issues.
Does anyone know the there's a switch or button that you can turn on
to get the separate console from the web app created by the plugin?
--
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.
Ah thanks Rajeev, been looking for that, it works except you have to
set USE_REMOVE_UI=true.
And since you asked... Maybe it's a little "I'm used to it", but I
find the Swing UI much more convenient than the Development mode view:
- Clear tabs for Jetty and each browser window that comes up,
navigation is tricky in the Eclipse DMV tab
- Handy dandy "Launch in Browser" and "Restart Server" buttons
- Separate window and process makes it easy to see that I have it
running, close it to end the process, etc. In dev mode I have to
notice the tab, switch to it, and stop it from there to end to
process, not nearly as convenient. In this mode I often rerun app
only to find conflicting port because I didn't see and close the old
process.
- Separate window also doesn't compete with my code for space, makes
it easy to have a large log and still browse my code in my setup.
Personal preference, but hey.
The first two could just be improvements in the Eclipse DMV tab, but
don't assume everyone's workflow is improved through the "convenience"
of everything being built into eclipse!