Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329910 - Resources appear as untracked if there is a closed parent project
Summary: Resources appear as untracked if there is a closed parent project
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-10 09:49 EST by Tobias Oberlies CLA
Modified: 2013-05-03 20:09 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Oberlies CLA 2010-11-10 09:49:32 EST

    
Comment 1 Tobias Oberlies CLA 2010-11-10 09:54:27 EST
Sorry, hit the wrong button.

The title should be "Resources appear as untracked if there is a closed parent project"

Steps to reproduce:
1) Install m2eclipse
2) Check out the Tycho sources: git://github.com/sonatype/sonatype-tycho.git
3) Use the "Import existing Maven projects" wizard to import the Maven project in the "tycho-p2-resolver" subfolder -> import the aggregator module and all child modules
4) Team share on the imported projects
5) Close the project "tycho-p2-resolver"
Now all resources in the other imported projects will be decorated as untracked.
Comment 2 Matthias Sohn CLA 2010-11-10 15:25:31 EST
We recently looked into problems EGit faces with nested projects and if we could better support them. But we found that the platform support for hierarchical projects in Helios is not really working and we most probably won't invest time to workaround intrinsic platform issues (see bug 35973). E.g. files inside nested projects appear as multiple resources in the Eclipse resource model, disambiguating them in a higher layer would be a mess.

Maybe you should add your vote to the platform bug 35973 tracking this. As far as I understand a solution is planned only for e4.

So currently I don't see how we could fix a mal-functional platform support for hierarchical projects with reasonable effort.
Comment 3 Robin Rosenberg CLA 2013-05-03 20:09:08 EDT

Comits e3fb20fbd8862441eb5a11e059a2ef98e7f8d7bc, 4757472cb52c8914058e63fb50f3f4a4325db231, a49298106109797b5f068b798ead52ca14069539
and specifically for this issue, 9702515c9e39320e66d5bcc3459826a9babd54d6 improved on handling nested projects