我安装的是ST SDK工具,当我做“煎茶”在命令行中我看到这一点:如何生成Sencha Touch 2.x应用程序的脚手架?
$ 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.
但是当我尝试“创建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
我如何在命令行中使用一个命令,而无需文件路径和其他“必要”的选项,以产生一个“基本的Hello World” ST2.x应用程序?
谢谢。
编辑1:顺便说一下,我想要做的是Tommy Maintz在他的ST1.x演示文稿中做了什么,在ST 2010 Conference。
其实我问过那里,但等我来到这里,我没有得到正确的响应 - HTTP://www.sencha .com/forum/showthread.php?180456-How-do-I-generate-a-scaffold-for-an-ST-2.x-app&p = 732835&posted = 1#post732835 – marcamillion 2012-02-13 19:18:30
感叹,对不起。 – rdougan 2012-02-13 22:34:48
不用担心。发生在我们身上。 – marcamillion 2012-02-21 19:32:43