I have a project which is going to be share with different clients. The only thing which will be changed on the project is the res/ ( some images with same name , the string , styles and colors )
I don’t want to create another project with the same things , what I want to do is that I provide res/ in different directories , e.g ABC/res , EFG/res , JKL/ res ( Where all res will be same by name)
So What I want to do is to put name of client (any where in project) and when I compile, it should get res of its relevant directory. e.g If I put name of client EFG , then it should get and show res for client EFG/res and add that to build)
Please send me links , or some working example. Thanks in advance
You should use something like this in you ant build.xml in
section
But only change folders according to some string flag (your customers’ names for example)
for more details see http://ant.apache.org/manual/Tasks/copy.html