Results 1 to 5 of 5

Thread: Ant commands fail on fresh Cmd app

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    4

    Default Ant commands fail on fresh Cmd app

    I have tried generating new apps via Sencha Cmd 6.0.0.202 and Ext JS 6.0.0 commerical. They seem to operate correctly and will build successfully using commands such as sencha app build.

    The entire app build is quite involved and I wouldn't want to run it on a build server because the debug output mentions spinning up the local development web server. I am really only interested in building the js and sass.

    In the advanced Sencha Cmd guide it says it is possible to run the build steps individually using commands such as sencha ant sass or sencha ant build. This is exactly what I want, however, the commands do not work.

    sencha ant build or sencha ant sass.

    Code:
    [ERR] Failed to resolve dependency Ext.app.Application for file Platform.Application[ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application
    [ERR]
    [ERR] Total time: 2 seconds
    [ERR] The following error occurred while executing this line:
    C:\Platform\.sencha\app\init-impl.xml:372: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.
    Application
    After some time spent debugging I noticed that there are sections in app.json which seem to be missing. Both the toolkit and theme sections are blank. Putting something in there does advance the process beyond this error into other errors.

  2. #2

    Default Can't run ant build step

    I also have this problem. I want to run several ant build steps manually but I can't do it.
    When I run sencha ant sass (for example) I get this error
    Code:
    [ERR] Failed to resolve dependency Ext.app.Application for file Platform.Application[ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application
    [ERR]
    [ERR] Total time: 2 seconds
    [ERR] The following error occurred while executing this line:
    Please do something or provide a workaround.
    Thanks in advance

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2011
    Posts
    75
    Answers
    2

    Default

    Looks like extjs 6 ant build doesn't work at all: https://www.sencha.com/forum/showthr...-CMD-6.0.0.202

  4. #4
    Sencha Premium Member danielbragaalmeida's Avatar
    Join Date
    Jun 2015
    Location
    Mogi das Cruzes, Brazil
    Posts
    4

  5. #5
    Sencha Premium Member
    Join Date
    Sep 2015
    Posts
    17

    Default

    Any word on a fix for this?

Similar Threads

  1. Replies: 4
    Last Post: 30 Nov 2012, 1:58 PM
  2. Can you run SDK commands via rhino?
    By nvoxland in forum Sencha Cmd
    Replies: 10
    Last Post: 20 Aug 2011, 10:26 AM
  3. Template for a fresh new project
    By Severance in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 23 Jun 2011, 4:14 AM
  4. Fresh build??
    By anton_ds in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 22 Jul 2009, 1:28 AM
  5. overriding HtmlEditor commands
    By INeedADip in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 24 Mar 2008, 9:44 AM

Posting Permissions

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