1. #1
    Sencha User
    Join Date
    Nov 2008
    Posts
    2
    Vote Rating
    0
    sff is on a distinguished road

      0  

    Default Some files does not included by compiler

    Some files does not included by compiler


    Compiler ignores any file named like "TextSomething.js"

    REQUIRED INFORMATION

    Sencha Cmd version(s) tested:
    • Sencha Cmd 3.1.0.256
    Operating System:
    • Win7
    Framework used:
    • Ext JS 4.1.1a
    Description:
    • Any file that name started with "Text.." will not be included in compilation result file. That file may be called like "view.TextButton.js" or "controller.TextController".
    Steps to reproduce the problem:

    Create a view "TextButton.js" in /view/ app folder. Require this file in app.js in views application config

    Code:
    Ext.application({
        name: 'MyApp',
    
    
        views: [
            'Main',
            'TextButton',
        ],
    
    
        controllers: [
            'Main',
        ],
    
    
        autoCreateViewport: false
    });
    And try to compile by command

    Code:
    sencha -debug compile -classpath=ext/src page -name=page -in index.html -out build/index.html and restore page and exclude -namespace Ext and exclude -f=ext and concat app-all.js
    Result file will be like

    Code:
    Ext.define('MyApp.controller.Main', {
        extend:  Ext.app.Controller 
    });
    Ext.define("MyApp.view.Main", {
        extend:  Ext.Component ,
        html: 'Hello, World!!'
    });
    /*
        This file is generated and updated by Sencha Cmd. You can edit this file as
        needed for your application, but these edits will have to be merged by
        Sencha Cmd when it performs code generation tasks such as generating new
        models, controllers or views and when running "sencha app upgrade".
    
    
        Ideally changes to this file would be limited and most work would be done
        in other places (such as Controllers). If Sencha Cmd cannot merge your
        changes and its generated code, it will produce a "merge conflict" that you
        will need to resolve manually.
    */
    
    
    // DO NOT DELETE - this directive is required for Sencha Cmd packages to work.
    //@require @packageOverrides
    
    
    Ext.application({
        name: 'MyApp',
    
    
        views: [
            'Main',
            'TextButton',
        ],
    
    
        controllers: [
            'Main'
        ],
    
    
        autoCreateViewport: false
    });
    
    
    //@tag page-page
    //@require ../../app/app.js
    And u can see that result does not include a TextButton.js source

  2. #2
    Sencha User
    Join Date
    Nov 2008
    Posts
    2
    Vote Rating
    0
    sff is on a distinguished road

      0  

    Default


    Oh, sorry guys. This is my mistake.

    In "compile" command I use setting "-f=ext". That exclude all files with name "..ext.."

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