0

Sencha touch Cmd で sencha touch を使用してアプリを生成しています。私はこの構文を使用していますsencha generate app MyApp Path/to/folder all。しかし、これは私の sencha touch sdk フォルダーにこのプロジェクトを作成します。他の場所でプロジェクトを作成できる理由と方法は?

以下は私のコマンドの出力です

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:
4

2 に答える 2

1

Macについてはわかりませんが、Windowsでは、これが目的の場所にアプリを作成する方法です. 問題は、設定しているパスにあると思います。

#  Make sure the current working directory is the Sencha Touch 2 SDK
cd /path/to/sencha-touch-2-sdk
sencha app create MyApp /path/to/www/myapp
于 2012-12-12T04:15:46.667 に答える