-
21 Nov 2012 7:03 AM #1
Can Sencha Command be used to build an Architect application?
Can Sencha Command be used to build an Architect application?
I've seen a couple of posts on this topic but all seem focused on a user specific problem.
I would like to ask the general question:
Can Sencha Command be used to build an Architect application?
From my initial investigation the answer would seem to be no.
Could anyone provide some clarity on this and if the answer is yes (via a clean out of the box solution or otherwise) provide a few steps on how this is achievable.
Many thanks,
Brett Hannah
LinkedIn
EdgeUX
FYI at this time the current versions are Architect: v2.10 Build 676 and Sencha Command v3.0.0.250
-
26 Nov 2012 7:24 AM #2
http://docs.sencha.com/architect/2/#!/guide/deploy
this ability is only built into Architect for touch 2.1+ if you're using touch 2.0.x then it's still possible you simply need to follow the instructions here - http://docs.sencha.com/touch/2-1/#!/guide/command
if by build you mean "sencha compile" then you'll need to make one slight modification which can be found here - http://www.sencha.com/forum/showthre...md-v3&p=901360
re: Other NotesPhil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
Known Bugs in Architect Latest
-
26 Nov 2012 7:45 AM #3
-
27 Nov 2012 9:25 AM #4
Very possible from the command line. 4.2 will have added support and be Sencha Cmd ready and thus we will add the Cmd setup to those projects.
We'll also make upgrading from 4.0,4.1 to 4.2 a breeze by updating config names and handlers. We have a whole system based on Esprima in place for Architect 2.2Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
Known Bugs in Architect Latest
-
14 Mar 2013 12:47 AM #5
Now Extjs 4.2 and Sencha Architect 2.2 are released. I'm having the same question. I have a couple of projects created by SA. So is there anything that Sencha command can do for these projects? And also I found a build button on the SA 2.2 toolbar. It seems nothing happened when I clicked that button.
Thanks.
-
14 Mar 2013 8:06 AM #6
I will let Phil fill you in re: Cmd because that is his area of expertise.
The "Build" button will essentially open all of your instances which have yet to be loaded and save them generating their code on disk. The problem is that with large projects, if you only had metadata checked in you need a way to generate the code on disk. We considered naming this "Generate" and might change it down the line to make it more intuitive.Aaron Conran
@aconran
Sencha Architect Development Team
-
15 Mar 2013 7:27 AM #7
elgs,
We found some issues with Architect projects and Cmd 3.1 which is why that version of Cmd has yet to be released out of beta. Expect an update to Architect and Cmd in the next few days.
Cmd 3.0.* should continue to work if you follow instructions here -- http://www.sencha.com/forum/showthre...-Sencha-Cmd-v3Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
Known Bugs in Architect Latest
-
26 Mar 2013 3:55 PM #8
Ok, I now have Architect 2.2 and Cmd 3.1 but I do not understand the "build" button.
From Aaron's comments above I would think that the "build" button has no relation to the "sencha app build" in Cmd.
If I'm guessing right, I need to push the "build" button instead of the "save" button and then go to terminal and do "sencha app build" also. If this is the case then "build" seems inappropriate for that button.
If I have all my code generated and stored in git, then the "save" button might be enough by just saving the changes?
Am I seeing this correctly?
Worth
-
27 Mar 2013 12:10 PM #9
Worth,
You have it completely correct. Yes Build button does seem inappropriate and we had internal debates on this.
Build button: Does a full load of the project and then saves all changes to metadata and generates javascript output in the app directory
Save button: Saves all changes to metadata and generates javascript for those components that are loaded placing output in the app directoryPhil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
Known Bugs in Architect Latest


Reply With Quote

