On Nov 9, 11:45 am, mfiandesio <[email protected]> wrote:
> 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?

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–)
--~--~---------~--~----~------------~-------~--~----~
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