Ok. Sorry I did not read it right :( .. So i did add it in the folder named 'public' , However it does not seem to request for that resource (Music.css). Like you said I have not included <stylesheet src='Music.css' /> specification on the .gwt.xml file
Wonder what's the issue here.. I am using GWT2.0.2 On Tue, Feb 23, 2010 at 9:14 AM, Ashish Khivesara <[email protected]> wrote: > Thanks Ashar for your response. I am a little perplexed though. Java > does not allow the 'public' as part of package name, and hence eclipse > does not let me do that. So how can one name a package as e.g. > com.ashish.client.music.public (if I understood what you meant > correctly) > > Thanks > Ashish > > On Fri, Feb 19, 2010 at 5:52 PM, Ashish Khivesara > <[email protected]> wrote: >> This looks like a bug. >> Issue: If a module without a entry point includes a stylesheet element then >> the path is considered to be relative to the module that may inherit it. >> This make it rigid and thereby adds a dependency between the inheriting >> module. >> In my case Music module had this line in the Music.gwt.xml >> <stylesheet src='Music.css' /> >> Now Home module inherits Music modules. >> But GWT instead of looking for /music/Music.css, looks for the css resource >> in /home/Music.css >> [WARN] 404 - GET /home/Music.css (127.0.0.1) 1400 bytes >> >> >> On Fri, Feb 19, 2010 at 5:31 PM, Ashish Khivesara >> <[email protected]> wrote: >>> >>> Well the issue here would maybe because the module here in question does >>> not an Entry point and hence there is no hostpage to inject this css >>> reference into. >>> So this there a way to make sure the inheriting module injects this >>> stylesheet in its host page?? >>> >>> Thanks >>> Ashish >>> On Fri, Feb 19, 2010 at 5:18 PM, Ashish Khivesara >>> <[email protected]> wrote: >>>> >>>> I need to associate a local css resource file with a module. This module >>>> does not have Entry point hence I cannot simply import it in the html. >>>> Here is what I did >>>> I added this line in my Music.gwt.xml >>>> <stylesheet src='Music.css' /> >>>> Music.css resides in the war/ directory >>>> Now I inherit this module in another Module. However the css resource >>>> does not seem to be attached / downloaded. >>>> Any pointers? >>>> Thanks >>>> Ashish >>> >> >> > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
