There's something I'm not understanding about your setup.  You say you're
using HostedMode and the 1.6 project structure, but then you also said you
were using OOPHM.  How is that possible?  OOPHM doesn't support the new
project structure.

On Mon, Mar 16, 2009 at 9:51 PM, Vitali Lovich <[email protected]> wrote:

> I dunno - I applied the patch for hosted mode that was posted a while
> back.  I'm pretty sure it's hosted mode - otherwise, my project wouldn't run
> without me having to redo the 1.5 project structure.  Maybe I'm not
> understanding what you mean by GWTShell.  The main class that is launched is
> HostedMode.
>
> So what I was trying to do was change the theme that was being used by my
> module by updating the gwt.xml file.
>
> Then I reloaded the web-page to get it to pick up the change, but instead I
> got the error "unable to find module
>
> My set up is as follows:
> MyModule.gwt.xml -> contains my project description - rename-to set to
> mymodule
> MyModuleHosted.gwt.xml -> contains project description w/ user-agent set &
> 1 localization set so that compilation is faster (renamed to same name as
> MyModule).
>
> Load ModuleHosted.
>
> Hit website to ensure that everything is working fine.
> Change the theme (<inherits
> name='com.google.gwt.user.theme.standard.Standard'/> to some other valid
> theme).
> Hit Refresh
> Message "[ERROR] Unable to find 'mymodule.gwt.xml' on your classpath; could
> be a typo, or maybe you forgot to include a classpath entry for source?"
>
> So it looks like it may be trying to lookup the wrong descriptor - instead
> of trying to lookup the description of the original file it was loaded with,
> it gets confused & tries to load the module name.
>
> Thanks,
>
>
> On Mon, Mar 16, 2009 at 4:34 PM, Scott Blum <[email protected]> wrote:
>
>> OOPHM is still using GWTShell (I still owe John a review).  Can you give
>> us a little more detail about what you're doing?  What exact errors are you
>> seeing?
>>
>>
>> On Mon, Mar 16, 2009 at 3:53 PM, Vitali Lovich <[email protected]> wrote:
>>
>>> HostedMode w/ OOPHM.  rev 5009 if that helps.
>>>
>>>
>>> On Mon, Mar 16, 2009 at 11:41 AM, Scott Blum <[email protected]> wrote:
>>>
>>>> Is this using old-style GWTShell, or the new HostedMode?
>>>>
>>>> On Mon, Mar 16, 2009 at 2:30 AM, Vitali Lovich <[email protected]>wrote:
>>>>
>>>>> I'm just wondering if this is a bug or expected behaviour.  If I change
>>>>> the module descriptor that was used to launch the Jetty server, I am 
>>>>> unable
>>>>> to refresh the app - the webserver complains about not being able to find
>>>>> the module.  Shouldn't it detect this & recompile as necessary?
>>>>>
>>>>> I think there might be a related bug where this failure to find the
>>>>> module doesn't disconnect the server's OOPHM connection (even though the
>>>>> browser made a new one because I hit refresh).
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to