Hybrid View

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Location
    Warsaw, Poland
    Posts
    38
    Vote Rating
    1
    sasklacz is on a distinguished road

      1  

    Default 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 :

    [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
    even though the application itself is running without any problems. My app.json looks as follows :

    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
        }
    }
    and finally app.js :

    Code:
    Ext.Loader.setConfig({
        enabled: true,
        disableCaching: false
    });
    
    
    Ext.application({  
        name: 'ExtCalendar',
        controllers: ["TreeCalendar"],
        autoCreateViewport: true
    });
    Should the required classes be included somewhere or is there a different approach for this ?
    Using ExtGantt / ExtScheduler from Bryntum ? I can help you integrate and implement it.

  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,512
    Vote Rating
    176
    dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of dongryphon has much to be proud of

      1  

    Default


    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-libraries
    Don Griffin
    Engineering Manager - Frameworks (Ext JS / Sencha Touch)

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

Thread Participants: 1

Tags for this Thread