mar*_*ion 5 extjs sencha-touch sencha-touch-2
我安装了ST SDK工具,当我在命令行执行'sencha'时,我看到了:
$ sencha
Sencha Command v2.0.0 Developer Preview
Copyright (c) 2011 Sencha Inc.
usage: sencha COMMAND [ARGS]
The available commands are:
build build a JSB project
create bootstrapdata generate boostrap data
create jsb generate a minimal JSB project for an app
create manifest generate classes manifest
package package your Touch web app into a native bundle
slice theme slice a custom theme's images for IE
See 'sencha help COMMAND' for more information on a specific command.
Run Code Online (Sandbox Code Playgroud)
但是,当我尝试'创建bootstrapdata'时,它会问我各种选项.
$ sencha create bootstrapdata
usage: sencha create bootstrapdata [OPTIONS...]
COMMAND: Generate Bootstrap Data
DESCRIPTION:
Generate boostrap data
OPTIONS:
--core[=]value, -c[=]value (required)
The list of all core package names, comma-separated, for example:
"foundation,core,dom"
--ignore[=][value], -i[=][value]
The list of items to be ignored, comma-separated
--jsb[=]value, -j[=]value (required)
The path to the framework's jsb3 file
--output[=]value, -o[=]value (required)
The file path to write bootstrap data to
--output-release[=][value], -r[=][value]
The file path to write bootstrap data-release to
--platform[=]value, -p[=]value (required)
The path to platform source directory
--src[=]value, -s[=]value (required)
The path to the framework's source directory
Run Code Online (Sandbox Code Playgroud)
如何在命令行中使用一个命令,而不需要文件路径和其他"必需"选项来生成"基本Hello World"ST2.x应用程序?
谢谢.
编辑1:顺便说一句,我想要做的就是Tommy Maintz在ST 2010大会上ST1.x的演讲中所做的.
Sencha Touch 2 目前不存在 Sencha 生成。Sencha 计划在 ST2 发布后的某个时间发布更新。
sencha create bootstrapdata将应用程序编译成一个 JS 文件时使用。您可以在此处找到有关此内容的更多信息。
我还建议您在Sencha Touch 论坛上提问,该论坛非常活跃。
| 归档时间: |
|
| 查看次数: |
1309 次 |
| 最近记录: |