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
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    873
    Answers
    3566
    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


    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
    ________________
    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.

Thread Participants: 1

Tags for this Thread