My code base is large as it supports LOTs of devices. Is there a way to exclude code based upon the device so the memory footprint is smaller for each device?
My code base is large as it supports LOTs of devices. Is there a way to exclude code based upon the device so the memory footprint is smaller for each device?
Do you have an example of the excludeAnnotations
How do you do this? Ta
Have you looked at the programmer's guide? There's a whole section on Jungles.
So I have...
base.sourcePath = source
fr45.sourcePath = $(fr45.sourcePath);fr45-source
Do I then need clone my entire *view.mc into \fr450source then strip out the non fr45 stuff?
Ta!
Don't think exclude annotations is workable as I support 50+ devices
as would need to do
(:fr245) function do_seconds(dc, isFull)
{
(:fr45) function do_seconds(dc, isFull)
{
(:fr935) function do_seconds(dc, isFull)
{
then how do I setup jungle ?
fr45.excludeAnnotations = fr245
fr45.excludeAnnotations = fr935
etc
thats painful. Ta
How many different variations do you think you will need? I just do everything using the same memory limits, so I haven't had to try this. But can you get it to work with high and low memory options? Or high, medium, low? Or more than that?
Then instead of doing excludes by every device, you could try doing excludes by memory size.
is there a list showing each devices memory limit?
You can find it by looking through devices.xml
In my jungle I have
fr45.excludeAnnotations = older
and added (:older) to most of my functions for example :
(:older) function do_seconds(dc, isFull)
Running as fr45 I still get out of memory exception so the exclusions don't appear to work