Problems building themes

I'm trying out the new 4.2 RC and I'm having three issues relating to the new theming system:

1) Whenever I try to build the app using sencha app build (using a vanilla build configuration), the resulting app-all.css file is "empty" - not really empty, but it simply contains these comments:

Code:

/**
* @class Global_CSS
*
* Global CSS variables and mixins of Ext JS.
*/
/**
* Creates a background gradient.
*
* @param {Color} $bg-color The background color of the gradient
* @param {String/List} [$type] The type of gradient to be used. Can either
* be a String which is a predefined gradient, or it can can be a list of
* color_stops. If none is set, it will still set the `background-color`
* to the $background-color.
* @param {String} [$direction=top] The direction of the gradient. Can either be
* `top` or `left`.
* @member Global_CSS
*/
/*
* Method which inserts a full background-image property for a theme image.
* It checks if the file exists and if it doesn't, it'll throw an error.
* By default it will not include the background-image property if it is not found,
* but this can be changed by changing the default value of $include-missing-images to
* be true.
*/

Nothing else, so the app is completely unstyled...

2) Whenever I try to build a theme package using sencha package build, it fails on "Capturing theme image":

First issue resolved...

Well, I've resolved the first issue at least.. I had the app.js file in my app root directory (as opposed to the normal Sencha Cmd location app/app.js) - the way that Sencha Architect likes to store it.

I never really understood why Architect insists on storing the app.js in a "non-standard" way, but the 3.0 version of Cmd could cope with it at least..

Also worth noting as that when you generate a new theme (using sencha generate package), the file <theme folder>/sass/config.rb is missing so you have to manually copy that from one of the bundled themes..

And good that you resolved your problem.. I've been using sencha ant sass theme myself, I wonder which one is better; refresh or theme.. I guess I'll have to run some tests and see if one option is quicker than the other (building the theme is painfully slow for me)..