Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Copied daily build to project folder and now have 404 errors on skins files

    Hello Isomorphic, I downloaded the latest daily build to evaluate the new DrawItem.getUnderlyingGWTCanvas() interface. I exited my project and unzipped the download and copied the smartgwt.jar and smargwt-skins.jar to my project folder so they are siblings of my war folder. I entered my project and cleaned and recompiled. The compile was successful with references in my code to the new DrawItem interface, so I know it got hooked-up to the daily build jar. But when I ran in Super Dev mode I got 404 errors when trying to retrieve files associated with the skin I was using. Here's a picture of the chrome console output: Click image for larger version

Name:	skins problem.JPG
Views:	32
Size:	73.8 KB
ID:	238133

    I suspect maybe I needed to do something more sophisticated to install the new jar's instead of just copying them to the project folders.

    Any hints you can provide will be greatly appreciated, thank you.

    Sincerely,
    Jim Waschura


    ========================================
    BTW, Am currently using GWT 2.6.0, developing in Eclipse using "Run as Web Application (GWT Super Dev Mode)"

    and gwt.xml file inherits are:
    ========================================


    <inherits name='com.google.gwt.user.User'/>
    <inherits name="com.smartgwt.tools.SmartGwtTools"/>
    <inherits name="com.smartgwt.SmartGwtNoTheme"/>
    <inherits name="com.smartgwt.Drawing"/> <!-- needs to be after SmartGwtNoTheme -->
    <inherits name="com.smartclient.theme.blackops.BlackOps"/>


    ========================================
    Typical error reported on the Eclipse console is:
    ========================================


    [WARN] 404 - GET /isomorphic/skins/BlackOps/images/Window/window_R.png (127.0.0.1) 1417 bytes
    Request headers
    Host: 127.0.0.1:8888
    Content-Length: 1418
    Connection: keep-alive
    Accept: image/webp,image/*,*/*;q=0.8
    User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
    Referer: http://127.0.0.1:8888/Ranger.html
    Accept-Encoding: gzip, deflate, sdch
    Accept-Language: en-US,en;q=0.8
    Cookie: GLog=%7B%0A%20%20%20%20isc_pageURL%3A%22http%3A//127.0.0.1%3A8888/Ranger.html%22%2C%20%0A%20%20%20%20isc_pageGUID%3A%22B67B802E-8BBA-4C85-B584-DEC4F06FEB14%22%2C%20%0A%20%20%20%20trackRPC%3Anull%2C%20%0A%20%20%20%20priorityDefaults%3A%7B%0A%20%20%20%20%20%20%20%20sgwtInternal%3A1%0A%20%20%20%20%7D%2C%20%0A%20%20%20%20defaultPriority%3A4%2C%20%0A%20%20%20%20left%3A1599%2C%20%0A%20%20%20%20top%3A972%2C%20%0A%20%20%20%20width%3A954%2C%20%0A%20%20%20%20height%3A490%0A%7D; _ga=GA1.1.789482486.1432511276
    Response headers
    Content-Type: text/html;charset=ISO-8859-1
    Cache-Control: must-revalidate,no-cache,no-store
    Content-Length: 1417

    Last edited by jimwaschura; 22 May 2016, 09:52.

    #2
    Ah, I was able to make it work by adding

    <script type="text/javascript">
    var isomorphicDir = "ranger/sc/";
    </script>


    In my <project>.html file. Interesting that this is was not required for the release build of smartgwt. I found release notes from a much-earlier version that says you don't need to set this any more, however, it works if I set it, and it doesn't work if I don't. I'd like to understand this better if someone has an explanation. Thank you. - Jim W.

    Comment

    Working...
    X