PDA

View Full Version : creating a jsb3 file



mmaltby
3 Feb 2012, 9:37 AM
I am unable to get the use the command as instructed in the deployment section of your getting started web page. http://docs.sencha.com/ext-js/4-0/#!/guide/getting_started

sh sencha.sh create jsb -a index.html -p app.jsb3

I (http://docs.sencha.com/ext-js/4-0/#!/guide/getting_started) get the following error message 'Execution error in ./bin/Dispatch.js'

Both index.html and app.js exist

mitchellsimoens
4 Feb 2012, 6:28 AM
You should just be able to do


sencha create jsb -a index.html -p app.jsb3

In some cases you need to run if off a web server:


sencha create jsb -a http://localhost/path/to/index.html -p app.jsb3

mmaltby
7 Feb 2012, 4:58 AM
Can you tell me which file the command 'sencha' is running? From looking at the files in the jsbuilder this would indicate that 'sencha.sh' would be used, but this would not make any sense for windows users.

mitchellsimoens
7 Feb 2012, 5:54 AM
This is why there is a build for each OS... Mac, Windows and Linux. Also why SDK Tools 2 is Mac only.

mmaltby
7 Feb 2012, 6:03 AM
So is sencha.sh only intended for Mac? What is the command for linux? Am I suppose to use the program jsdb? Also, how are you suppose to know the version of the sdk tools? I am just trying to use the files from the ../ext-4.0.7-gpl/jsbuilder/ folder.