1. #41
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    445
    Vote Rating
    40
    tangix has a spectacular aura about tangix has a spectacular aura about tangix has a spectacular aura about

      1  

    Default


    Super! Glad to hear.
    See you at SenchaCon 2013

  2. #42
    Sencha User
    Join Date
    Sep 2010
    Posts
    6
    Vote Rating
    1
    dusoft is on a distinguished road

      0  

    Default


    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:
    C:

    [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?


    Best Regards,


    Eduardo

  3. #43
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,289
    Vote Rating
    34
    Phil.Strong has a spectacular aura about Phil.Strong has a spectacular aura about

      0  

    Default


    Quote Originally Posted by dusoft View Post
    b) I execute "sencha generate app <projectName> path/to/project" and I get this error:
    C:

    [ERR] MERGE CONFLICT - /xxx/app/app.js[ERR] Please resolve manually - see /xxx/xxx/app/app.js
    This is easy to solve, simply open project in Architect and perform a save.

    Quote Originally Posted by dusoft View Post
    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?
    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.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team
    Known Bugs in Architect Latest

  4. #44
    Sencha User
    Join Date
    Sep 2010
    Posts
    6
    Vote Rating
    1
    dusoft is on a distinguished road

      1  

    Default


    Thanks! your comment has been very useful for me.

  5. #45
    Sencha User
    Join Date
    Mar 2007
    Posts
    715
    Vote Rating
    0
    franklt69 is on a distinguished road

      0  

    Default Custom Build to ExtJs with Architect 2.2.2 Build 971 and senchaCmd v3.0.0.250

    Custom Build to ExtJs with Architect 2.2.2 Build 971 and senchaCmd v3.0.0.250


    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

    regards
    Frank

Tags for this Thread