Success! Looks like we've fixed this one. According to our records the fix was applied for SDKTOOLS-242 in a recent build.
  1. #1
    Sencha User Stormseeker's Avatar
    Join Date
    Jan 2010
    Location
    Evanston, Illinois
    Posts
    55
    Vote Rating
    1
    Stormseeker is on a distinguished road

      0  

    Default Apps in Workspaces in Cmd V3.0.0.230 have wrong default ext image paths

    Apps in Workspaces in Cmd V3.0.0.230 have wrong default ext image paths


    Setup:
    • Win7 64 bit
    • Sencha Cmd V3.0.0.230
    • ExtJS 4.1.1a
    Commands:
    • sencha -sdk path/to/4.1.1a generate workspace C:\TestWrkspace
    • sencha -sdk path/to/4.1.1a generate app Test C:\TestWrkspace\Test
    • navigate to C:\TestWrkspace\Test
    • sencha app build
    • navigate to C:\TestWrkspace\build\Test
    • Open index.html
    Notice the following error in console:
    [COLOR=red !important]Failed to load resource[/COLOR] file:///C:/TestWrkspace/build/ext/re...roll-right.gif


    It looks like when you create the app inside of the workspace, the path to the images is being written incorrectly.

    It is looking for the images in the following path:
    C:\TestWrkspace\build\ext\resources\themes\images\default\tab-bar\scroll-right.gif
    They actually exist here:
    C:\TestWrkspace\build\Test\ext\resources\themes\images\default\tab-bar\scroll-right.gif

    Any help would be appreciated.







  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,229
    Vote Rating
    114
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2007
    Location
    Sarasota, FL
    Posts
    90
    Vote Rating
    3
    pbienick is on a distinguished road

      0  

    Default Is this the same bug?

    Is this the same bug?


    Sencha Cmd v3.0.0.230
    Ext JS 4.1.2a (Ext.getVersion('extjs') reports 4.1.2.1)

    My app name is LP...

    I'd just like to make sure that the bug described in this thread is the same as what I'm experiencing since I do not use a workspace. Basically, when I build the app (with sencha ant build), the images are being generated in build/LP/resources/images/default/, yet the references in the CSS files all point to build/LP/ext/resources/themes/images/default. Is this a bug, and if so is it the same bug? If not, perhaps I'm missing a configuration parameter somewhere?

  4. #4
    Sencha User Stormseeker's Avatar
    Join Date
    Jan 2010
    Location
    Evanston, Illinois
    Posts
    55
    Vote Rating
    1
    Stormseeker is on a distinguished road

      0  

    Default


    That's odd. I don't have the same problem when I create just an App and no workspace using 4.1.1a. I'll have to give it a go when I have a second with 4.1.2a

  5. #5
    Sencha Premium Member
    Join Date
    Oct 2007
    Location
    Sarasota, FL
    Posts
    90
    Vote Rating
    3
    pbienick is on a distinguished road

      0  

    Default


    For my own sanity I just tried this again from scratch. I created a new directory, and then from within that directory, I ran:

    sencha -s ../extjs/ext-4.1.2a generate app LP .
    sencha ant build

    Images were generated in build/LP/resources/images/default/, but they are never referenced in the CSS file (build/LP/resources/css/app.css).

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar