Hi All ,
We have one customFile folder in project folder where in we have two seperate folders , one for samsung and one for nokia and each one having seperate files needed for slightly different behaviour of application(for samsung and nokia).Most of the other code and functanality is same for both implementation.
When we want build for samsaung , we mention samsun_build.xml while invoking
ant command.In the build.xml , we copy these files from custom folder to main code base.
Similarly when we invoke nokia_build.xml , in the ant file we copy nokia specific files from nokia folder to main code base.
Now we need to use more cleaner approch.I have thought of using factory
pattern but it does not fit into it as we have around 10 files and they needed to be invoked in differnt places.
Can you please suggest any approch to solve this ?
Thanks,
Amol