Results 1 to 5 of 5

Thread: creating a jsb3 file

  1. #1
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    22
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    22
    Vote Rating
    0
      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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  5. #5
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    22
    Vote Rating
    0
      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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •