如何使用指定的Cmd语言环境选项制作Sencha ExtJS Application程序集?

时间:2017-04-20 19:58:08

标签: extjs

命令sencha app build --locale en production不起作用。这是错误文本:

C:\@repositories\element2\client\ews-office-app>sencha app build --locale en production
Sencha Cmd v6.2.2.36
[INF] Using GPL version of Ext JS version 6.2.0.981 from C:\@repositories\element2\client\ext.
[INF] The implications of using GPL version can be found here (http://www.sencha.com/products/extjs/licensing).
[ERR] No build descriptors selected

1 个答案:

答案 0 :(得分:0)

使用app.json中的构建描述符。 如果你有这样的构建配置

"builds": {
    "classic": {
        "toolkit": "classic",
        "locales": [
            "de",
            "es"
            "en",
        ]
    }
},

您可以使用工具包,主题和区域设置的组合来指定构建:

sencha app build classic-en production

如果您使用特定主题,例如 theme-foo-bar ,您还需要添加它:

sencha app build classic-theme-foo-bar-en production