1. #1
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    22
    Vote Rating
    0
    mmaltby is on a distinguished road

      0  

    Default creating a jsb3 file

    creating a jsb3 file


    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
    get the following error message 'Execution error in ./bin/Dispatch.js'

    Both index.html and app.js exist

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You should just be able to do

    Code:
    sencha create jsb -a index.html -p app.jsb3
    In some cases you need to run if off a web server:

    Code:
    sencha create jsb -a http://localhost/path/to/index.html -p app.jsb3
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    22
    Vote Rating
    0
    mmaltby is on a distinguished road

      0  

    Default


    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.

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    This is why there is a build for each OS... Mac, Windows and Linux. Also why SDK Tools 2 is Mac only.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    22
    Vote Rating
    0
    mmaltby is on a distinguished road

      0  

    Default


    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.

Thread Participants: 1