Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    7
    Vote Rating
    0
    tuongaz is on a distinguished road

      0  

    Default Sencha Compile bug

    Sencha Compile bug


    When I run sencha compile, i got the following bugs:

    Code:
    sencha compile -classpath=sdk/src,app,app.js page -in=app.html -out=build/index.html
    Sencha Cmd v3.0.0.141
    [INFO ]        Compiling page null
    [INFO ]        Processing classPath entry : sencha-compile-temp-dir
    [INFO ]        Processing classPath entry : sdk/src
    [INFO ]        Processing classPath entry : app
    [INFO ]        Processing classPath entry : app.js
    [WARN ]        JsParse Warning : 
    message => Trailing comma is not legal in an ECMA-262 object initializer
    file => sdk/src/fx/animation/Cube.js:126,13
    line =>             },
    [INFO ]        Processing class inheritance graph
    [ERROR]        Failed to resolve dependency Ext.scroll.scroller.CssPosition for file Ext.scroll.scroller.Infinite
    [ERROR]        Error executing page compilation Unknown definition for dependency : Ext.scroll.scroller.CssPosition
    [ERROR]        com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.scroll.scroller.CssPosition

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    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


    Can you try with our latest release?

    http://www.sencha.com/forum/showthre...-Now-Available

    There really should be no issue with resolving a framework file, you can also ensure that the file is there.
    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.

  3. #3
    Sencha User
    Join Date
    Apr 2011
    Posts
    7
    Vote Rating
    0
    tuongaz is on a distinguished road

      0  

    Default


    I have upgraded to the latest version Sencha Cmd v3.0.0.181 but still got the same error. Is there anyway I can tell Sencha Cmd to ignore the sdk/src ?

  4. #4
    Sencha User
    Join Date
    Oct 2012
    Posts
    6
    Vote Rating
    0
    mtajur is on a distinguished road

      0  

    Default I have it too.

    I have it too.


    Same thing happening here. Using the latest SDK (3.0.0.190) and latest Sencha Touch 2.1 beta, I get this when trying to compile:

    Code:
    [ERROR]		Failed to resolve dependency Ext.scroll.scroller.CssPosition for file Ext.scroll.scroller.Infinite
    [ERROR]		Error executing page compilation Unknown definition for dependency : Ext.scroll.scroller.CssPosition
    [ERROR]		com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.scroll.scroller.CssPosition

  5. #5
    Sencha User
    Join Date
    Oct 2012
    Posts
    6
    Vote Rating
    0
    mtajur is on a distinguished road

      0  

    Default Got it fixed.

    Got it fixed.


    Got it fixed. Had to replace a line in touch/src/scroll/scroller/Infinite.js:

    line 5 used to be:
    Code:
        extend: 'Ext.scroll.scroller.CssPosition',
    but I replaced it to be:
    Code:
        extend: 'Ext.util.translatable.CssPosition',
    so looks like a typo Works nicely now.

  6. #6
    Sencha User
    Join Date
    Mar 2009
    Posts
    10
    Vote Rating
    0
    thetoaster is on a distinguished road

      0  

    Default


    for me it only worked with:

    Code:
        extend: 'Ext.util.translatable.ScrollPosition',
    is this correct?