사전 준비 사항
* SenchaCmd-6.5.3.6-windows-64bit
* ext-6.5.3-trial.zip
1. sencha cmd를 통해 프로젝트 생성 명령을 실행합니다.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | > sencha -sdk C:\ext-6.5.3-trial\ext-6.5.3 generate app pdm_ui C:\Users\Admin\ Documents\Sencha\test Sencha Cmd v6.5.3.6 [INF] Copying framework to C:\Users\Admin\Documents\Sencha\test\ext [INF] Processing Build Descriptor : classic (development environment) [INF] Loading compiler context [INF] Loading app json manifest... [INF] Appending content to C:\Users\Admin\Documents\Sencha\test\bootstrap.js [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\classic.json [INF] merging 243 input resources into C:\Users\Admin\Documents\Sencha\test\build\development\pdm_ui\classic\resources [INF] merged 243 resources into C:\Users\Admin\Documents\Sencha\test\build\development\pdm_ui\classic\resources [INF] merging 22 input resources into C:\Users\Admin\Documents\Sencha\test\build\development\pdm_ui [INF] merged 22 resources into C:\Users\Admin\Documents\Sencha\test\build\development\pdm_ui [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\slicer-temp\bootstrap.json [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\slicer-temp\bootstrap.js [INF] writing sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\sass\pdm_ui-all.scss.tmp [INF] appending sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\sass\pdm_ui-all.scss.tmp [INF] appending sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\sass\pdm_ui-all.scss.tmp [INF] writing sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\sass\config.rb [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\development\pdm_ui\classic.json [LOG] Fashion build starting for C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\sass\pdm_ui-all.scss [LOG] Fashion build complete for C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\sass\pdm_ui-all.scss [LOG] Fashion build completed in 2.29 sec. [INF] Appending content to C:\Users\Admin\Documents\Sencha\test\bootstrap.js [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\classic.json [INF] [INF] ====================================================================== [INF] [INF] Processing Build Descriptor : modern (development environment) [INF] Loading compiler context [INF] Loading app json manifest... [INF] Appending content to C:\Users\Admin\Documents\Sencha\test\bootstrap.js [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\modern.json [INF] merging 381 input resources into C:\Users\Admin\Documents\Sencha\test\build\development\pdm_ui\modern\resources [INF] merged 381 resources into C:\Users\Admin\Documents\Sencha\test\build\development\pdm_ui\modern\resources [INF] merging 12 input resources into C:\Users\Admin\Documents\Sencha\test\build\development\pdm_ui [INF] merged 1 resources into C:\Users\Admin\Documents\Sencha\test\build\development\pdm_ui [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\slicer-temp\bootstrap.json [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\slicer-temp\bootstrap.js [INF] writing sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\sass\pdm_ui-all.scss.tmp [INF] appending sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\sass\pdm_ui-all.scss.tmp [INF] appending sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\sass\pdm_ui-all.scss.tmp [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\development\pdm_ui\modern.json [LOG] Fashion build starting for C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\sass\pdm_ui-all.scss [LOG] Fashion build complete for C:\Users\Admin\Documents\Sencha\test\build\temp\development\pdm_ui\sass\pdm_ui-all.scss [LOG] Fashion build completed in 2.035 sec. [INF] Appending content to C:\Users\Admin\Documents\Sencha\test\bootstrap.js [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\modern.json | cs |
2. 생성된 프로젝트 경로의 app.js 파일이 위치한 곳에서 다음과 같이 빌드 명령을 실행합니다.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | > sencha app build production Sencha Cmd v6.5.3.6 [INF] Processing Build Descriptor : classic (production environment) [INF] Loading compiler context [INF] Loading app json manifest... [INF] Processing data with CmdJavascriptCompressor [INF] JavaScript input level is NEXT and output level is ES5 [INF] Writing concatenated output to file C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\classic\app.js [INF] merging 243 input resources into C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\classic\resources [INF] merged 243 resources into C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\classic\resources [INF] merging 22 input resources into C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui [INF] merged 22 resources into C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\slicer-temp\bootstrap.json [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\slicer-temp\bootstrap.js [INF] writing sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\slicer-temp\pdm_ui-example.scss.tmp [INF] writing sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\slicer-temp\config.rb [LOG] Fashion build starting for C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\slicer-temp\pdm_ui-example.scss [LOG] Fashion build complete for C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\slicer-temp\pdm_ui-example.scss [LOG] Fashion build completed in 2.086 sec. [INF] Capturing theme image [INF] Capture complete [INF] Slicing images... [INF] Slicing complete - generated 202 images [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\slicer-temp\bootstrap.json [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\slicer-temp\bootstrap.js [INF] writing sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\sass\pdm_ui-all.scss.tmp [INF] appending sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\sass\pdm_ui-all.scss.tmp [INF] appending sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\sass\pdm_ui-all.scss.tmp [INF] writing sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\sass\config.rb [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\classic.json [LOG] Fashion build starting for C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\sass\pdm_ui-all.scss [LOG] Fashion build complete for C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\sass\pdm_ui-all.scss [LOG] Fashion build completed in 1.957 sec. [INF] Copying page resources to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui [INF] Applying version stamps to json resource entries [INF] Generating file deltas to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\classic\deltas [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\classic.json [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\microloader.js [INF] Appending content to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\microloader.js [INF] JavaScript input level is NEXT and output level is ES5 [INF] Building output markup to C:\Users\Admin\Documents\Sencha\test/build/production/pdm_ui/index.html [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\index.html [INF] generating cache manifest to C:\Users\Admin\Documents\Sencha\test/build/production/pdm_ui/cache.appcache [INF] [INF] ====================================================================== [INF] [INF] Processing Build Descriptor : modern (production environment) [INF] Loading compiler context [INF] Loading app json manifest... [INF] Processing data with CmdJavascriptCompressor [INF] JavaScript input level is NEXT and output level is ES5 [INF] Writing concatenated output to file C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\modern\app.js [INF] merging 381 input resources into C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\modern\resources [INF] merged 381 resources into C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\modern\resources [INF] merging 12 input resources into C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui [INF] merged 1 resources into C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\slicer-temp\bootstrap.json [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\slicer-temp\bootstrap.js [INF] writing sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\sass\pdm_ui-all.scss.tmp [INF] appending sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\sass\pdm_ui-all.scss.tmp [INF] appending sass content to C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\sass\pdm_ui-all.scss.tmp [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\modern.json [LOG] Fashion build starting for C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\sass\pdm_ui-all.scss [LOG] Fashion build complete for C:\Users\Admin\Documents\Sencha\test\build\temp\production\pdm_ui\sass\pdm_ui-all.scss [LOG] Fashion build completed in 1.7 sec. [WRN] C1005: Closure Compiler Warning (Unnecessary escape: '\s' is equivalent to just 's') -- unknown-uri:4789:102 [INF] Copying page resources to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui [INF] Applying version stamps to json resource entries [INF] Generating file deltas to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\modern\deltas [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\modern.json [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\microloader.js [INF] Appending content to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\microloader.js [INF] JavaScript input level is NEXT and output level is ES5 [INF] Building output markup to C:\Users\Admin\Documents\Sencha\test/build/production/pdm_ui/index.html [INF] Writing content to C:\Users\Admin\Documents\Sencha\test\build\production\pdm_ui\index.html [INF] generating cache manifest to C:\Users\Admin\Documents\Sencha\test/build/production/pdm_ui/cache.appcache | cs |
'Tools > Sencha' 카테고리의 다른 글
Sencha Architecture 단축키 (0) | 2018.05.03 |
---|---|
sencha 4.2.3 설치 (2) | 2018.04.18 |