Sencha Premium Member
Error loading resources after using 'sencha compile concatenate'
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:
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
If I run the un-concatenated Sencha Architect project deployed on Apache it shows me the initial view as expected.