7 Jan 2012 4:10 AM #1
Building an Example using Sencha SDK Tools
I'm playing around with one of the examples in Ext JS 4.0.7, trying to customise it slightly. I modified one of the js files but now I want to regenerate classes.js so the changes are picked up and minified...
I installed Sencha SDK Tools, when I navigate to the example project directory and execute:
$ sencha build -p app.jsb3 -d .
Loading the Ext JS 4 MVC Demo - Simple Project
Loaded 0 Packages
Loaded 1 Builds
[ERROR] File '/pathTo/ext-4.0.7-gpl/examples/app/simple/../../../../platform/src/util/Observable.js' is either not existent or unreadble
and so on.
Sorry if I am missing something obvious but not sure what is going on. Where should i be locating <pathTo>/platform/src/util/Observable.js. Or am I going about rebuilding this project the wrong way?
7 Jan 2012 6:38 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
That is saying that Ext.Loader doesn't have a correct path to Ext namespace.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
7 Jan 2012 10:23 PM #3
I already put the following code at the top of app.js:
I found this was necessary to get the example to load in my browser out of the box.
Can you clarify why this was necessary (or if it was not what I should have done) and if this is what you are referring to when you say Ext Loader doesn't have a correct path to the Ext namespace.
13 Jan 2012 6:45 PM #4