-
27 Sep 2012 7:08 AM #1
Error when building application
Error when building application
I have basic application created with Cmd, with a single controller that has one view: 'ExtCalendar.view.Tree'. This view extends one of our classes ('Sch.panel.SchedulerTree') which is basically a TreePanel. Now when I'm trying to build the application I'm getting :
even though the application itself is running without any problems. My app.json looks as follows :[TRACE] processing graph for class : ExtCalendar.view.Tree
[ERROR] Failed to resolve dependency Sch.panel.SchedulerTree for file ExtCalendar.view.Tree
[DEBUG] removing tempdir /Library/WebServer/Documents/Bar/sencha-compile-temp-dir
[ERROR] BUILD FAILEDcom.sencha.exceptions.ExNotFound: Unknown definition for dependency : Sch.panel.SchedulerTree
and finally app.js :Code:{ "name": "ExtCalendar", "js": [ { "path": "ext/ext-all.js" }, { "path": "../../ExtScheduler2.x/sch-all-debug.js" }, { "path": "app/app.js", "update": "delta" } ], "css": [ { "path": "resources/css/default/app.css", "update": "delta" }, { "path": "../../ExtScheduler2.x/resources/css/sch-all.css" } ], "appCache": { "cache": [ "index.html" ], "network": [ "*" ], "fallback": [] }, "extras": [ "resources/images", "resources/icons", "resources/loading" ], "archivePath": "archive", "buildPaths": { "testing": "build/testing", "production": "build/production", "package": "build/package", "native": "build/native" }, "buildOptions": { "product": "ext", "minVersion": 3, "debug": true, "logger": true } }
Should the required classes be included somewhere or is there a different approach for this ?Code:Ext.Loader.setConfig({ enabled: true, disableCaching: false }); Ext.application({ name: 'ExtCalendar', controllers: ["TreeCalendar"], autoCreateViewport: true });Using ExtGantt / ExtScheduler from Bryntum ? I can help you integrate and implement it.
-
29 Sep 2012 1:11 PM #2
See http://www.sencha.com/forum/showthre...erated-Ext-app
We are currently working with Bryntum to ensure compatibility between their (awesome) products and Sencha Cmd.
Also, see http://www.sencha.com/forum/showthre...ndor-librariesDon Griffin
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote