Brandon, out of curiosity, how do you use those static files in your .html?
do you use absolute urls like http://codeserver:port/ModuleName/my_asset.css?
Because if you use relative paths they dont work in SDM since you have to
prepend the getModuleBaseForStaticFiles() path.

IMO, we should use -noprecompile always, because we dont know what
permutation is going to be used until the browser hits the codeserver, and
it's a bad idea to spend time precompiling for all permutations. Anyway, I
agree that all static files should be copied.

For legacy versions of GWT we could consider to make optional that
parameter, let's discuss it in the legacy-jar project in github.


On Mon, Sep 29, 2014 at 1:02 AM, Brandon Donnelson <[email protected]>
wrote:

> Cool that would be nifty.
>
> I've been testing with GWT 2.7.0-SNAPSHOT and GWT 2.6.1, although I
> haven't noticed those resources getting copied, although maybe its so new
> the snapshot doesn't have it yet.
>
> On Sunday, September 28, 2014 1:06:12 PM UTC-7, Ray Cromwell wrote:
>>
>> This was fixed recently I think, where all public resources are copied
>> even if no precompile happens.
>>
>>
>> On Sun, Sep 28, 2014 at 3:02 AM, Thomas Broyer <[email protected]> wrote:
>>
>>> I'd rather say DevMode's -superDevMode should share the same behavior as
>>> https://gwt-review.googlesource.com/#/c/9137/4/dev/codeserver/java/com/
>>> google/gwt/dev/codeserver/Recompiler.java
>>>
>>>
>>> On Sunday, September 28, 2014 10:56:17 AM UTC+2, Brandon Donnelson wrote:
>>>>
>>>> I've been thinking it might be good to be able to turn off noprecompile
>>>> when using super dev mode.
>>>>
>>>> I found with dev mode, the resources in the public folder could be
>>>> added to html page, although with -superDevMode on the resources are not
>>>> available till the first compile happens and this happens after the web
>>>> page is requested and if any public resources are included in the web page
>>>> there will be a 404 until the first compile. DevMode blocks until the
>>>> compile is done so the pattern of resource inclusion has to change for
>>>> those using public resources in the html page.
>>>>
>>>> Anyway do you think -noprecompile should be an option to turn off when
>>>> running DevMode with SuperDevMode?
>>>>
>>>> Thoughts?
>>>>
>>>> Thanks,
>>>> Brandon
>>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "GWT Contributors" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected]
>>> .
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/google-web-toolkit-contributors/65212555-efa9-
>>> 493c-aead-031566baaf20%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/65212555-efa9-493c-aead-031566baaf20%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/0e254f1e-b2c0-46ef-962f-0aa24b52f292%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/0e254f1e-b2c0-46ef-962f-0aa24b52f292%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAM28XAtLBHttgjD7jXh6kXTZhFGcSmH7zyZRiytYrvtc%3D03CrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to