Results 1 to 3 of 3

Thread: Image Slice problem with Ext JS

  1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    9

    Default Image Slice problem with Ext JS

    I have a Sencha Ext JS Workspace that I have been using for some time now with no problems. The workspace is committed to GIT, specifically I checked in the workspace's ext directory as well as the extApps directories.

    When I clone the project and attempt run 'sencha app build testing', the image slice portion of the build fails.with cannot find file ...theme-capture.json.

    The problem seems to have something to do with the ext dir pulled from git. When I copy my working ext dir from the original project to overwrite the git cloned version and do the build everything works.

    Obviously, there are binary files (images) in the ext dir. Should I have done something special when I pushed them to my git repo? Are there recommended practices when using Sencha Cmd (6.0) with Git?

    Any help would be appreciated

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962

    Default

    I believe I've seen a blog or two around this but I would recommend adding the ext and build folders to the ignore list. This is somewhat for just app specifics as well as ease of not needing to push/pull these all the time (I doubt you're changing the ext folder very often).

    Once you checkout the project you can run the following command and it will properly restore the correct ext js (or say you're trying out an upgrade):

    PHP Code:
    sencha app upgrade /path/to/ext-6.X.
    **You might tailor the build ignore to just send testing/production builds only but somewhat depends on your environment and what needs to be on the server.


    Hope this helps!

    Bryan

  3. #3
    Sencha User
    Join Date
    Jun 2010
    Posts
    9

    Default

    Thanks the sencha app upgrade call worked. Just curious, what is the upgrade doing any differently than just a simple copy of the ext distro to the workspace?

Similar Threads

  1. slice image help
    By nailuo in forum Sencha Cmd
    Replies: 4
    Last Post: 2 May 2012, 8:46 PM
  2. slice image help color no change?
    By nailuo in forum Sencha Cmd
    Replies: 3
    Last Post: 2 May 2012, 8:40 PM
  3. Replies: 6
    Last Post: 18 Nov 2011, 12:57 PM
  4. Image Chooser - Added Delete Image feature (but have one little problem)
    By piskui07 in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 13 Dec 2007, 2:15 PM

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
  •