1. 프로젝트 만들기
qooxdoo/tool/bin> python create-application.py 를 하면 아래와 같이 설명이 나온다.
Usage: create-application.py --name APPLICATIONNAME [--out DIRECTORY]
[--namespace NAMESPACE] [--type TYPE]
[-logfile LOGFILE] [--skeleton-path PATH]
Script to create a new qooxdoo application.
Example: For creating a regular GUI application 'myapp' you could execute:
create-application.py --name myapp
Options:
-h, --help show this help message and exit
-n APPLICATIONNAME, --name=APPLICATIONNAME
Name of the application. An application folder with
identical name will be created. (Required)
-o DIRECTORY, --out=DIRECTORY
Output directory for the application folder. (Default:
.)
-s NAMESPACE, --namespace=NAMESPACE
Applications's top-level namespace. (Default:
APPLICATIONNAME)
-t TYPE, --type=TYPE Type of the application to create, one of:
['contribution', 'desktop', 'inline', 'mobile',
'native', 'server', 'website'].'contribution' -- is
suitable for qooxdoo-contrib; 'desktop' -- is a
standard qooxdoo GUI application; 'inline' -- is an
inline qooxdoo GUI application; 'mobile' -- is a
qooxdoo mobile application with full OO support and
mobile GUI classes; 'native' -- is a qooxdoo
application with full OO support but no GUI classes;
'server' -- for non-browser run times like Rhino,
node.js; 'website' -- can be used to build low-level
qooxdoo applications. (Default: desktop)
-l LOGFILE, --logfile=LOGFILE
Log file
-p PATH, --skeleton-path=PATH
(Advanced) Path where the script looks for skeletons.
The directory must contain sub directories named by
the application types. (Default: /Library/WebServer/Do
cuments/Quad/qooxdoo-2.0.1-sdk/component/skeleton)
--cache=PATH Path to the cache directory; will be entered into
config.json's CACHE macro (Default:
${TMPDIR}/qx${QOOXDOO_VERSION}/cache)
데스크탑 웹페이지를 기준으로 프로젝트 생성을 하는 기준으로 설명한다. ( 다른것을 원한다면 type를 변경하면된다.)
applicationName : "testproject",
path:"/Document/projectRoot"
python create-application.py -n testproject -p /Document/projectRoot
라고 입력하면 "/Document/projectRoot/testproject/" 에 파일들이 생성된다.
주의: applicationName 은 소문자로 만드세요