Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

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