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

      0  

    Default Unanswered: Does not start the App build Production with Sencha Cmd 3 and Touch 2.1

    Unanswered: Does not start the App build Production with Sencha Cmd 3 and Touch 2.1


    Hi guys,

    A few months ago I started to develop an app with Sencha SDK Tools 2.0.0.beta.3 and Sencha Touch 2.0.1.1 under Ubuntu and so far I've been doing without problems.

    Now I installed Sencha Cmd 3.0.0.250 and I updated the app with Sencha Touch 2.1.0. Yesterday I was correcting the itemTpl Listeners because the way he used is obsolete, and a couple of presentation settings. Nothing serious.

    Once again work as I hope Development environment, I build the Production environment without errors:

    Code:
    $ sencha app build --environment production
    Sencha Cmd v3.0.0.250
    [INF]        init-properties:
    [INF]        init-sencha-command:
    [INF]        init:
    [INF]        -before-app-build:
    [INF]        app-build-impl:
    [INF]        production:
    [INF]        -before-init-local:
    [INF]        -init-local:
    [INF]        -after-init-local:
    [INF]        init-local:
    [INF]        find-cmd:
    [INF]        -before-init:
    [INF]        -init:
    [INF]        -after-init:
    [INF]        init:
    [INF]        -before-build:
    [INF]        sass:
    [INF]        -before-sass:
    [INF]        -sass:
    [INF]        [shellscript] identical ../css/app.css 
    [INF]        -after-sass:
    [INF]        page:
    [INF]        -before-page:
    [INF]        -page:
    [INF]        building application
    [INF]        Deploying your application to /home/user/workspace/Foo/build/Foo/production
    [INF]        Copied app.js
    [INF]        Copied resources/css/app.css
    [INF]        Copied /home/user/workspace/Foo/Ux
    [INF]        Copied /home/user/workspace/Foo/resources/images
    [INF]        Copied /home/user/workspace/Foo/resources/sounds
    [INF]        Copied /home/user/workspace/Foo/resources/locales
    [INF]        Copied /home/user/workspace/Foo/resources/icons
    [INF]        Copied /home/user/workspace/Foo/resources/startup
    [INF]        Resolving your application dependencies (file:////home/user/workspace/Foo/index.html)
    [INF]        Compiling app.js and dependencies
    [INF]        Processing classPath entry : /home/user/workspace/Foo/sencha-compile-temp-dir
    [INF]        Processing classPath entry : /home/user/workspace/Foo/touch/src
    [INF]        Processing classPath entry : /home/user/workspace/Foo/app.js
    [INF]        Processing classPath entry : /home/user/workspace/Foo/app
    [INF]        Processing class inheritance graph
    [INF]        Processing instantiation refereces to classes and aliases
    [INF]        Processing source dependencies
    [INF]        Concatenating output to file /home/user/workspace/Foo/build/Foo/production/app.js
    [INF]        Completed compilation.
    [INF]        Processed remote file touch/sencha-touch.js
    [INF]        Processed local file app.js
    [INF]        Minified app.js
    [INF]        Minified resources/css/app.css
    [INF]        Generated app.json
    [INF]        Embedded microloader into index.html
    [INF]        Generating appcache
    [INF]        Generating checksum for appCache item: index.html
    [INF]        Successfully deployed your application to /home/user/workspace/Foo/build/Foo/production
    [INF]        -after-page:
    [INF]        run:
    [INF]        -build:
    [INF]        -after-build:
    [INF]        build:
    [INF]        -after-app-build:
    [INF]        app-build:
    But when I go to the Chrome browser, the screen goes Microloader and the Console does not display any error:

    Code:
    Document was loaded from Application Cache with manifest http://foo/build/Foo/production/cache.appcache
    Application Cache Checking event
    Application Cache NoUpdate event
    And only load two files:

    Code:
    http://foo/build/Foo/production/
    http://foo/build/Foo/production/app.json?1352460945842
    I'm pretty clueless at this scenario. No errors, no warnings.

    Can you give me guidance on that happening?

    Thank you very much in advance. I keep debugging to see if I find something.

    Regards,

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

      0  

    Default Sorry... syntax error silence the error

    Sorry... syntax error silence the error


    Hi,

    app.js had a syntax error, missing closing element debug </debug>.

    Code:
    //<debug>
    Ext.Loader...
    //<debug>
    [snip]
    Last edited by mitchellsimoens; 10 Nov 2012 at 3:34 PM. Reason: snipped