View Full Version : No Theme/Resources generated or copied in build

10 Oct 2012, 10:44 AM
I am using on Windows 7. Same results on two different machines. I have Compass 0.12.2 and Sass 3.2.1 installed.

I am having some issues with the following command. I have just created a workspace with a single page in it and have not made any other changes.

sencha app build

The JavaScript build appears to work fine and index file seem to be updated correctly but..

It is my understanding that this should also build the default theme and place it in the build directory.
However I am seeing only two files index.html.html and all-classes.js. Am I wrong in thinking that the build does this?

Also, how would the build know to do anything with the CSS file if is not wrapped by an <x-compile> directive or something similar? The docs were a bit unclear here.

Any help working through this would be appreciated. Thanks.

11 Oct 2012, 5:08 AM
The following command does correctly do the full build.

sencha ant build

Is `sencha app build` supposed to do the same thing?

12 Oct 2012, 10:46 PM
Great question -

We have been moving logic into the Ant script to allow folks to augment the process as desired.

A couple builds back we suggested that folks could use "sencha ant build" instead of "sencha app build" since it contained extra steps, one being "sencha app build".

There was some discussion on that and we have decided to just redirect "sencha app build" to the top of the build process instead of using it as a subroutine to preserve the commands everyone is used to using.

Short answer: "sencha app build" will soon be restored as the complete, app build command. In the previous build you needed to run "sencha ant build" (from the app folder) to get all the build steps.