7 Mar 2014 3:34 AM #1
sencha "create" command not found in 220.127.116.11
When I execute the following command I am getting error message saying "create" command not found.
sencha create jsb -a index.html -p app.jsb3
The step is mentioned in the below guide for craeting jsb files.
If I use old Sencha SDK tools 2.0 I am able to create JSB files using the same command though.
Sencha Cmd Version I am using is 18.104.22.168.
Please help in this regard.
10 Mar 2014 11:48 AM #2
That command is no longer used to create builds for projects created with Sencha Cmd. The compatibility section of the Intro to Sencha Cmd guide states
If you are using an older version of Ext JS, you may use Sencha Cmd's build command to build via your JSB file. In other words, Sencha Cmd can replace JSBuilder to produce a compressed build of the files described in a JSB file. Sencha Cmd will not update your JSB file as was done by the deprecated SDK Tools v2.
11 Mar 2014 7:09 AM #3
Then how can I create JSB files for compressing classes and generating app-all.js? I couldn't find any reference in the mentioned links. Please provide me the command.
11 Mar 2014 12:27 PM #4
You cannot. That is not how things are done with the latest version of Ext and Cmd. Please read the suggested guides to gain a better understanding of the changes.
12 Mar 2014 12:58 AM #5
'sencha app build production' is the right command?
12 Mar 2014 8:40 PM #6