Android: Targeted Res Folders For Debugging In Eclipse
Solution 1:
You can use Link Source in Eclipse, right-click your project, choose Build Path -> Link Source...:
UPDATE: For some Eclipse versions use this link
Final look in Project Explorer:
Note that the little sign in the res folder icon , it is just a symbolic link poing to the res-customer1 folder. The beautiful point in this approach is the existing project folder in file system remain the same, you don't need a solid res folder from the beginning.
Solution 2:
Just a though, and not tested, but I wonder if you could make the res folder a symbolic link to one or the other of your res-custmer#folder, then have a shell script that will change the symbolic link. I know that you can drag and drop a folder/file in a project and make it link to it instead of copying the data in the project folder.
Another Idea could be to have your res-customer# embedded in a library project, and include one or the other project (this can be donne quite easily by commenting lines in the project.properties file)
Post a Comment for "Android: Targeted Res Folders For Debugging In Eclipse"