我正在生成使用sencha触摸与sencha touch Cmd的应用程序。我正在使用这个语法sencha generate app MyApp Path/to/folder all
。但是它的功能是在我的sencha touch sdk文件夹中创建这个项目。为什么以及如何在其他地方制作项目?sencha触摸生成应用程序问题
下面是我的命令的输出
Zafars-MacBook-Pro:secha-touch-sdk zafarsaleem$ sencha generate app /Applications/XAMPP/xamppfiles/htdocs/playoutube/www all
Sencha Cmd v3.0.0.250
[INF] init-properties:
[INF] init-sencha-command:
[INF] init:
[INF] -before-generate-workspace:
[INF] generate-workspace-impl:
[WRN] Ignoring @require ../version/Version.js in js/String.js
[WRN] Ignoring @require ../Ext-more.js in js/Format.js
[INF] -before-copy-framework-to-workspace:
[INF] copy-framework-to-workspace-impl:
[INF] [copy] Copying 1103 files to /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/touch
[INF] [copy] Copying 1 file to /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/touch
[INF] [copy] Copying 1 file to /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/touch
[INF] [propertyfile] Updating property file: /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/.sencha/workspace/sencha.cfg
[INF] -after-copy-framework-to-workspace:
[INF] copy-framework-to-workspace:
[INF] -after-generate-workspace:
[INF] generate-workspace:
[INF] init-properties:
[INF] init-sencha-command:
[INF] init:
[INF] -before-generate-app:
[INF] generate-app-impl:
[INF] [mkdir] Created dir: /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/app/model
[INF] [mkdir] Created dir: /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/app/controller
[INF] [mkdir] Created dir: /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/app/store
[INF] [mkdir] Created dir: /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/app/profile
[INF] [mkdir] Created dir: /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/resources/icons
[INF] Generating new packager.json file using native packager
[INF] copy-sdk:
[INF] [copy] Copying 1 file to /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/resources/css
[INF] -after-generate-app:
[INF] generate-app:
该命令适用于Sencha Touch命令工具。我正在使用Sencha Touch Cmd。命令工具不再与Sencha Touch 2.1兼容。根据官方文件,我的命令是正确的,但它不适合我。 – 2619
http://docs.sencha.com/touch/2-1/#!/guide/command_app阅读页面底部的第一条评论。 –