Opening multiple projects with the same name

Erik Rull erik.rull at rdsoftware.de
Mon Feb 12 18:10:43 GMT 2018


Hi,

René J.V. Bertin wrote:
> BTW,
> 
> By default KDevelop will name projects after the directory from which it loads the [C]make or .pro file, and it will create a pair of .kdev4 files with that same name, giving
> 
> foo/foo.kdev4
> foo/.kdev4/foo.kdev4

Yes, these files are existing and are checked into Version Control System.
So they are available on all checkouts / branches at the moment.

> AFAIK the name you enter in the project wizard is stored in the foo/foo.kdev4 file and used only (chiefly?) to disambiguate the entries in open file lists when you have multiple files with the same name open from different projects (as well as in the titlebar). 
> 
> So what do you mean with "different directories"? Are we talking different names of the final directory on the path (/a/b/c/{d,e,f}) or about paths that differ somewhere but not in the final directory name (/a/b/c/d, /a/b/e/d, /a/f/c/d)?

I have the source code structure e.g.:

foo/x
foo/x/y
foo/x/z

and the kdev-files located as described above.

Now - I check out multiple instances (different branches) into:

/home/erik/a/foo/
/home/erik/b/foo/
/home/erik/c/foo/

I open the project located under /home/erik/a/foo/ and when I try to open
/home/erik/b/foo/ - kdevelop complains.

Going to 5.x is currently a bit tricky, but I'm willing to switch and test
it as soon as there is a LTS version of kubuntu supporting it.

> 
> R.
> 

Best regards,

Erik



More information about the KDevelop mailing list