-
7 Jan 2012 4:10 AM #1
Building an Example using Sencha SDK Tools
Building an Example using Sencha SDK Tools
Hi,
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 .
I see:
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?
Thanks.
-
7 Jan 2012 6:38 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,121
- Vote Rating
- 453
That is saying that Ext.Loader doesn't have a correct path to Ext namespace.
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.
-
7 Jan 2012 10:23 PM #3
Hi Mitchell,
I already put the following code at the top of app.js:
Ext.Loader.setPath('Ext', '../../../src');
Ext.Loader.setConfig({enabled:true});
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.
Thanks.
-
13 Jan 2012 6:45 PM #4
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote