1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    rocketlaura is on a distinguished road

      0  

    Default Unanswered: Including resources in production build

    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!

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    rocketlaura is on a distinguished road

      0  

    Default


    okay, embarrassing ... five minutes after posting this, I found it in app.json (why I didn't find it before, I don't know...)

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi