Hybrid View
-
19 Sep 2012 9:51 AM #1
Sencha Cmd V3 Beta
Sencha Cmd V3 Beta
*** Updated Nov 6, 2012 *** http://www.sencha.com/forum/showthre...-Now-Available - Sencha Cmd v3.0 GA Announcement
*** Updated Oct 25, 2012 *** http://www.sencha.com/forum/showthre...-Now-Available
*** Updated Oct 5, 2012 *** http://www.sencha.com/forum/showthre...-Now-Available
*** Updated Sep 27, 2012 *** http://www.sencha.com/forum/showthre...-Now-Available
The new Sencha Cmd v3 beta is out and ready!
Many things have changed under the covers, so check out the blog:
http://www.sencha.com/blog/all-new-sencha-cmd
All new Guides for Ext JS but also Cmd in general can be found here:
http://docs.sencha.com/ext-js/4-1/#!/guide/command
The Sencha Touch specific guides will ship with RC1.
The download links are:
http://cdn.sencha.com/senchacmd/Senc...ux-x64.run.zip
http://cdn.sencha.com/senchacmd/Senc...-linux.run.zip
http://cdn.sencha.com/senchacmd/Senc...50-osx.app.zip
http://cdn.sencha.com/senchacmd/Senc...indows.exe.zip
When discussing v3 issues please be sure to include the full version number to help expedite resolution.
You will need to download Ext JS 4.1.1a (see below) or 4.1.2a (support portal) to use Sencha Cmd.
Ext JS 4.1.1a is available on the CDN:
Commercial - http://cdn.sencha.com/ext-4.1.1a-commercial.zip
GPL - http://cdn.sencha.com/ext-4.1.1a-gpl.zip
Thanks and enjoy!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!"
-
19 Sep 2012 9:52 AM #2
The plan is to release Cmd v3 GA along with Sencha Touch 2.1 GA.
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!"
-
19 Sep 2012 12:04 PM #3
Final Edit:
OK, after three hours of struggling I finally got it work.
Need to mention a few things:- You cannot use ExtJS 4.1.1 or ExtJS 4.1.2 ([ERROR] Failed to determine framework name. Please ensure this command was issues from either a framework or application directory). The version must be either 4.1.1a or 4.1.2a.
- Forget about SDK Tools. Pretend you've never heard of it. When you see the word SDK in docs, it is simply the contents of extjs.4.***.zip. Nothing else. No tools.
Well apparently I was confused with the terms "SDK" and "SDK Tools". The SDK mentioned in docs is just the package file that contains extjs sources and relevant files, I guess.
But I still get the following error:
C:\inetpub\wwwroot\extjs>sencha generate app MyApp MyApp
Sencha Cmd v3.0.0.140
[ERROR] Failed to determine framework name. Please ensure this command was issues from either a framework or application directory
I feel so dumb.
***************************************
Using Windows 7 x64 Pro,
> Sencha SDK Tools is installed in "C:\SenchaSDKTools2b3",
> Sencha Cmd is installed in "C:\SenchaCmd"
However sencha command does not work as expected (contrary to docs)
C:\>sencha
Sencha Cmd v3.0.0.140
C:\SenchaSDKTools2b3>sencha
[WARN] The current working directory (C:\SenchaSDKTools2b3) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode.
Why is that so?
-
19 Sep 2012 1:53 PM #4
The links appear to be broken

-
19 Sep 2012 2:18 PM #5

Sorry for the glitches there. Build 140 had a packaging/deployment problem. Build 141 (the current links) took a few minutes to deploy out.
I just checked the links and they are working now. Please try the above and see if you have the same problems.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!"
-
19 Sep 2012 2:20 PM #6
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!"
-
19 Sep 2012 2:29 PM #7
Working now! Cheers
-
24 Sep 2012 7:03 AM #8Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
19 Sep 2012 3:34 PM #9
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!"
-
19 Sep 2012 4:02 PM #10
Well, the project I'm currently working on is based on v4.1.1 so I need to test and upgrade to 4.1.1a (apparently there are significant changes in css files) first in order to examine the tool completely. However, even the idea of creating an empty project with all required resources by just a single command is amazing.
Another thing I really liked is the "integrated soul of a compiler". For example, the extra trailing commas in an object initializer gives runtime errors in IE7/IE6. Normally it could only be detected at runtime, (After packaging and deployment, generally when the project is published) and that sucks. However Sencha Cmd catches all these kinds of errors. That's a great improvement for me
By the way, sencha generate model command puts the fields in a config object (see code below). Is it intentional / a preferred approach?
Code:Ext.define('MyApp.model.MyModel', { extend: 'Ext.data.Model', config: { fields: [ { name: 'id', type: 'int' }, { name: 'name', type: 'string' }, { name: 'ratio', type: 'float' } ] } });
Thank you for reporting this bug. We will make it our priority to review this report.




