Hi,


We are facing an issue while generating build using following command,


sencha -debug=true -sdk ExtJS4 compile -classpath=extjs4\src,content\app.js,content\app page -yui -in=content\default.aspx -out=build\default.aspx > build.log

Sencha Cmd v3.1.0.256
...
...
...
[DBG] Adding dynamic requirement on Ext.tip.QuickTipManager to Application.js as a StaticReference
[DBG] Detected lazy instantiation reference to Ext.app.Controller in file E:\Content\ext\src\app\Application.js
[DBG] Adding dynamic requirement on Ext.app.Controller to Application.js as a StaticReference
[DBG] Detected Ext.create call
[DBG] C1002: Class was referenced but not found -- E:\Content\ext\src\app\Application.js:29269
[DBG] Detected lazy instantiation reference to Ext.StoreManager in file E:\Content\ext\src\app\Application.js
[DBG] Adding dynamic requirement on Ext.data.StoreManager to Application.js as a StaticReference
[DBG] Detected Ext.create call
[DBG] C1002: Class was referenced but not found -- E:\Content\ext\src\app\Application.js:31169
...
...
...
[DBG] C1002: Class was referenced but not found (button) -- E:\Content\ext\src\toolbar\Toolbar.js:21071
...
...
...
E:\Content\app\view\washsale\WashSaleWin.js
[DBG] Resolving dependencies
[DBG] processing 0 source files
[DBG] new sorted order is :


[DBG] Resolving dependencies
[DBG] processing 1 source files
[DBG] Processing dependencies for file: script-file-1.js
[DBG] new sorted order is :
E:\Content\sencha-compile-temp-dir\b04efdf4-37e9-423f-81e8-c632cac73ae9\script-file-1.js
[DBG] Enabling transitive dependencies
[DBG] Enabling transitive dependencies
[DBG] Enabling transitive dependencies
[DBG] Enabling transitive dependencies
[DBG] Enabling transitive dependencies
[DBG] Enabling transitive dependencies
[DBG] Enabling transitive dependencies for E:\Content\sencha-compile-temp-dir\b04efdf4-37e9-423f-81e8-c632cac73ae9\script-file-1.js
[DBG] sorting compile context...
[DBG] compile context sorted
[DBG] optimizing text references for file E:\Content\sencha-compile-temp-dir\b04efdf4-37e9-423f-81e8-c632cac73ae9\script-file-1.js
[DBG] Concat file: E:\Content\sencha-compile-temp-dir\b04efdf4-37e9-423f-81e8-c632cac73ae9\script-file-1.js
[INF] Compressing data with YuiJavascriptCompressor
[DBG] Load url is file:/C:/Users/ps/bin/Sencha/Cmd/3.1.0.256/lib/yuicompressor-2.4.7.jar
[INF] Concatenating output to file E:\Content\build\Advisor\production\all-classes.js
[DBG] removing tempdir E:\Content\sencha-compile-temp-dir

Issue here is that final js file E:\Content\build\Advisor\production\all-classes.js is coming blank.
Not sure if we need to fix the issue "C1002" highlighted above. If yes, what could be solution to fix it.


We also tried setting up new project using "sencha generate app Content" and copied over files to it and then used "sencha app build production" But still getting the same results.


Our purpose right now is to minify all js into one minified JS file. Please let us know how we can get that.
We have upgraded to Sencha Ext JS 4.1.3


Thanks,
Pradeep