Compiler ignores any file named like "TextSomething.js"
Sencha Cmd version(s) tested:
Steps to reproduce the problem:
- 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".
Create a view "TextButton.js" in /view/ app folder. Require this file in app.js in views application config
And try to compile by command
Result file will be like
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
And u can see that result does not include a TextButton.js source
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.