Success! Looks like we've fixed this one. According to our records the fix was applied for
CAT-828
in
1.3.0.
-
Answered: Themer 1.2 hangs if SDK key is not 'ext'
Themer 1.2 hangs at 1% when creating a new theme, if SDK key is not 'ext'.
How to reproduce:
Code:
iMac-Richard:~ richard$ sencha generate workspace ws
Sencha Cmd v6.5.0.180
iMac-Richard:~ richard$ cd ws
iMac-Richard:ws richard$ sencha framework add ../ext-6.5.0 ext65 ext65
Sencha Cmd v6.5.0.180
[INF] Copying framework to /Users/richard/ws/ext65
[INF] Added framework ext65 to workspace.json
iMac-Richard:ws richard$ sencha generate app -ext65 -classic Test test
Sencha Cmd v6.5.0.180
[INF] Loading framework from /Users/richard/ws/ext65
[INF] Adding application to workspace.json
Now start Themer 1.2 and create a new theme for this app. Result:
Screen Shot 2017-05-17 at 14.46.31.png
Themer 1.2 doesn't seem to get the fact that the key doesn't have to be 'ext' (and perhaps also isn't aware that there can be more than one SDK in a workspace).
-
Best Answer Posted by
dan.buhrman
Thank you for the report! This is something we have been aware of but haven't addressed yet. The assumption is there is always an 'ext' folder in the root of the workspace, which works for the majority of cases.
As serendipitous as this may sound, relying completely on metadata in the JSON files (like path's to frameworks in a workspace) is what I am currently working on which should make the next minor release of Themer. There are honestly quite a few edge cases around app/workspace/package configuration we need to start handling better in Themer.
-
Sencha - Ext JS Dev Team
Thank you for the report! This is something we have been aware of but haven't addressed yet. The assumption is there is always an 'ext' folder in the root of the workspace, which works for the majority of cases.
As serendipitous as this may sound, relying completely on metadata in the JSON files (like path's to frameworks in a workspace) is what I am currently working on which should make the next minor release of Themer. There are honestly quite a few edge cases around app/workspace/package configuration we need to start handling better in Themer.
-
Sencha - Ext JS Dev Team
Also, I should have noted, (incase this wasn't obvious--although I recognize it's unfortunate): the workaround for your issue is to configure your workspace to have an 'ext' key framework that points to a folder called 'ext' in the root of your workspace.
-
Thanks, once I found out why it hung I reconfigured the workspace to make it work.
BTW, nothing wrong with serendipity!