d) I open again the SA project but I don't see the new files (controllers, models, views) generated. Did I forget execute some command?

My aim is use sencha cmd to generate MVC automatic code, and edit it with SA to add UI components, fields, controls, etc... Is it possible?

It's not possible to add stores, views, models, controllers using Cmd and have them show up in Architect. Architect works from metadata and generates javascript. Cmd simply generates javascript. There has been some preliminary work to support models generated w/ Cmd where Cmd also generates Architect metadata if it detects it's working with an Architect project.

For now you'll have to Drag out controllers, stores, models, etc ... from the Architect toolbox and configure them inside Architect. Remember the benefits here are many, including validation, framework upgrades e.g. 4.1 -> 4.2, event/function signatures, etc...

There are some that generate their controllers using Cmd and edit them using a text editor. They simply include those as js resources in the project. It's certainly not the intended workflow but if it works for them it might work for others.

Hi am very confused about the step to create a simple custom Build app to ExtJs4.2.0 (it have only a form) to set in production using only the js that need the in the application, (I don't want all ext.js) I found may info but is working with other version of sencha Cmd ect, please some info about it is appreciate, I am workin on Window7

I think there is something wrong with my folder structure, because everytime I run Sencha Cmd inside my project's folder I have the following output:

Code:

[ERR] null
at com.sencha.command.environment.WorkspaceEnvironment.extractPackage(Works
paceEnvironment.java:176)
at com.sencha.command.environment.WorkspaceEnvironment.getPackageEnvironmen
t(WorkspaceEnvironment.java:196)
at com.sencha.command.environment.AppOrPackageEnvironment.getThemePackageEn
vironment(AppOrPackageEnvironment.java:245)
at com.sencha.command.environment.AppOrPackageEnvironment.getThemePackageEn
vironments(AppOrPackageEnvironment.java:255)
at com.sencha.command.environment.AppOrPackageEnvironment.getThemePackageNa
mes(AppOrPackageEnvironment.java:266)
at com.sencha.command.environment.AppEnvironment.<init>(AppEnvironment.java
:54)
at com.sencha.command.environment.BuildEnvironment.load(BuildEnvironment.ja
va:193)
at com.sencha.command.Sencha.loadBuildEnvironment(Sencha.java:374)
at com.sencha.command.Sencha.main(Sencha.java:127)

I've tried running sencha command on another project's folder and it runs fine, the problem is just with one project in particular. Any suggestions?

I noticed that sometimes the code generated by Sencha Architect isn't compatible with Sencha Cmd. If I build for the "testing" environment, I can see the error " [Ext.createByAlias] Cannot create an instance of unrecognized alias".

If I change the app.js file, adding the Ext.require to the classes that createByAlias complains, then it works.