1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    8
    Vote Rating
    0
    amoiseev is on a distinguished road

      0  

    Default Build error - Unknown definition for dependency : Ext.Base

    Build error - Unknown definition for dependency : Ext.Base


    Hi,

    I'm working on Ext JS 4.2 application. I have folder with custom Ext JS "library" on the same level as "app" folder - it's "clear" folder. Here is how folders structure looks like:

    struct.png

    Currently I'm upgrading from Ext JS 4.2RC to 4.2.0.663, but the problem I'm describing was even before the upgrade (don't think it's related to the upgrade process). When I invoke "sencha app refresh" command I get following error:

    Code:
    [ERR] Failed to resolve dependency Ext.Base for file Clear.data.ChangeObject
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.Base
    [ERR]
    [ERR] Total time: 6 seconds
    [ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.Base
    What is the reason of the problem? Do I need to add any configuration manually to be able to have it on the same level as "app" folder? And how to fix it?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,541
    Vote Rating
    872
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Ext.Base is a superclass of all Ext JS classes and should exist in the ext files (ext.js, ext-debug.js, ext-all-debug.js, etc)
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1

Tags for this Thread