-
30 Apr 2012 11:45 AM #1
Unanswered: Dependencies issue when building
Unanswered: Dependencies issue when building
Hi everyone,
Got an unknown issue on the build phase of the app.
My app looks clean in development (no big warning or alert), but when i'm trying to build it, it looks like a lot of files are missing.
After investigating on it, it looks like the sdk/src files haven't been imported and when I try to generate my dependencies json, the command export an empty file...Code:GET file:///C:/Users/###/Desktop/@DEV/SENCHA2/Touch2/@build/event/Dispatcher.js?_dc=1335814913401 GET file:///C:/Users/###/Desktop/@DEV/SENCHA2/Touch2/@build/event/publisher/Dom.js?_dc=1335814913403
FYI, i'm loading my Ext.application in an external .js file (due to load some cross/domain xml before loading the app).
If someone have some clues on it, could be helpful !
Thanks a lot !!
-
2 May 2012 5:14 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,581
- Vote Rating
- 433
- Answers
- 3100
Are you using Sencha Command to start your app?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
2 May 2012 10:27 AM #3
Hi Mitchell,
I've fixed a part of the issue.
Now my dependencies file looks good and I see the missing classes in the builded app.js.
HOWEVER, when i'm running the build, i still have the GET errors i've quoted up in the thread.Code:{ "className": "Ext.event.Dispatcher", "path": "./sdk/src/event/Dispatcher.js" }, { "className": "Ext.event.Dom", "path": "./sdk/src/event/Dom.js" }, { "className": "Ext.event.publisher.Dom", "path": "./sdk/src/event/publisher/Dom.js" }
It's not really logic, because now it should get those classes in the app.js directly, not looking for a sdk/src/... js file.
Any idea ? A bug to raise ?


Reply With Quote