我安裝的是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