(Forgive the duplicate posting, I had added this to the tail end of an old thread, but I'm not sure anyone's reading it)
I'm having some trouble sharing projects through an RCS (we're using subversion). I'm trying to figure out what I'm missing.
We have the following setup (abstracted a bit):
I have the CCS project definition
\$(DEVELOPMENT_ROOT)\workspace\MY_PROJECT
and the source files
\$(DEVELOPMENT_ROOT)\MY_SRC
This local directory tree is under source control, but some individual files may not be.
Source control for the source files are not a problem. The only concern is the project itself.
So I can create a project that used linked resources, based on a local definition of DEVELOPMENT_ROOT. However this absolute path definition appears in both .project and .cproject files in the MY_PROJECT directory. So when I put the project under source, it's not really portable any more.
If Alice creates the project and puts these files under control, Bob can then check out the project. Bob can edit the definition of the DEVELOPMENT_ROOT variable, and build the project. But this changes the project definitions in .project and .cproject. and from a source-control perspective, this tree has now changed. If Bob adds another linked file to the project definition, and commits this change to the project, when Alice updates her copy, it will also overwrite the definition of DEVELOPMENT_ROOT.
I do want the project settings and file list (linked resources) to be under source control. I do not want the variable definitions to be. Is there a way to do this?
Thanks for your help.
John