1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    2
    Vote Rating
    0
    hbensalem is on a distinguished road

      0  

    Default Sencha Command + Cordova Error "Failed getting js file list"

    Sencha Command + Cordova Error "Failed getting js file list"


    REQUIRED INFORMATION




    Sencha Cmd version(s) tested:
    • Sencha Cmd 4.0.1.45
    Operating System:
    • MacOs Mavericks
    Framework used:
    • Sencha Touch 2.3.1
    Description:
    Build fails when the resources are merged .. with error :
    Code:
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: Failed getting js file list

    i've an additional library ux/Localization which i've registred :
    Code:
     Ext.Loader.setConfig({    enabled: true,
        disableCaching: false, // important
        paths: {
            'Ext.ux': 'ux'
        }
    });
    and i've also added the path to the class path in : sencha.cfg


    Code:
    app.classpath=${app.dir}/app.js,${app.dir}/app,${app.dir}/ux,${app.dir}/locales
    the locales dir contains ; 2 files en.js and fr.js


    Code:
    Ext.define('locales.en', {
        extend: 'Ext.Base',
    
    
    
    
        singleton: true,
    
    
    
    
        BUTTON: {
            BACK: 'Back',
            OK: 'OK',
            CANCEL: 'Cancel',
            YES: 'Yes',
            NO: 'No',
            NEWS: 'What\'s new',
            EVENTS: 'Events',
            RESOURCES: 'Resources',
            SETTINGS: 'Settings'
        }
    });
    and the additional library contains :
    Code:
    
    ux 
    |--Localization.js
    |--Localization
    |---+ model
    |------+ xxxx.js
    |---+ store
    |------+ xxxx.js
    |------+ xxxx.js
    |---+ view
    |------+ xxxx.js



    [B]The output from sencha diag show:[B]
    Code:
    Sencha Cmd v4.0.1.45
    [INF]                          app.archivePath : archive
    [INF]                            app.build.dir : /Users/houssem/Sites/triennaleMobile/build/triennaleMobile
    [INF]                            app.classpath : /Users/houssem/Sites/triennaleMobile/app.js,/Users/houssem/Sites/triennaleMobile/app,/Users/houssem/Sites/triennaleMobile/ux,/Users/houssem/Sites/triennaleMobile/locales
    [INF]                          app.cmd.version : 4.0.1.45
    [INF]                           app.config.dir : /Users/houssem/Sites/triennaleMobile/.sencha/app
    [INF]                                  app.dir : /Users/houssem/Sites/triennaleMobile
    [INF]                            app.framework : touch
    [INF]                    app.framework.version : 2.3.0
    [INF]                                   app.id : 2df6ba5e-a6f9-45e2-a71e-f675c75c78bf
    [INF]                        app.indexHtmlPath : index.html
    [INF]                                 app.name : triennaleMobile
    [INF]                       app.requires.names :
    [INF]                    app.requires.packages :
    [INF]                       app.resource.paths :
    [INF]                     buildenvironment.dir : /Users/houssem/Sites/triennaleMobile
    [INF]                buildenvironment.load.dir : /Users/houssem/Sites/triennaleMobile
    [INF]                           cmd.config.dir : /Users/houssem/bin/Sencha/Cmd/4.0.1.45
    [INF]                                  cmd.dir : /Users/houssem/bin/Sencha/Cmd/4.0.1.45
    [INF]                     cmd.framework.minver : 2.2.0
    [INF]                    cmd.framework.version : 2.99.99.99999
    [INF]                             cmd.jvm.args : -Xms128m -Xmx1024m -Djava.awt.headless=true
    [INF]               cmd.merge.tool.args.araxis : -wait -merge -3 -a1 {base} {user} {generated} {out}
    [INF]               cmd.merge.tool.args.kdiff3 : {base} {user} {generated} -o {out}
    [INF]              cmd.merge.tool.args.p4merge : {base} {user} {generated} {out}
    [INF]            cmd.merge.tool.args.smartsync : {user} {generated} {base}
    [INF]           cmd.merge.tool.args.sourcegear : --merge --result={out} {user} {base} {generated}
    [INF]             cmd.merge.tool.args.tortoise : -base:{base} -theirs:{generated} -mine:{user} -merged:{out}
    [INF]                               cmd.minver : 3.0.0.0
    [INF]                             cmd.platform : osx
    [INF]                          cmd.server.port : 1841
    [INF]                              cmd.version : 4.0.1.45
    [INF]                             cmd.web.port : 1841
    [INF]                      framework.classpath : /Users/houssem/Sites/triennaleMobile/touch/src
    [INF]                     framework.cmd.minver : 3.1.0.53
    [INF]                    framework.cmd.version : 4.0.1.45
    [INF]                     framework.config.dir : /Users/houssem/bin/Sencha/Cmd/4.0.1.45/plugins/touch/2.3
    [INF]                            framework.dir : /Users/houssem/Sites/triennaleMobile/touch
    [INF]                        framework.ignores : src/locale,src/platform,auth2/Auth.js,scroller/Infinite.js
    [INF]                           framework.name : touch
    [INF]              framework.preprocessor.opts : charts:no
    [INF]                        framework.version : 2.3.0
    [INF]                           repo.local.dir : /Users/houssem/bin/Sencha/Cmd/repo
    [INF]         system.java.net.useSystemProxies : true
    [INF]                                touch.dir : /Users/houssem/Sites/triennaleMobile/touch
    [INF]                      workspace.build.dir : /Users/houssem/Sites/triennaleMobile/build
    [INF]                    workspace.cmd.version : 4.0.1.45
    [INF]                     workspace.config.dir : /Users/houssem/Sites/triennaleMobile/.sencha/workspace
    [INF]                            workspace.dir : /Users/houssem/Sites/triennaleMobile
    [INF]                   workspace.packages.dir : /Users/houssem/Sites/triennaleMobile/packages
    [INF]                      workspace.theme.dir : /Users/houssem/Sites/triennaleMobile/packages/${args.themeName}
    Steps to reproduce the problem:
    Code:
    triennaleMobile houssem$ sencha -debug app build -run native

    Full execution log with -debug option in the attachement, thank you for your help debug.txt.zip

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    2,912
    Vote Rating
    89
    fmoseley is just really nice fmoseley is just really nice fmoseley is just really nice fmoseley is just really nice fmoseley is just really nice

      0  

    Default


    The frame work also uses Ext.ux there could be a conflict.
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

    Need more help with your app? Hire Sencha Services services@sencha.com

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

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    2
    Vote Rating
    0
    hbensalem is on a distinguished road

      0  

    Default


    thank you for your response .. i've re-initialised the projet from scratch and it worked .. i can't explain why ..

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar