After reading more about Sencha Cmd and building MVC applications with ExtJS 4, I'm seeing that ExtJS 4 applications are structured like the following. Where [application]s in the same [package] can share the same SASS (syntactically awesome style sheets) theme(s) and multiple [application]s can fit in the same [package].
Folder structure when creating a workspace with "sencha generate workspace" command:
\[workspace]\.sencha\
\[workspace]\packages\
\[workspace]\ext\
Folder structure when creating an app with "sencha generate app" command:
\[workspace]\[application]\.sencha\
\[workspace]\[application]\app\
\[workspace]\[application]\data\
\[workspace]\[application]\resources\
\[workspace]\[application]\sass\
\[workspace]\[application]\app\models\
\[workspace]\[application]\app\views\
\[workspace]\[application]\app\controllers\
\[workspace]\[application]\app\stores\
Folder structure when building the app with "sencha app build" command:
\[workspace]\[build]\[application]\[production]\.sencha\
\[workspace]\[build]\[application]\[production]\app\
\[workspace]\[build]\[application]\[production]\data\
\[workspace]\[build]\[application]\[production]\resources\
\[workspace]\[build]\[application]\[production]\sass\
\[workspace]\[build]\[application]\[production]\app\models\
\[workspace]\[build]\[application]\[production]\app\views\
\[workspace]\[build]\[application]\[production]\app\controllers\
\[workspace]\[build]\[application]\[production]\app\stores\
I've only learned a couple commands in Sencha Cmd, but I want to make sure those commands (and new ones I learn) still work if I restructure my source code in SVN.
Typically I keep the root directory of a given application below the "trunk" folder. That way, if I create a branch, I can throw everything into the branch and not miss something. Now that Sencha introduces an extra folder to the path (that being the [package] folder), where should the "trunk" folder be in reference to an [application] or a [package]?
Otherwise, I'd like to know if there are configurations I can set for Sencha Cmd so that theming with SASS still work, deployments still work, branching in SVN still work, and other commands still work properly.