Indexer with multiple projects [message #1008245] |
Mon, 11 February 2013 12:37  |
Eclipse User |
|
|
|
In Eclipse Juno (Eclipse 4.2 with Eclipse CDT 8.1), I have multiple projects set up: several libraries that we maintain and several applications that are based on those libraries.
The indexer works great for each library, and it works okay for each of the projects (it's able to correctly resolve a project's references to library symbols). However, the indexer never automatically updates an application when one of its dependent projects changes. So, for example, if I edit a library's .h file to add a function then edit an application's .cpp file to add a call to the new function, the CDT's code analysis flags it as an unresolved symbol within that application project. The only workaround I've found is to manually right-click on the application in the Eclipse Project Explorer, go under Index, and chose Update with Modified Files.
Is there a way to have the indexer automatically update a project whenever source files in another project change?
|
|
|
|
|
|
Re: Indexer with multiple projects [message #1011540 is a reply to message #1011252] |
Tue, 19 February 2013 13:58  |
Eclipse User |
|
|
|
Axel Mueller wrote on Tue, 19 February 2013 02:24
I noticed the same erroneous behavior recently. According to this bug entry https://bugs.eclipse.org/bugs/show_bug.cgi?id=310837 it should have been fixed long ago. I will setup a small test project to see if I can reproduce it.
I could reproduce the bug locally. I made an attachment to the above mentioned bugzilla entry. Hopefully one of the CDT dev will have a look at it.
Thank you very much for your help. I'll watch that bug for further info.
|
|
|
Powered by
FUDForum. Page generated in 0.06895 seconds