Try running the command from the root directory of the application, and then using the relative path:
0) open cmd window
1) run in the cmd: "cd C: \ [webserver_webapp_root] \ [application_name]" window
In other words, change the cmd directory to the root of the application. Fill in the text in brackets above with the correct paths.
2) run in the cmd window: "sencha create jsb -a index.html -p app.jsb3 -v"
app.jsb3 must be created in the root directory of the application (C: \ [webserver_webapp_root] \ [username]). Open it and make sure that it contains all your application classes, it should look something like this:
{ "projectName": "Project Name", "licenseText": "Copyright(c) 2012 Company Name", "builds": [ { "name": "All Classes", "target": "all-classes.js", "options": { "debug": true }, "files": [ { "clsName": "YourApp.view.Viewport", "name": "Viewport.js", "path": "app/view/" }, // plus ALOT more classes... ] }, { "name": "Application - Production", "target": "app-all.js", "compress": true, "files": [ { "path": "", "name": "all-classes.js" }, { "path": "", "name": "app.js" } ] } ], "resources": [] }
If everything looks fine, you can go to the next step, if not, then something is wrong with your application directory structure, and you need to fix it for Sencha recommended ExtJS application architecture .
You can also use any error messages to help identify the problem.
3) update placeholders ("Project Name", etc.) at the top of app.jsb3
4) run in the cmd window: "sencha build -p app.jsb3 -d. -V"
The app-all.js must also be created in the root directory of the application. If the cmd window does not give any errors, before it says "Done Building!" then you are all done. Now you can change the index.html script link to point to app-all.js instead of app.js
If there are errors, you should correct them and start again.
Other things you can try:
In response to your last comment, your -p parameter should be jsb3 not jsb .
Make sure the web server is up and running without any errors before trying to use the SDK tools.
Then try the following:
C:\Projects\HelloExt\build\web>sencha create jsb -a index.jsp -p HelloExt.jsb3 -v C:\Projects\HelloExt>sencha create jsb -a index.jsp -p HelloExt.jsb3 -v C:\>sencha create jsb -a [actual IP address]:8080/HelloExt/index.jsp -p HelloExt.jsb3 -v
Fill in your actual IP address where the brackets are (not localhost ).
This should result in the jsb3 file shown in # 2 above, you can go to step # 3 above.