PDA

View Full Version : Errors Trying to Deploy Application



neurodon
30 Jun 2012, 8:32 PM
Hello,

I am trying to deploy an ExtJS MVC app.. and having some issues with dependencies. I keep getting these errors on load in the production folder (with app-all.js). I have all of the files included with "requires", however they don't seem to load properly. What am I doing wrong?



GET /js/src/ux/form/field/AddButton.js?_dc=1341116859553 404 (Not Found) ext.js:15
GET /Core/view/app/widget/Stream.js?_dc=1341116859559 404 (Not Found) ext.js:15
GET /Core/view/app/layout/Object.js?_dc=1341116859559 404 (Not Found) ext.js:15
GET /Core/view/app/controls/EventCreator.js?_dc=1341116859554 404 (Not Found) ext.js:15
GET /Core/view/app/Navigator.js?_dc=1341116859566 404 (Not Found) ext.js:15
GET /Core/view/module/service/object/Case.js?_dc=1341116859566 404 (Not Found) ext.js:15

neurodon
1 Jul 2012, 5:30 AM
Update:

I made the errors go away by removing all of the "requires" directives inside each file that was throwing an error. It's almost as if it was overnesting requires and causing errors.

Is that desired behavior?

Brandon

scottmartin
1 Jul 2012, 3:12 PM
How are you combining your files, with SDK? how is your jsb3 setup .. to include all the required files to create all-classes.js, then use ext.js instead of ext-all.js.

Scott.