参考:
sencha cmd工具:
Windows下安装
sencha cmd工具后,会自动加入环境变量PATH
D:\APMServ5.2.6\www\htdocs\senchatouch221是sdk所在目录
使用cmd工具生成第一个sencha app命令如下:
sencha generate app MyApp MyApp
完整例子:
-
D:\APMServ5.2.6\www\htdocs>sencha app create MyApp MyApp
-
Sencha Cmd v3.1.2.342
-
[ERR] Unknown command: "create"
-
-
D:\APMServ5.2.6\www\htdocs\senchatouch221\myworkspace>sencha generate app MyApp MyApp
-
Sencha Cmd v3.1.2.342
-
[INF]
-
[INF] init-plugin:
-
[INF]
-
[INF] -before-generate-workspace:
-
[INF]
-
[INF] cmd-root-plugin.init-properties:
-
[INF]
-
[INF] init-properties:
-
[INF]
-
[INF] init-sencha-command:
-
[INF]
-
[INF] init:
-
[INF]
-
[INF] generate-workspace-impl:
-
[INF] [echo] generating into D:\APMServ5.2.6\www\htdocs\senchatouch221\mywo
-
rkspace\MyApp from C:\sencha\Sencha\Cmd\3.1.2.342/templates/workspace
-
[INF] [mkdir] Created dir: D:\APMServ5.2.6\www\htdocs\senchatouch221\myworks
-
pace\MyApp\packages
-
[INF]
-
[INF] cmd-root-plugin.copy-framework-to-workspace-impl:
-
[INF] [propertyfile] Updating property file: D:\APMServ5.2.6\www\htdocs\senchato
-
uch221\myworkspace\MyApp\.sencha\workspace\sencha.cfg
-
[INF]
-
[INF] copy-framework-to-workspace-impl:
-
[INF] [copy] Copying 1862 files to D:\APMServ5.2.6\www\htdocs\senchatouch22
-
1\myworkspace\MyApp\touch
-
[INF] [copy] Copied 217 empty directories to 2 empty directories under D:\A
-
PMServ5.2.6\www\htdocs\senchatouch221\myworkspace\MyApp\touch
-
[INF] [copy] Copying 1 file to D:\APMServ5.2.6\www\htdocs\senchatouch221\my
-
workspace\MyApp\touch
-
[INF] [copy] Copying 1 file to D:\APMServ5.2.6\www\htdocs\senchatouch221\my
-
workspace\MyApp\touch
-
[INF] [propertyfile] Updating property file: D:\APMServ5.2.6\www\htdocs\senchato
-
uch221\myworkspace\MyApp\.sencha\workspace\sencha.cfg
-
[INF]
-
[INF] copy-framework-to-workspace:
-
[INF]
-
[INF] generate-workspace:
-
[INF]
-
[INF] -after-generate-workspace:
-
[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] before-upgrade:
-
[INF]
-
[INF] generate-app-impl:
-
[INF]
-
[INF] generate-starter-app:
-
[INF] [mkdir] Created dir: D:\APMServ5.2.6\www\htdocs\senchatouch221\myworks
-
pace\MyApp\app\profile
-
[INF] [mkdir] Created dir: D:\APMServ5.2.6\www\htdocs\senchatouch221\resourc
-
es\icons
-
[INF]
-
[INF] copy-sdk:
-
[INF] [copy] Copying 1 file to D:\APMServ5.2.6\www\htdocs\senchatouch221\my
-
workspace\MyApp\resources\css
-
[INF] [copy] Copying 4 files to D:\APMServ5.2.6\www\htdocs\senchatouch221\m
-
yworkspace\MyApp\resources\sass\stylesheets
-
[INF] [x-property-file] Updating property file: D:\APMServ5.2.6\www\htdocs\sench
-
atouch221\myworkspace\MyApp\.sencha\app\sencha.cfg
-
[INF]
-
[INF] after-upgrade:
-
[INF]
-
[INF] generate-app:
-
[INF]
-
[INF] -after-generate-app:
-
[INF] [x-property-file] Updating property file: D:\APMServ5.2.6\www\htdocs\sench
-
atouch221\myworkspace\MyApp\.sencha\app\sencha.cfg
-
-
-
D:\APMServ5.2.6\www\htdocs\senchatouch221\myworkspace>
阅读(3355) | 评论(0) | 转发(0) |