Gwt 2.0 trunk and Eclipse

53 views
Skip to first unread message

mfiandesio

unread,
Nov 9, 2009, 5:45:49 AM11/9/09
to Google Web Toolkit
Hi to all,
I would like to test new gwt 2.0 features so i downloaded the trunk
and compiled it without any problems.
I copied the source of the mail sample to see the UiBinder in action
but when i try to run with Google Plugin (1.1.2) the console fires an
unknown parameter style message.

I tried to create a run configuration manually using as Main method
the DevMode class and passing the module name as an argument.As
working directory i tried with my workspace dir but when i go with
firefox to the application url an alert tells me that my module needs
to be recompiled,if otherwise i use my war directory as working
directory i can navigate the files on the server but I can't see the
main html file only the compiled js files and a hosted.html.

There's a way to start the app with the google plugin or a simple
configuration to run from eclipse?

Thanks,
Matteo

Thomas Broyer

unread,
Nov 9, 2009, 6:36:28 AM11/9/09
to Google Web Toolkit
You're probably missing the ?gwt.hosted= param in the query-string
when launching your app (the exact URL to use is given in both the
DevMode window and in the console –so you can copy/paste it into your
browser, where you'd have installed the devmode plug-in, of course–)

Also, are you passing the -war argument to DevMode?

(note that if you have the Google Plug-in for Eclipse, you can use the
"run as webapp", it'll run HostedMode which will warn that you should
be using DevMode but it otherwise works very well –at least 2.0-MS2
works like a charm–)

misterln2

unread,
Nov 9, 2009, 10:07:04 AM11/9/09
to Google Web Toolkit
this is the same problem i reported in the google plugin for eclipse
thread.

the plugin automatically appends the "-style" parameter which is no
longer supported by DevMode.

my solution was to revert:
trunk\dev\core\src\com\google\gwt\dev\DevMode.java
trunk\dev\core\src\com\google\gwt\dev\DevModeBase.java
to earlier versions (from nov 5th)

mfiandesio

unread,
Nov 10, 2009, 2:45:56 AM11/10/09
to Google Web Toolkit
Yes misterln, I saw your post.

Thanks all for your answers
Matteo

Mark Renouf

unread,
Nov 16, 2009, 1:13:15 PM11/16/09
to Google Web Toolkit
Has there been any updates on fixing this?

I confirmed I have the latest GAE plugin and still have the problem.
I'm hoping once the RC comes out there will be an updated. If it was
open source I would patch the Eclipse plugin instead of GWT, but oh
well.




On Nov 9, 10:07 am, misterln2 <mister...@googlemail.com> wrote:
> this is the same problem i reported in thegooglepluginforeclipse
> thread.
>
> thepluginautomatically appends the "-style" parameter which is no

Chris Ramsdale

unread,
Nov 16, 2009, 1:41:30 PM11/16/09
to google-we...@googlegroups.com
We've confirmed that this issue has been resolved in the RC bits that we are currently testing. The RC should be available very soon. In the meantime you can switch back to MS2 or use your own custom Java launch config. Let us know if you go down the custom launch config path and need some help.

- Chris

--

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



Reply all
Reply to author
Forward
0 new messages