1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    15
    Answers
    1
    Vote Rating
    0
    erbud is on a distinguished road

      0  

    Default Answered: Build Production: Failed to find file for Ux.locale.Manager

    Answered: Build Production: Failed to find file for Ux.locale.Manager


    Hi guys,

    For weeks I have been developing an app with Sencha Touch 2.0.1.1 and Sencha SDK Tools 2.0.0 Beta3. No problems building the Production version.

    When updating the app to Sencha Touch 2.1.0 and Sencha Cmd 3.0, when I try to build the Production version is not resolved with the location of the plug-in Ux.locale.Manager:

    Code:
    $ sencha app build --environment production
    Sencha Cmd v3.0.0.250
    [INF] init-properties:
    [INF] init-sencha-command:
    ...
    [ERR] Failed to find file for Ux.locale.Manager
    required by /home/my-user/workspace/foo/app.js
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    [ERR] /home/my-user/workspace/Foo/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.WrappedException: Wrapped com.sencha.exceptions.BasicException: com.sencha.exceptions.ExBuild: Failed to find any files for Ux.locale.Manager (<Unknown source>#461) in <Unknown source> at line number 461
    The working directory is:

    Code:
    /home/
         my-user/
             workspace/
                 foo/
                     app/
                     resources/
                     touch/
                     Ux/
                     app.js
                     ...
    I understand that in the development version used Ext.Loader settings:

    Code:
    //<debug>
    Ext.Loader.setConfig ({
         enabled: true,
         paths: {
             'Ext': './touch/src',
             'Ux': './ux'
         }
    });
    //</debug>
    But when generating a "build" (testing, production, ...), how Sencha Cmd generates paths? I've been reading the documentation, looking at examples of plugin Ux.locale.Manager and I don't know see that could be happening. I understand that Sencha Cmd paths obtained by reading the code of the application. Is that so? As I understand it?

    Thanks in advance,


  2. #2
    Sencha User
    Join Date
    Oct 2012
    Posts
    15
    Answers
    1
    Vote Rating
    0
    erbud is on a distinguished road

      0  

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2012
    Location
    The Netherlands
    Posts
    70
    Answers
    7
    Vote Rating
    4
    zwikske is on a distinguished road

      0  

    Default


    I see I've been helping you as well. Great !

  4. #4
    Sencha User
    Join Date
    Oct 2012
    Posts
    15
    Answers
    1
    Vote Rating
    0
    erbud is on a distinguished road

      0  

    Default


    Yes friend, was stuck, could not find the solution. Thank you very much!