Unanswered: Including resources in production build
I'm just learning ST2 and finding it very powerful, elegant and useful. I have a question about determining what goes into my production build.
First, my setup: I use the sencha generate app command (comand line tool) to build my project structure and the sencha build production command to generate the final product. (Basically, I do what Ed Spencer told me to do in the excellent Getting Started video.)
Next, my project: I'm creating a web app that plays music files that I've created and that should be stored inside the project. Because it seemed logical, I created a "musicfiles" inside the resources folder of my project, and put all the mp3 files in there. For local testing, everything works great. But when I do my production build, the musicfiles folder is not included.
My sort of kludgy fix has been to put the musicfiles folder inside the resources/images folder, because everything in that folder seems to be included in the production build. So that works fine.
But is that the way to go? I would think that anything I put in the resources folder should be included in the production build. But am I limited to using the folders that are already there (images, etc.)? Is there a configuration document I can create to control this? A flag in the command line tool? I've examined the command line help for the sencha command (sencha help, sencha app build help, etc.) and haven't found anything ... looked through the online documentation ... but still might have just missed what I need.
Along the same lines, I have an XML file that I use as my data source (listing all of the music files and their descriptions, etc.), which I also must put in an existing subfolder in resources to include in the production build. I tried putting it in the store folder and that didn't work ... then loose in the resources folder and that didn't work, either. So ... into the resources/images folder it goes!