Results 1 to 8 of 8

Thread: Decrease sencha-touch-all.js file size

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

    Default Answered: Decrease sencha-touch-all.js file size

    Hello!
    As I see, sencha-touch-js.all includes all components of Sencha framework. For example, I don't need Ext.Audio and Ext.Video at all. How can I exclude these components from sencha-touch-js.all file?

    Br,
    plastun

  2. You can use sencha-touch-debug.js for development and if you are using MVC then you can do a build that will include only the ST classes and your application classes making it only what you need.

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    You can use sencha-touch-debug.js for development and if you are using MVC then you can do a build that will include only the ST classes and your application classes making it only what you need.
    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

  4. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    25
    Vote Rating
    0
      0  

    Default

    How to do this build?

  5. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    Quote Originally Posted by plastun View Post
    How to do this build?
    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

  6. #5
    Sencha User
    Join Date
    Feb 2012
    Posts
    25
    Vote Rating
    0
      0  

    Default

    Thanks for reply! But as I know, Linux is not full supported now, very sad.

  7. #6
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1271
      0  
    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

  8. #7
    Sencha User
    Join Date
    Feb 2012
    Posts
    25
    Vote Rating
    0
      0  

    Default

    Will try. Thank you a lot!

  9. #8
    Sencha User
    Join Date
    Feb 2012
    Posts
    25
    Vote Rating
    0
      0  

    Default

    Using the last version of SDK and trying to generate config file get error:

    plastun@desktop: /opt/SenchaSDKTools-2.0.0-beta2$ ./sencha package generate config.json
    [ERROR] The current working directory (/opt/SenchaSDKTools-2.0.0-beta2) is not a recognized Sencha SDK or application folder
    sh: stbuild: not found

Posting Permissions

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