at first i have to say that i'm not very good with english, so i'm sorry if i can explain very well what i mean :)
I have one project that i need to replicate n times; every new project must have the same source code, but different resources (ex: images, html files, sounds, pdf, etc) and different class/packages names.
my project is not a standard java, but android + phonegap.
I have an eclipse plugin that create an empty phonegap project... maybe there is a way to modify this plugin to create my standard project?
Is it possible? The best is to have also a system to commit source changes form the main project to the childs, but it's not mandatory.
Sorry again for my english.
EDIT:
Sorry if i edit again this question, but really i can't find a solution for my problem.
I want to integrate it with an example, maybe i can explain what i need.
imagine you have developed and android application with eclipse and phonegap, for a football team, example Barcelona.
The app mainly is in html + jquerymobile, but you have modified the activity, the android manifest, added some phonegap plugins, some media resource, etc.
Now you have to replicate this app for more teams, a lot of teams. For everyone you have to create a new phonegap project, modify every single file, add the plugins, add the assets.... those tasks can't be error free.
But the very big problem is: if you have only a little update in your code, how you can replicate it over 10/20/50/100/1000 projects?
I've added android, phonegap and cordova tags too to the post to be more specific.
Sorry again for my english.
EDIT N°2
I just played with maven android plugin for over a week now, without success.
What i need is centralized code where i can switcch the app and packagename, the icons, and just little configuration files.
Android libs is not a solution, because it can't export assets files.
I started a bounty for this question looking for a detailed answer... please help :(
See Question&Answers more detail:
os