Results 1 to 2 of 2

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

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    8
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,326
    Vote Rating
    1297
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •