Sencha Touch 2 KitchenSink示例构建失败

时间:2013-06-17 22:53:58

标签: build sencha-touch sencha-cmd

我正在尝试从Sencha Touch 2.2.1 GPL包构建Kitchensink示例。我正在使用Sencha CMD 3.1.2.342,但有些事情失败了。这是日志:

C:\wamp2.1\www\sencha\examples\kitchensink>sencha app build testing
Sencha Cmd v3.1.2.342
[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-build-impl:
[INF]
[INF] -before-init-local:
[INF]
[INF] -init-local:
[INF]
[INF] -after-init-local:
[INF]
[INF] init-local:
[INF]
[INF] find-cmd:
[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] init:
[INF]
[INF] -before-build:
[INF]
[INF] sass:
[INF]
[INF] -before-sass:
[INF]
[INF] -sass:
[INF] [shellscript]
[INF] [shellscript] C:\wamp2.1\www\sencha\examples\kitchensink\resources\sass>co
mpass compile --boring --force
[INF] [shellscript] identical ../css/bb10.css
[INF] [shellscript] identical ../css/sencha-touch.css
[INF] [shellscript] identical ../css/wp.css
[INF]
[INF] -after-sass:
[INF]
[INF] page:
[INF]
[INF] -before-page:
[INF]
[INF] -page:
[ERR] The following error occurred while executing this line:
C:\wamp2.1\www\sencha\examples\kitchensink\.sencha\app\build-impl.xml:127: The f
ollowing error occurred while executing this line:
C:\wamp2.1\www\sencha\examples\kitchensink\.sencha\app\build-impl.xml:121: javax
.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: Referenc
eError: "SenchaLogManager" is not defined. (<Unknown source>#6) in <Unknown sour
ce> at line number 6

知道出了什么问题吗?什么是“SenchaLogManager”?

注意:自定义应用正在构建正常

由于

1 个答案:

答案 0 :(得分:0)

在sencha论坛上查看以下帖子后

Thread1

Thread2

有人在sencha论坛发布如下

  

解决。找到Sencha Cmd v3.1.1.270并安装它。使用st2.2   一切都好了

你可以看到它可能是sencha触摸框架工作和sencha CMD

之间的不匹配