Friday, August 27, 2010

Re: GWT 2.1 M3 is now available

Recompile your GWT application and clear browser cache. This will
update the stale hosted.html that the plugin uses to determine the
version.

/dmc

On Aug 26, 1:22 pm, Jason Stratton <jason.e.strat...@gmail.com> wrote:
> I seem to have got it right now:
>
> <repositories>
> <repository>
>   <id>gwt-dev</id>
>   <url>http://google-web-toolkit.googlecode.com/svn/2.1.0.M3/gwt/
> maven</url>
> </repository>
> </repositories>
>
> <pluginRepositories>
> <pluginRepository>
>   <id>gwt-dev</id>
>   <url>http://google-web-toolkit.googlecode.com/svn/2.1.0.M3/gwt/
> maven</url>
> </pluginRepository>
> </pluginRepositories>
>
>         <dependencies>
>
>                 <!--  GWT dependencies (from central repo) -->
>                 <dependency>
>                         <groupId>com.google.gwt</groupId>
>                         <artifactId>gwt-servlet</artifactId>
>                         <version>2.1-SNAPSHOT</version>
>                         <scope>runtime</scope>
>                 </dependency>
>                 <dependency>
>                         <groupId>com.google.gwt</groupId>
>                         <artifactId>gwt-user</artifactId>
>                         <version>2.1-SNAPSHOT</version>
>                         <scope>provided</scope>
>                 </dependency>
>
>         </dependencies>
>
> Was is just simply the trailing slash on the URL for the repositories?
>
> Anyway, I had some compilation conflicts with the gwt-incubator 2.0.1.
> So I commented it all out.
>
> I was then able to compile and run. Woohoo!
>
> Now I'm having an issue debugging. I'm running on JBoss and connecting
> with the Eclipse plug-in (3.5 (Galileo)) with the -noserver option. It
> was working fine with GWT 2.0.4. I have upgraded the plug-in to 2.1 M3
> and when I try to debug, I get the "Plugin failed to connect to the
> hosted mode server at 127.0.0.1:9997" message in the browser.
>
> In the Eclipse console, I see the following message:
>
> Connection received from 127.0.0.1:52115
>    [ERROR] Invalid version number "2.1" passed to
> external.gwtOnLoad(), expected "2.0"; your hosted mode bootstrap file
> may be out of date; if you are using -noserver try recompiling and
> redeploying your app
>
> Any ideas?
> I'm just guessing here, but the GWT code is identifying itself as
> version 2.1, but the Eclipse plug-in believes it's version 2.0?
>
> Thanks
> Jason

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

No comments:

Post a Comment