On Tue, Dec 9, 2008 at 9:48 PM, John Tamplin <[EMAIL PROTECTED]> wrote:

> On Tue, Dec 9, 2008 at 9:43 PM, Scott Blum <[EMAIL PROTECTED]> wrote:
>
>> We deal with this problem now by asserting that hosted mode will generally
>> not overwrite web mode artifacts unless they are newer.  For the specific
>> case of the selection script, we give the hosted mode generated selection
>> script the same timestamp as the GWT module that produced it.  This means a
>> hosted mode selection script will not overwrite a web mode selection script
>> except when you change the module definition, which should be acceptable.
>>
>
> What about if the change was actually in an inherited module?  Will it
> simply continue to use the old selection script until I manually remove it
> or do a web mode compile?
>

Changing and inherited module would update the lastModification time on the
leaf module, triggering an overwrite.


> Would it be possible to have them both produce the same selection script so
> it doesn't matter?
>

In the general case, I can't think of a clean way to do it.  You'd have to
add some really weird logic to the primary linker.

Scott

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

Reply via email to