Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9200229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:43:08+00:00 2026-06-17T22:43:08+00:00

My app.json file of a Sencha touch 2 application contain. "js": [ { "path":

  • 0

My app.json file of a Sencha touch 2 application contain.

"js": [
    {
        "path": "sdk/sencha-touch.js"
    },
    {"path": "js/mootools-1.2.5-core.js"}, // I want these files to be bundled too
    {"path": "js/mootools-1.2.5.1-more.js"}, // <----------+
    {"path": "js/soundmanager2-nodebug-jsmin.js"}, // <----+
           ...                                     // <----+ and there are more.
           ...

    {
        "path": "app.js",
        "bundle": true,  /* Indicates that all class dependencies are concatenated into this file when build */
        "update": "delta"
    },

Now I see when I invoke sencha app build production It compiles all the sencha classes into a giant app.js file. But all my other classes are just compressed to build directory. They are not concatenated. how can I include them in app.js?

F.A.Q.

  1. Your json file is properly written, right?

    A. Yes, app.json is written without any syntax error. The project builds successfully on invoking sencha app build production

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:43:09+00:00Added an answer on June 17, 2026 at 10:43 pm

    After looking at the source code and talking with the devs behind Cmd, it appears that it is currently not possible.

    However, because the build file is written in JavaScript, in theory, it wouldn’t take much to modify it and add this functionality into Cmd.

    You can find the Sencha Touch build file in:

    CMD-ROOT/plugins/touch/current/app-build.js
    

    Where CMD-ROOT is the location of the sencha command – which you can find out by using which sencha.

    On my system (OSX), the path is:

    /Users/Robert/bin/Sencha/Cmd/3.0.0.250/plugins/touch/current/app-build.js
    

    Hopefully this is of some help to you.

    Update

    It appears that, after talking to another Cmd developer, this actually is possible. There are 2 steps you need to take to make it happen:

    1) Add the skipFrameworkFile property into each JS resource you want to bundle. This tells the compiler to not copy the resource when your build your app.

    {
        "path": "resources/js/jquery.js",
        "skipFrameworkFile": true
    },
    
        "path": "resources/js/jquery2.js",
        "skipFrameworkFile": true
    }
    

    2) Require each of the files in your app.js file using the @require tag. This tells the compiler to include each of your files into your app.js file.

    //@require resources/js/jquery.js
    //@require resources/js/jquery2.js
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to output a nested JSON array for my Sencha-Touch app, and I
I'm trying to use Sencha Touch 2 to load a local json file into
I want to save a json file with all the application data (something similar
I have a huge JSON file to parse in my Android app. I suppose
My rails app allows users to edit a certain json file through the browser.
The App that I'm working on requires to parse a very big Json file
The app I am working on needs to read a JSON file that may
I have an NSArray of JSON file locations. There are stored in the user's/app's
I'm trying to parse a JSON file for a Windows Phone app, and my
I'm trying to write/create a JSON file from a AIR app, I'm trying not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.