首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Sencha Cmd -未知命令:包括

Sencha Cmd -未知命令:包括
EN

Stack Overflow用户
提问于 2014-04-15 08:45:44
回答 2查看 1.5K关注 0票数 1

嗨大家好,

问题是sencha给出了这个错误:未知命令包括

I在ExtJS4.2中工作

红宝石-v

-红宝石2.0.0p 353 (2013-11-22) i 386-明w32

罗经-v ->罗盘0.12.5 (Alnilam)

sencha cmd版本: 4.0.4.84

你的解决方案是什么?

谢谢大家

代码语言:javascript
运行
复制
command line code :

cd D:\Proje\SenchaExtJs\TaskList

sencha app refresh

 Error output here : 

> Sencha Cmd v4.0.4.84 [INF]  [INF] init-plugin: [INF]  [INF]
> cmd-root-plugin.init-properties: [INF]  [INF] init-properties: [INF] 
> [INF] init-sencha-command: [INF]  [INF] init: [INF]  [INF]
> app-refresh: [INF]      [echo] Refreshing app at
> D:\Proje\SenchaExtJs\TaskList [INF]  [INF] app-refresh-impl: [INF] 
> [INF] -before-init-local: [INF]  [INF] -init-local: [INF]  [INF]
> -after-init-local: [INF]  [INF] init-local: [INF]  [INF] find-cmd-in-path: [INF]  [INF] find-cmd-in-environment: [INF]  [INF]
> find-cmd-in-shell: [INF]  [INF] init-cmd: [INF]      [echo] Using
> Sencha Cmd from C:\Users\SARGIN.A-SARGIN\bin\Sencha\Cmd\4.0.4.84 for
> D:\Proje\SenchaExtJs\TaskList\build.xml [INF]  [INF] -before-init:
> [INF]  [INF] -init: [INF] Initializing Sencha Cmd ant environment
> [INF] Adding antlib taskdef for
> com/sencha/command/compass/ant/antlib.xml [INF]  [INF] -after-init:
> [INF]  [INF] -before-init-defaults: [INF]  [INF] -init-defaults: [INF]
> [INF] -after-init-defaults: [INF]  [INF] -init-compiler: [INF]  [INF]
> init: [INF]  [INF] refresh: [INF]  [INF] -before-refresh: [INF]  [INF]
> -init: [INF]  [INF] -init-compiler: [INF]  [INF] -detect-app-build-properties: [INF] Loading app json manifest... [INF] Loading classpath entry D:\Proje\SenchaExtJs\TaskList\ext\src [INF]
> Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\ext\packages\ext-theme-base\src [INF]
> Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\ext\packages\ext-theme-base\overrides
> [INF] Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\ext\packages\ext-theme-neutral\src [INF]
> Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\ext\packages\ext-theme-neutral\overrides
> [INF] Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\ext\packages\ext-theme-neptune\src [INF]
> Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\ext\packages\ext-theme-neptune\overrides
> [INF] Loading classpath entry D:\Proje\SenchaExtJs\TaskList\app [INF]
> Loading classpath entry D:\Proje\SenchaExtJs\TaskList\app.js [INF]
> Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\build\temp\production\Exp\sencha-compiler\app
> [INF] Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\build\temp\production\Exp\sencha-compiler\app
> [WRN] unable to locate files for external reference :
> D:\Proje\SenchaExtJs\TaskList\ext\ext-theme-neptune.js [WRN] scope is
> D:\Proje\SenchaExtJs\TaskList\build\temp\production\Exp\sencha-compiler\app
> [INF] Concatenating output to file
> D:\Proje\SenchaExtJs\TaskList/build/temp/production/Exp/sencha-compiler/cmd-packages.js
> [INF] Adding external reference : @full-page => @overrides [INF]
> Loading classpath entry
> D:\Proje\SenchaExtJs\TaskList\build\temp\production\Exp\sencha-compiler\cmd-packages.js
> [INF] Adding external reference : Ext.util.Observable =>
> D:\Proje\SenchaExtJs\TaskList/build/temp/production/Exp/sencha-compiler/cmd-packages.js
> [INF]  [INF] -refresh-app: [INF] Appending concatenated output to file
> D:\Proje\SenchaExtJs\TaskList/bootstrap.js [ERR]  [ERR] BUILD FAILED
> [ERR] com.sencha.exceptions.ExArg: Unknown command: "include" [ERR] 
> [ERR] Total time: 5 seconds [ERR] The following error occurred while
> executing this line:
> C:\Users\SARGIN.A-SARGIN\bin\Sencha\Cmd\4.0.4.84\plugins\ext\4.2\plugin.xml:386:
> The following error occurred while executing this line:
> D:\Proje\SenchaExtJs\TaskList\.sencha\app\build-impl.xml:367: The
> following error occurred while executing this line:
> D:\Proje\SenchaExtJs\TaskList\.sencha\app\refresh-impl.xml:100: The
> following error occurred while executing this line:
> D:\Proje\SenchaExtJs\TaskList\.sencha\app\refresh-impl.xml:44:
> com.sencha.exceptions.ExArg: Unknown command: "include"
EN

Stack Overflow用户

发布于 2018-04-11 13:57:50

添加此vm参数修复了该问题:your_sencha_path\Sencha\Cmd\6.5.3.6\sencha.vmoptions

代码语言:javascript
运行
复制
-Duser.country=US
-Duser.language=en 
-Duser.variant=Traditional_WIN
票数 1
EN
查看全部 2 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23078694

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档