Results 1 to 2 of 2

Thread: Create jsb not working

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

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      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 @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

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
  •