1

我正在尝试从 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”?

注意:自定义应用程序正在构建中

谢谢

4

1 回答 1

0

在 sencha 论坛上查看以下主题后

线程1

线程2

sencha论坛有人发帖如下

解决了。找到 Sencha Cmd v3.1.1.270 并安装。使用 st2.2,现在一切正常

可以看到可能是sencha touch frame work和sencha CMD不匹配

于 2013-06-18T08:27:57.897 回答