Let me clarify the question : We have a large Java project, with 3 concurrent versions (v6 stable, v7 stable and v8 in development) We are migrating the source code to a Git repository which will have at least 3 branches : v6, v7 (main) and develop. This repo will be distributed and shared among the developers team. Unfortunately, the resources (3rd party libraries) are not the same in the various versions and thus branches.
My question is : In my Eclipse project, how can I switch the needed libraries when I checkout from a branch to another ?
There is a lot of third party libraries, so we can't integrate them in the git repository. I know that I can put the eclipse .project and .classpath files in the Git repo, but :
- these files are not part of the real project, they are just for me
- another developer uses Eclipse and he'd do the same thing : in the bare repo, my Eclipse files will replace his and vice versa...
Is there a way to put the eclipse files in another location than the project root directory ? Or any other advice ?
Thanks a lot