[gwt-contrib] Re: Changed gwt.xml not picked up buy webserver

2009-03-16 Thread Vitali Lovich
Yeah, sorry if I haven't made that clear.  I am using the patch that was
posted earlier that enables OOPHM for HostedMode.  I'll try increasing the
log level.

On Mon, Mar 16, 2009 at 11:01 PM, John Tamplin  wrote:

> On Mon, Mar 16, 2009 at 10:58 PM, Scott Blum  wrote:
>
>> 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.
>
>
> He said he was using the patch posted earlier, so I presume he means the
> one you are reviewing.
>
> That said, that has not been thoroughly vetted so it is possible there is
> an issue there.  I have successfully refreshed a .gwt.xml change, but I
> don't have exactly the same setup as you.  Can you increase the log level
> and see if an earlier log message after refreshing gives any clues?
>
> --
> John A. Tamplin
> Software Engineer (GWT), Google
>
>
> >
>

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



[gwt-contrib] Re: Changed gwt.xml not picked up buy webserver

2009-03-16 Thread John Tamplin
On Mon, Mar 16, 2009 at 10:58 PM, Scott Blum  wrote:

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


He said he was using the patch posted earlier, so I presume he means the one
you are reviewing.

That said, that has not been thoroughly vetted so it is possible there is an
issue there.  I have successfully refreshed a .gwt.xml change, but I don't
have exactly the same setup as you.  Can you increase the log level and see
if an earlier log message after refreshing gives any clues?

-- 
John A. Tamplin
Software Engineer (GWT), Google

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



[gwt-contrib] Re: Changed gwt.xml not picked up buy webserver

2009-03-16 Thread Scott Blum
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  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 ( 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  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  wrote:
>>
>>> HostedMode w/ OOPHM.  rev 5009 if that helps.
>>>
>>>
>>> On Mon, Mar 16, 2009 at 11:41 AM, Scott Blum  wrote:
>>>
 Is this using old-style GWTShell, or the new HostedMode?

 On Mon, Mar 16, 2009 at 2:30 AM, Vitali Lovich 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
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Changed gwt.xml not picked up buy webserver

2009-03-16 Thread Vitali Lovich
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 ( 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  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  wrote:
>
>> HostedMode w/ OOPHM.  rev 5009 if that helps.
>>
>>
>> On Mon, Mar 16, 2009 at 11:41 AM, Scott Blum  wrote:
>>
>>> Is this using old-style GWTShell, or the new HostedMode?
>>>
>>> On Mon, Mar 16, 2009 at 2:30 AM, Vitali Lovich 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
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Changed gwt.xml not picked up buy webserver

2009-03-16 Thread Scott Blum
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  wrote:

> HostedMode w/ OOPHM.  rev 5009 if that helps.
>
>
> On Mon, Mar 16, 2009 at 11:41 AM, Scott Blum  wrote:
>
>> Is this using old-style GWTShell, or the new HostedMode?
>>
>> On Mon, Mar 16, 2009 at 2:30 AM, Vitali Lovich  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
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Changed gwt.xml not picked up buy webserver

2009-03-16 Thread Vitali Lovich
HostedMode w/ OOPHM.  rev 5009 if that helps.

On Mon, Mar 16, 2009 at 11:41 AM, Scott Blum  wrote:

> Is this using old-style GWTShell, or the new HostedMode?
>
> On Mon, Mar 16, 2009 at 2:30 AM, Vitali Lovich  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
-~--~~~~--~~--~--~---



[gwt-contrib] Re: Changed gwt.xml not picked up buy webserver

2009-03-16 Thread Scott Blum
Is this using old-style GWTShell, or the new HostedMode?

On Mon, Mar 16, 2009 at 2:30 AM, Vitali Lovich  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
-~--~~~~--~~--~--~---