-
26 Apr 2012 12:56 PM #1
Unanswered: Create jsb not working
Unanswered: Create jsb not working
I have my app running in Safari without any problems. I am trying to create the jsb file so I can build the app for production.
When I issue this command:
sencha create jsb -a http://path/to/my/app/index.html -p app.jsb3
I get the following:Sencha Command v2.0.0 for Sencha Touch 2
Copyright (c) 2012 Sencha Inc.
Usage:
sencha [module] [action] [arguments...]
Example:
sencha fs minify --from app.js --to app-minified.js --compressor closurecompiler
Available modules:
app Resolve application dependencies and build for production
fs A set of useful utility actions to work with files. Most commonly used actions are: concat, minify, delta
manifest Extract class metadata
test Unit testing using Jasmine
generate Automates the generation of projects and files
package Packages a Sencha Touch 2 application for native app stores
For more information on a specific module, simply type:
sencha [module]
For example:
sencha fs
For more information on a specific action of a specific module, simply type:
sencha [module] [action]
For example:
sencha fs minify
What am I doing wrong?
-
30 Apr 2012 12:37 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 433
- Answers
- 3102
Using Sencha Command you don't need to create a JSB.
Or the other builds other than production like testing does not need a JSB file created. Follow this guide for building a ST2 app using Sencha Command: http://docs.sencha.com/touch/2-0/#!/guide/commandCode:sencha app build production
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote