Results 1 to 3 of 3

Thread: Build with deftjs - production or testing is working, but not both together

  1. #1
    Sencha User
    Join Date
    Apr 2014
    Posts
    105
    Answers
    10

    Default Answered: Build with deftjs - production or testing is working, but not both together

    Hey together,
    I included deftjs and tried to make a build.
    The build process for production and testing are both working fine but I only can run one application.

    I found the problem but I can not resolve it:

    It is a combination of the order of inclution in the app.defaults.json and if the code should be compressed.

    Here is my Code from the app.default.json.
    Code:
    "js": [         {
                "path": "${ext.dir}/build/ext-all-debug.js"
             },
             {
               "path": "${app.dir}/../lib/deftjs/deft-debug.js"
             },
             {
                "path": "app.js",
                "bundle": true
             }
        ],
    Now the testing (without compressing) is working, but not the production.

    If I change app.js and deft-debug.js production is working, but testing not.

    What do I have to do so it is always working?

    I hope someone can help me!
    Thanks Liz

  2. https://github.com/deftjs/DeftJS5/wiki/Adding-Deft-JS-to-Your-Application


    T
    he solution:

    No deftjs in the app.defaults.json and it works fine

    in the app.json: "classpath": "${app.dir}/../libs,${app.dir}/app,${app.dir}/plugins",

  3. #2
    Sencha User
    Join Date
    Apr 2014
    Posts
    105
    Answers
    10

    Default

    https://github.com/deftjs/DeftJS5/wiki/Adding-Deft-JS-to-Your-Application


    T
    he solution:

    No deftjs in the app.defaults.json and it works fine

    in the app.json: "classpath": "${app.dir}/../libs,${app.dir}/app,${app.dir}/plugins",

  4. #3
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Glad to hear it's working, and thanks for posting the solution for others.

Similar Threads

  1. Cmd production build fails, testing build works
    By bhutten in forum Sencha Cmd
    Replies: 5
    Last Post: 1 Jul 2015, 3:33 AM
  2. About build testing and production
    By anacristing in forum Sencha Touch 2.x: Q&A
    Replies: 3
    Last Post: 28 Oct 2014, 4:02 AM
  3. Replies: 1
    Last Post: 31 Jul 2013, 11:36 AM
  4. Replies: 6
    Last Post: 18 Apr 2013, 8:13 PM
  5. Production and testing build errors
    By plastun in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 21 May 2012, 5:55 AM

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
  •