Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2566371
  • 博文数量: 245
  • 博客积分: 4125
  • 博客等级: 上校
  • 技术积分: 3113
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-25 23:56
文章分类

全部博文(245)

文章存档

2015年(2)

2014年(26)

2013年(41)

2012年(40)

2011年(134)

2010年(2)

分类: HTML5

2013-07-02 15:45:00

参考:

sencha cmd工具:
Windows下安装sencha  cmd工具后,会自动加入环境变量PATH
D:\APMServ5.2.6\www\htdocs\senchatouch221是sdk所在目录

使用cmd工具生成第一个sencha app命令如下:
sencha generate app MyApp MyApp

完整例子:


点击(此处)折叠或打开

  1. D:\APMServ5.2.6\www\htdocs>sencha app create MyApp MyApp
  2. Sencha Cmd v3.1.2.342
  3. [ERR] Unknown command: "create"
  4. D:\APMServ5.2.6\www\htdocs\senchatouch221\myworkspace>sencha generate app MyApp MyApp
  5. Sencha Cmd v3.1.2.342
  6. [INF]
  7. [INF] init-plugin:
  8. [INF]
  9. [INF] -before-generate-workspace:
  10. [INF]
  11. [INF] cmd-root-plugin.init-properties:
  12. [INF]
  13. [INF] init-properties:
  14. [INF]
  15. [INF] init-sencha-command:
  16. [INF]
  17. [INF] init:
  18. [INF]
  19. [INF] generate-workspace-impl:
  20. [INF] [echo] generating into D:\APMServ5.2.6\www\htdocs\senchatouch221\mywo
  21. rkspace\MyApp from C:\sencha\Sencha\Cmd\3.1.2.342/templates/workspace
  22. [INF] [mkdir] Created dir: D:\APMServ5.2.6\www\htdocs\senchatouch221\myworks
  23. pace\MyApp\packages
  24. [INF]
  25. [INF] cmd-root-plugin.copy-framework-to-workspace-impl:
  26. [INF] [propertyfile] Updating property file: D:\APMServ5.2.6\www\htdocs\senchato
  27. uch221\myworkspace\MyApp\.sencha\workspace\sencha.cfg
  28. [INF]
  29. [INF] copy-framework-to-workspace-impl:
  30. [INF] [copy] Copying 1862 files to D:\APMServ5.2.6\www\htdocs\senchatouch22
  31. 1\myworkspace\MyApp\touch
  32. [INF] [copy] Copied 217 empty directories to 2 empty directories under D:\A
  33. PMServ5.2.6\www\htdocs\senchatouch221\myworkspace\MyApp\touch
  34. [INF] [copy] Copying 1 file to D:\APMServ5.2.6\www\htdocs\senchatouch221\my
  35. workspace\MyApp\touch
  36. [INF] [copy] Copying 1 file to D:\APMServ5.2.6\www\htdocs\senchatouch221\my
  37. workspace\MyApp\touch
  38. [INF] [propertyfile] Updating property file: D:\APMServ5.2.6\www\htdocs\senchato
  39. uch221\myworkspace\MyApp\.sencha\workspace\sencha.cfg
  40. [INF]
  41. [INF] copy-framework-to-workspace:
  42. [INF]
  43. [INF] generate-workspace:
  44. [INF]
  45. [INF] -after-generate-workspace:
  46. [INF]
  47. [INF] init-plugin:
  48. [INF]
  49. [INF] cmd-root-plugin.init-properties:
  50. [INF]
  51. [INF] init-properties:
  52. [INF]
  53. [INF] init-sencha-command:
  54. [INF]
  55. [INF] init:
  56. [INF]
  57. [INF] before-upgrade:
  58. [INF]
  59. [INF] generate-app-impl:
  60. [INF]
  61. [INF] generate-starter-app:
  62. [INF] [mkdir] Created dir: D:\APMServ5.2.6\www\htdocs\senchatouch221\myworks
  63. pace\MyApp\app\profile
  64. [INF] [mkdir] Created dir: D:\APMServ5.2.6\www\htdocs\senchatouch221\resourc
  65. es\icons
  66. [INF]
  67. [INF] copy-sdk:
  68. [INF] [copy] Copying 1 file to D:\APMServ5.2.6\www\htdocs\senchatouch221\my
  69. workspace\MyApp\resources\css
  70. [INF] [copy] Copying 4 files to D:\APMServ5.2.6\www\htdocs\senchatouch221\m
  71. yworkspace\MyApp\resources\sass\stylesheets
  72. [INF] [x-property-file] Updating property file: D:\APMServ5.2.6\www\htdocs\sench
  73. atouch221\myworkspace\MyApp\.sencha\app\sencha.cfg
  74. [INF]
  75. [INF] after-upgrade:
  76. [INF]
  77. [INF] generate-app:
  78. [INF]
  79. [INF] -after-generate-app:
  80. [INF] [x-property-file] Updating property file: D:\APMServ5.2.6\www\htdocs\sench
  81. atouch221\myworkspace\MyApp\.sencha\app\sencha.cfg
  82. D:\APMServ5.2.6\www\htdocs\senchatouch221\myworkspace>

阅读(3355) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~