1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    1
    Vote Rating
    0
    creatvepro is on a distinguished road

      0  

    Default 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?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,582
    Vote Rating
    433
    Answers
    3102
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Using Sencha Command you don't need to create a JSB.

    Code:
    sencha app build production
    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/command
    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.

Tags for this Thread