Monday, October 17, 2011

Re: ImageResource, Sprites and "Data:" URL

Oops! I think I replied to the individuals last time ;)

Here's a summary:

@DoNotEmbed is only for DataResource and not for any
ResourcePrototype. Looked at the code of ImageResourceGenerator which
says "forceInline = false" always, without caring about DoNotEmbed.
IMHO, a simple change to this effect will be very useful.

ClientBundle.enableInlining was the only option that worked, but
sadly, it disables at a "global" level. It works for my case, so I'm
ok with it...


--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.com

On Oct 17, 2:52 pm, Nicolas Antoniazzi <nicolas.antonia...@gmail.com>
wrote:
> If your resource is declared from an interface, you can use a @DoNotEmbed
> annotation above specific resources instead of disabling it for all your
> application.
>
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/...
>
> 2011/10/17 Thomas Broyer <t.bro...@gmail.com>
>
>
>
>
>
>
>
> > Simply add <set-property name="ClientBundle.enableInlining" value="false"
> > /> to your gwt.xml. See
> >http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.htm...
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/google-web-toolkit/-/jh6jFaFGSk4J.
>
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate