Bug 470073 - [Hierarchical view]Support nested project when there is a folder in the path which is not a project
Summary: [Hierarchical view]Support nested project when there is a folder in the path ...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: PC Windows NT
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-12 09:36 EDT by Aurelien Pupier CLA
Modified: 2016-04-07 03:02 EDT (History)
2 users (show)

See Also:


Attachments
all projects are on the same level (124.00 KB, image/png)
2015-06-12 09:36 EDT, Aurelien Pupier CLA
no flags Details
the correct screenshot emphasing the issue (124.00 KB, image/png)
2015-06-12 10:44 EDT, Aurelien Pupier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Pupier CLA 2015-06-12 09:36:00 EDT
Created attachment 254384 [details]
all projects are on the same level

it is the case for org.eclipse.e4.ui for instance:
org.eclipse.e4.ui
|-build   --> not a project, just a folder container
    |- eclipse-juno-parent
    |- org.eclipse.ui.update


in hierarchical view all projects are set as root project
Comment 1 Lars Vogel CLA 2015-06-12 09:47:24 EDT
I think the hierarchy is based on the .project files. Adding Mickael for confirmation.
Comment 2 Mickael Istria CLA 2015-06-12 10:30:16 EDT
the use-case you describe is how hierarchical view is supposed to work, so you are facing a bug.
Can you please provide detailed steps of how to reproduce, and check in your log whether something is listed?
Comment 3 Mickael Istria CLA 2015-06-12 10:39:33 EDT
@Aurelien: in your screenshot https://bugs.eclipse.org/bugs/attachment.cgi?id=254371 , it seems to behave as expected (project->folder->project). Do you have any clue what would be a difference between those cases?
Comment 4 Aurelien Pupier CLA 2015-06-12 10:44:42 EDT
Created attachment 254387 [details]
the correct screenshot emphasing the issue
Comment 5 Aurelien Pupier CLA 2015-06-12 10:46:11 EDT
hum in fact it seems that you're pointing to the screenshot of another bug
Comment 6 Aurelien Pupier CLA 2015-06-12 10:47:25 EDT
detailed steps:
- import all projects of org.ecipse.e4.ui (I use the Smart Importer in my case)
- go to hierarchical view
--> you can see the issue
Comment 7 Mickael Istria CLA 2015-06-12 10:55:44 EDT
(In reply to Aurelien Pupier from comment #5)
> hum in fact it seems that you're pointing to the screenshot of another bug

Yes, but in this screenshot, you see that the hierarchical view works well with another project, even in a project->folder->project hierarchy.
Comment 8 Aurelien Pupier CLA 2015-06-12 10:57:03 EDT
no on the other project it is a project -> project -> project hierarchy, there is a pom.xml at each level
Comment 9 Mickael Istria CLA 2015-06-12 11:01:49 EDT
Hierarchical view doesn't care about pom.xml. It only understands projects in the Eclipse meaning of project (ie folder which has a .project)
Comment 10 Aurelien Pupier CLA 2015-06-12 11:05:59 EDT
there is no .project in this folder because this is not a project, this is just used as a container in a git repository. I was reporting this bugzilla in order to support also when there is non-project folder in the repository hierarchy.
Comment 11 Mickael Istria CLA 2016-04-07 03:02:26 EDT
@Aurelien: Is this something you can reproduce?