Success! Looks like we've fixed this one. According to our records the fix was applied for SDKTOOLS-373 in a recent build.
  1. #1
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    770
    Vote Rating
    28
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default [3.1.0.239] sencha generate app with Ext JS 4.1.1a not working

    [3.1.0.239] sencha generate app with Ext JS 4.1.1a not working


    Getting this:

    Code:
    ext-4.1.1a $ sencha generate app -p ~/Work/extjs310239
    Sencha Cmd v3.1.0.239
    [INF] 
    [INF] init-plugin:
    [INF] 
    [INF] init-plugin:
    [INF] Invoking plugin (/Users/shiller/bin/Sencha/Cmd/3.1.0.239/plugins/ext/4.1/plugin.xml) - supported targets: -before-generate-workspace
    [INF] 
    [INF] -before-generate-workspace:
    [INF] Invoking plugin (/Users/shiller/bin/Sencha/Cmd/3.1.0.239/plugins/ext/4.1/plugin.xml) - supported targets: generate-workspace
    [INF] 
    [INF] cmd-root-plugin.init-properties:
    [INF] 
    [INF] init-properties:
    [INF] 
    [INF] init-sencha-command:
    [INF] 
    [INF] init:
    [INF] 
    [INF] -before-generate-workspace:
    [INF] 
    [INF] generate-workspace-impl:
    [INF]      [echo] generating into /Users/shiller/Work/extjs310239 from /Users/shiller/bin/Sencha/Cmd/3.1.0.239/templates/workspace
    [INF]     [mkdir] Created dir: /Users/shiller/Work/extjs310239/packages
    [INF] 
    [INF] -before-copy-framework-to-workspace:
    [INF] 
    [INF] cmd-root-plugin.copy-framework-to-workspace-impl:
    [INF] [propertyfile] Updating property file: /Users/shiller/Work/extjs310239/.sencha/workspace/sencha.cfg
    [INF] 
    [INF] copy-framework-to-workspace-impl:
    [INF]      [copy] Copying 1923 files to /Users/shiller/Work/extjs310239/ext
    [INF]      [copy] Copied 187 empty directories to 2 empty directories under /Users/shiller/Work/extjs310239/ext
    [INF]      [copy] Copying 85 files to /Users/shiller/Work/extjs310239/ext/src/ux
    [INF] [propertyfile] Updating property file: /Users/shiller/Work/extjs310239/.sencha/workspace/sencha.cfg
    [INF] 
    [INF] -after-copy-framework-to-workspace:
    [INF] 
    [INF] copy-framework-to-workspace:
    [INF] 
    [INF] -after-generate-workspace:
    [INF] 
    [INF] generate-workspace:
    [INF] Invoking plugin (/Users/shiller/bin/Sencha/Cmd/3.1.0.239/plugins/ext/4.1/plugin.xml) - supported targets: -after-generate-workspace
    [INF] 
    [INF] -after-generate-workspace:
    [INF] 
    [INF] init-plugin:
    [INF] 
    [INF] init-plugin:
    [INF] Invoking plugin (/Users/shiller/bin/Sencha/Cmd/3.1.0.239/plugins/ext/4.1/plugin.xml) - supported targets: -before-generate-app
    [INF] 
    [INF] -before-generate-app:
    [INF] Invoking plugin (/Users/shiller/bin/Sencha/Cmd/3.1.0.239/plugins/ext/4.1/plugin.xml) - supported targets: -before-generate-app
    [INF] 
    [INF] -before-generate-app:
    [INF] Invoking plugin (/Users/shiller/bin/Sencha/Cmd/3.1.0.239/plugins/ext/4.1/plugin.xml) - supported targets: generate-app
    [INF] 
    [INF] cmd-root-plugin.init-properties:
    [INF] 
    [INF] init-properties:
    [INF] 
    [INF] init-sencha-command:
    [INF] 
    [INF] init:
    [INF] 
    [INF] -before-generate-app:
    [INF] 
    [INF] generate-app-impl:
    [INF] [x-load-json-properties] Optional properties file not present (skipping) - /Users/shiller/Downloads/ext-4.1.1a/$'{'app.dir'}'/app.json
    [INF]     [mkdir] Created dir: /Users/shiller/Work/extjs310239/app/model
    [INF]     [mkdir] Created dir: /Users/shiller/Work/extjs310239/app/store
    [INF] setting original load path to /Users/shiller/bin/Sencha/Cmd/3.1.0.239/legacy/3.0.0.250/ext/current/templates/App
    [INF]      [echo] Updating app/app.js mvc references
    [INF]      [echo] Detected models       : 
    [INF]      [echo] Detected views        : Main,Viewport
    [INF]      [echo] Detected controllers  : Main
    [INF]      [echo] Detected stores       : 
    [INF] setting original load path to /Users/shiller/bin/Sencha/Cmd/3.1.0.239/legacy/3.0.0.250/ext/current/templates/App
    [INF] [propertyfile] Updating property file: /Users/shiller/Work/extjs310239/.sencha/app/sencha.cfg
    [INF] 
    [INF] init-plugin:
    [INF] 
    [INF] init-plugin:
    [INF] Invoking plugin (/Users/shiller/Work/extjs310239/.sencha/app/plugin.xml) - supported targets: -before-app-refresh
    [INF] 
    [INF] -before-app-refresh:
    [INF] Invoking plugin (/Users/shiller/Work/extjs310239/.sencha/app/plugin.xml) - supported targets: app-refresh
    [INF] 
    [INF] cmd-root-plugin.init-properties:
    [INF] 
    [INF] init-properties:
    [INF] 
    [INF] init-sencha-command:
    [INF] 
    [INF] init:
    [INF] 
    [INF] -before-app-refresh:
    [INF] 
    [INF] app-refresh-impl:
    [INF] Loading classpath entry /Users/shiller/Work/extjs310239/ext/src
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>                         ]) -- /Users/shiller/Work/extjs310239/ext/src/ux/grid/filter/DateFilter.js:13383
    [INF] Loading classpath entry /Users/shiller/Work/extjs310239/app
    [ERR] def was null
    [ERR] failed to find meta class definition for name null.controller.Main
    [ERR] def was null
    [ERR] failed to find meta class definition for name null.view.Main
    [ERR] def was null
    [ERR] failed to find meta class definition for name null.view.Viewport
    [ERR] Failed to find file(s) for depdency reference /Users/shiller/Work/extjs310239/app/app.js::MVC::null.controller.Main
    [ERR] 
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExBuild: Failed to find any files for /Users/shiller/Work/extjs310239/app/app.js::MVC::null.controller.Main
    [ERR] 
    [ERR] Total time: 3 seconds
    [ERR] 
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: com.sencha.exceptions.ExBuild: Failed to find any files for /Users/shiller/Work/extjs310239/app/app.js::MVC::null.controller.Main
    [ERR] 
    [ERR] Total time: 5 seconds
    [ERR] com.sencha.exceptions.BasicException: com.sencha.exceptions.ExBuild: Failed to find any files for /Users/shiller/Work/extjs310239/app/app.js::MVC::null.controller.Main

  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,365
    Vote Rating
    135
    dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold

      0  

    Default


    Looks like Cmd did not properly check for the missing arguments -

    sencha help generate app

    You need to pass a name and path for the app:

    Code:
       sencha generate app MyApp ../path/to/app
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  3. #3
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,365
    Vote Rating
    135
    dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  4. #4
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    364
    Vote Rating
    6
    stewardsencha is on a distinguished road

      0  

    Default


    But you missed the typo

    Failed to find file(s) for depdency reference


    I have 3.1.0.216 and see no way to get .239

    Have I missed a link/page/screen somewhere ?
    Or is the "FIXED in" message just for our information?

  5. #5
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    770
    Vote Rating
    28
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      1  

    Default


    Steward, latest public version is .256, you can get it here:
    http://www.sencha.com/products/sencha-cmd/download
    or
    through "sencha upgrade" I think

Thread Participants: 2