26 Apr 2013 2:45 AM #41
Super! Glad to hear.
30 Apr 2013 4:47 AM #42
Sencha Architect doens't see files (models, view, controlers) generated by SenchaCMD.Hello! I am trying to integrate the latest versions of Sencha architect and Sencha Cmd (downloaded today).
I followed all steps perfectly indicated in this Post
..but I have some errors..
a) I make a new sencha touch 2.2.x project with Sencha Architect (SA)
b) I execute "sencha generate app <projectName> path/to/project" and I get this error:
[ERR] MERGE CONFLICT - /xxx/app/app.js[ERR] Please resolve manually - see /xxx/xxx/app/app.js
I think that is not a complicated error, I solved it, generating (with sencha cmd) other new app,and later merged the new app.js file with existing app.js of the SA project. Is it ok?
c) I generated models, controllers, views,etc using sencha cmd correctly,
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?
1 May 2013 5:23 AM #43
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.Phil Strong
1 May 2013 10:10 AM #44
Thanks! your comment has been very useful for me.
17 May 2013 7:27 AM #45
Custom Build to ExtJs with Architect 2.2.2 Build 971 and senchaCmd v188.8.131.52
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
29 May 2013 1:26 AM #46
Sencha CMD: 184.108.40.2062
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:
[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)
30 May 2013 6:31 AM #47
Reached out to a Cmd engineer to see if we can discover what this is caused by.Phil Strong
30 May 2013 6:36 AM #48
I deleted the folder
30 May 2013 8:29 AM #49
Ok glad it's working now. Cmd engineer responded:Seems like it failed to find a package it needed. There should be a message about which one, but that part of the CLI output didn't get pasted into the post.Phil Strong
27 Jun 2013 10:38 AM #50
- Join Date
- May 2010
- Sapiranga, Rio Grande do Sul, Brazil
- Vote Rating
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.
I need to do that with Charts, for example.
Thread Participants: 25
- franklt69 (1 Post)
- seade (1 Post)
- mitchellsimoens (1 Post)
- incaic (2 Posts)
- tangix (5 Posts)
- sergiomichels (1 Post)
- ssamayoa (1 Post)
- BostonMerlin (1 Post)
- dusoft (3 Posts)
- John Carter (6 Posts)
- paulcardo (2 Posts)
- tomdchi (2 Posts)
- PpylesSAC (1 Post)
- isaid (2 Posts)
- sudhirkd (2 Posts)
- clansman (1 Post)
- worthlutz (3 Posts)
- delp (3 Posts)
- rupamkhaitan (1 Post)
- lxu (1 Post)
- Meg McRoberts (1 Post)
- glopes (2 Posts)
- kbujold (2 Posts)
- hbse (2 Posts)
- y-ledean (1 Post)