2017-04-20 30 views
0

命令sencha app build --locale en production不起作用。以下是错误文本:如何使用Cmd的指定语言环境选项创建Sencha ExtJS应用程序程序集?

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 
+0

您是否尝试过'煎茶的应用程序建立生产--locale en'? – Alexander

+0

@Alexander尝试过。不起作用。 –

回答

0

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

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

可以使用的工具包,主题和语言环境的组合specifiy构建:

sencha app build classic-en production 

如果你使用一个特定的主题,例如主题FOO酒吧,你需要加入:

sencha app build classic-theme-foo-bar-en production 
相关问题