Results 1 to 2 of 2

Thread: Create jsb not working

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Vote Rating

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

    sencha [module] [action] [arguments...]

    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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


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

    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:!/guide/command
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    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.

Tags for this Thread

Posting Permissions

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