TARGET specific data

Monkey Forums/Monkey Programming/TARGET specific data

nigelibrown(Posted 2013) [#1]
I have all my data stored in my project.data folder and each time I choose a different target to build for it copies all of the data to the device.

Is there a way to have target specific data at build stage i.e it only copies data from project.data/ios to the ios build and the same for the other targets?


EdzUp(Posted 2013) [#2]
Have a look here http://www.monkeycoder.co.nz/Community/posts.php?topic=4784


rIKmAN(Posted 2013) [#3]
Is that a joke or have you posted the wrong link?


Skn3(Posted 2013) [#4]
http://www.monkeycoder.co.nz/Community/
Try this


Skn3(Posted 2013) [#5]
Lol... I kid... I kid
http://www.monkeycoder.co.nz/Community/posts.php?topic=4784


rIKmAN(Posted 2013) [#6]
hahah, should have seen my face for a sec there lol!


nigelibrown(Posted 2013) [#7]
Not sure how this helps as now I have TARGET specific data in multiple folders that is copied to all TARGET's?

I only want ios folder to be copied to ios builds and android folder copied only to android build.


Skn3(Posted 2013) [#8]
Lol.


Well monkey upon build will copy all folders across to your build folder. After that it will use the filters to search within the AppName.data folder to copy across the files.

So if you need target specific data in multiple folders then simply prefix your filenames. E.g.
html5_myfile.txt

And change TEXT_FILES = "html5_*.txt"


EdzUp(Posted 2013) [#9]
Fixed that will teach me not to post from a ipod LOL :)