Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Sep 2011
    Location
    London
    Posts
    7
    Vote Rating
    0
    stevenarcher is on a distinguished road

      0  

    Default Error loading resources after using 'sencha compile concatenate'

    Error loading resources after using 'sencha compile concatenate'


    Hi All,


    I have a very simple EXTJS app written in designer that displays a default view with a grid that is connected to a JSONP store.


    I used Sencha CMD to concatenate all the JS together into all-classes.js:


    sencha compile --cl=app,app/controller,app/model,app/store,app/view,ext/src concatenate all-classes.js


    When I deploy my app to my Apache HTDOCS folder and refer to the all-clasess.js in app.html, I get the following errors:


    Uncaught Error: [Ext.Loader] Failed loading 'proxy/ajax.js', please verify that the file exists all-classes.js:10092
    Uncaught Error: [Ext.Loader] Failed loading 'MyApp/model/SystemMessageModel.js', please verify that the file exists


    I dont understand why the first error is listed as it is defined in all-classes.js:
    "Ext.define('Ext.data.proxy.Ajax', {...."


    Regarding the second, I dont understand why the error refers to 'MyApp/model/SystemMessageModel.js' as my class was originally located in


    '/app/model/SystemMessageModel.js' and is defined as


    "Ext.define('PortalSystemMessageApp.model.SystemMessageModel', {"

    If I run the un-concatenated Sencha Architect project deployed on Apache it shows me the initial view as expected.

    Cheers,
    Steve Archer

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    4
    Vote Rating
    0
    Futch is on a distinguished road

      0  

    Default


    I am facing the same issue, any idea how to fix this ?

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2011
    Location
    London
    Posts
    7
    Vote Rating
    0
    stevenarcher is on a distinguished road

      0  

    Default


    Yes after some tinkering I managed to get it to work using the following:
    Code:
    sencha compile --cl=ext/src,app/model,app/store,app/view,app/controller,app.js concat all-classes.js

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi