Hi Sumit,

1) This does prevent me from running hosted mode. The error actually
appears in the Console view, not as a popup. It's as if I'd typed
"javaw com.google.gwt.dev.GWTShell -server" at a command prompt. The
launch is terminated at that point.

2) This project started as GWT + GAE/Python (GAEP?). I decided to toss
the Python backend and try to set up the project as GWT + GAE/Java
using the new plugin. I haven't even added any servlets I added
gwtNature and gaeNature, set GWT to the 1.6 SDK, removed my old GWT
1.6 milestone build from the classpath, then tried to run hosted mode.
Because I don't have war/web-inf/web.xml, it runs GWTShell instead of
HostedMode. It sounds like the problem is that the plugin doesn't
expect this state and ends up passing invalid parameters to the old
GWTShell.

Results of further experimentation this morning:

I tried to make it run HostedMode instead of GWTShell by removing
gwtNature (I removed gaeNature as well, just because), adding
war/web-inf/web.xml, and re-adding the natures. This did get
HostedMode to run. Then I reversed the operation in an attempt to get
the old error back. I removed the natures, removed the web.xml,
changed the output path back to /bin, and re-added the natures. But it
still tries to run HostedMode and complains that it can't find
web.xml. It seems like, as long as the old GWTShell is going to be
supported at all, there should be an option to explicitly switch
between them. Or at least make the decision points more transparent,
and reversible.

I'd be happy to take a look at the plugin source and see if I can find
the error. And if you can't get a reduced test case to reproduce it,
you could always zip up the whole project and send it to me. ;)

- Isaac

On Mon, Apr 13, 2009 at 5:25 PM, Sumit Chandel <[email protected]> wrote:
> Hi Isaac,
> You've come to the right place for GWT Eclipse plug-in support! We don't
> have an official support forum for the Eclipse plug-in just yet. Given the
> various Google APIs that might be included in the plug-in, it seems best to
> report issues on the forum corresponding to the API / plug-in feature for
> which you experienced issues, so well done :-)
> Now then, about the issue you're experiencing - a couple of questions to
> help troubleshoot:
> 1) Does the warning message that pops up prevent you from running hosted
> mode? Or are you able to run it while having the warning message displayed
> as you use hosted mode?
> 2) What type of application are you running? (GWT or GWT + GAE)
> The fact that it's complaining about a -server argument tells me that this
> is a project configured with the AppEngine nature, but the fact that
> GWTShell is being used tells me that it's using GWT 1.5, which according to
> how the plug-in was designed, should be impossible unless there's a bug on
> our end. In any case, let me know your config and maybe we can figure out
> what's going on.
> Cheers,
> -Sumit Chandel
>
> On Wed, Apr 8, 2009 at 4:02 PM, Isaac Truett <[email protected]> wrote:
>>
>> Preface: I see posts related to the plugin on this list and on GAE,
>> but I can't find an official support forum or issue tracker. If such a
>> thing does exist, do please redirect me there.
>>
>> I'm using the plugin with two Eclipse projects. Same version of
>> Eclipse. Same workspace, even. One of them is working fine so far, the
>> other gives me this when I Run As -> Web Application:
>>
>> WARNING: 'com.google.gwt.dev.GWTShell' is deprecated and will be
>> removed in a future release.
>> Use 'com.google.gwt.dev.HostedMode' instead.
>> (To disable this warning, pass -Dgwt.nowarn.legacy.tools as a JVM arg.)
>> Unknown argument: -server
>> Google Web Toolkit 1.6.4
>>
>> (GWTShell syntax help omitted)
>>
>> I've searched the entire project for "-server" and can't find it
>> anywhere. It brings to mind the -server argument for java.exe but
>> there's nothing in the launch configuration's arguments tab, VM or
>> program. The other project, the one that works, gives the deprecation
>> warning but not the unknown argument error.
>>
>> Anyone know where that errant argument might be coming from?
>>
>> Thanks,
>> Isaac
>>
>>
>
>
> >
>

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