[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cdt-dev] Linked folders and include directories
- From: Andrew Gvozdev <angvoz.dev@xxxxxxxxx>
- Date: Mon, 2 May 2011 11:14:45 -0400
- Delivered-to: email@example.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=t9TYwtismiAbfbWoZULonXLWJtvs6ShjLnkYj3hcrUM=; b=PzgfLJp5mRe1R3KprR4rfx0tXvJI6brdhAmFJCppU+xkoU4YCfgHSFunyuZ/MW0zdI attUflpZwo9PmwrbbqJcN1etvTxE9ZUU/m4UK94INtlTwbYOhzPfJU5uR8WvN95vhmh3 XlboxpEL0Ax5IJR05y6NLu1qRhitUM8OuNEIM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=OZTM5mXhcusSRyDjANnbg/WA2nBXmENggYguqxF/XOh2qDl0C/HZvSDKGfdeJMrAaS Lji/qnJhAxr4H1dWmzBFDWq/aIe9ThDkVISuMniRUPjigjLqgYnrXJu7KNiR50aabAXc PIV3Uy4nCr9OOEBSV4CYAJaXFTuaZTbKg5rkk=
On Fri, Apr 29, 2011 at 7:38 PM, Oliver Buchtala <oliver.buchtala@xxxxxx>
I am observing a problem with linked folders and the CDT 'includes'
I have a main project (say 'A') which I use to provide a link to a
project's root and some global make targets.
I use a linked folder for that to keep eclipse things out-of-source-tree.
Now I have many smaller projects each being a local view on a smaller
The include directories of these projects are specified using absolute
paths pointing into subfolders of the linked folder in main project 'A'.
Now I observe:
1. include directories are referenced as A/somesubdir, i.e. as a
workspace path relative to project A.
why is that? If there are other projects with linked folders e.g.
liking sub-folders of the folder linked in by 'A', there is some racing
for this registration.
I.e. it depends on the order the projects are loaded. A bit
confusing and intimidating ;)
It is buggy to start with. That can be intimidating, true. Note that everybody has its own idea how it should look like. Some go so far as to suggest we should remove "Includes" from the Project Explorer for good. If interested, you can check out discussion in bug 330750
and suggest your own idea about that in bug 338543
2. When loading or importing projects with such include references the
status bar displays messages about processing duplicate references.
Moreover, with Eclipse 3.6 + CDT 7.0.2 this is unbearably slow.
With 3.7M6 + 8.0 same behavior but much quicker.
What does this message about dup refs mean? also intimidating ;)
3. The referenced include directories are not browsable.
Moreover, with Eclipse 3.6 + CDT 7.0.2 the indexer does not find
included headers which would be in these referenced folders.
With 3.7M6 + CDT 8.0 indexer is ok, though these folders are still
Not sure what you mean by "not browsable", is it that you cannot expand those? Sounds like an error in your configuration.
My context: I am working on an CDT generator for CMake.
- find my git repo: git@xxxxxxxxxx:oliver----/cmake_cdt7.git
is there some specification/documentation on <filteredResources/> used
to specify exclude/include filters for linked folders in .project?
You can take a look at bug 252647
and a Wiki link from there to E4 Resources
. Flexible Resources were merged into eclipse 3.7 stream. Not sure if those details are covered there though.
cdt-dev mailing list