using Eclipse (to develop on Android) I want to create a second project that it is the same as a first project but some classes are differents.
Exactly, I'm creating an Android App and I want to offer a free version and a premium version. Actually, the code of the projects are identical but changes some classes.
The problem is I don't want support two projects. If I modify a class, then I have to modify the same change on the other project. It is very redundant.
Besides, the project are pushed to a remote GIT respository.
And one last note, an Andriod App is identify using his root package, for example: com.example.myapp
So, I need two differents roots package (so I need create new folders), for example com.example.myappfree and com.example.myapppremium
Which is the best solution to create two java projects in Eclipse sharing the package and classes, but changing two o three classes?