This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

#includea file from repo?

I have a project where I want to access a shared header file. We have a project structure like this:

SVN_ROOT

>branch

->Personal

- ->MyProj

>trunk

->MainProj

- - > shared

->Proj2

->MyProj

Ideally, I want to be able to #include the header file from the SVN_ROOT/trunk/MainProj/shared. I've been getting around this by doing a hard copy of the shared header into an include folder in MyProj. Is there a way that I can either tell CCS the location of the file using the SVN path or to go up a level? I'd like to be able to check into the trunk from my branch without having to manually always go and change settings, and where if I keep the shared folder of the trunk up to date I can always have the latest copy of it without having to go and manually copy it into a local folder just for my project.

I hope my question makes sense!

Thanks

  • Andrew,

    I haven't personally worked with SVN so cannot answer your question with certainty. Hopefully some community members who have used SVN can help share their experiences here.

    Are you using a SVN plugin for Eclipse? If so, it might be appropriate to also direct the question to the developers of the plugin that you are using.