New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Easymport] Automatically import projects to a parent project working sets (if one exists) #31
Comments
|
Can you please give detailed steps to reproduce? |
|
I have gradle based build:
|
|
Which procedure do you use to "import one of the nested projects". There are many ways of doing this now :) |
|
Right click on a folder in Project explorer and select Import as Project. :) |
|
This "Import as Project" context menu action is part of Eclipse Platform UI. Cf https://bugs.eclipse.org/bugs/show_bug.cgi?id=427774 . Closing for jbosstools-playground. If GitHub would allow ticket status, it would probably be CLOSED UPSTREAM. |
|
Ah. I didn't spy on it. OTOH, how do I use easymport to achieve this? :) Btw. I have updated https://bugs.eclipse.org/bugs/show_bug.cgi?id=442459 |
|
I guess I would have to use Import -> Import Projects from Folder... |
|
If you select a working set and then use "File > Import Projects from Folder", the selected working set should include the new projects. |
|
It doesn't work for me. I have a folder structure like: xl-platform/xl-test-utils/scala-base if that matters? xl-test-utils is just a folder/container for other projects and I really don't want it to be eclipse project (I don;t mind it when I use nested projects, but I would like to avoid it). I have already imported xl-platform into xl-platform workingset and I have started import on xl-test-utils (with working set selected like you suggested) and it didn't work. Project was imported but not associated to the working set. In the scenario you described I have to select folder on a disk. I already have a top level project open and expected I could right click somewhere and import visible folder as project. Btw. do I really have to select working set? After I have started using nested projects I have only one working set enabled at the time with Top level elements -> Projects (which is a default). |
Well, that seems to be a bug. I'll try to have a look, but I've many things in my todo-list at the moment, so I can't tell when I'll be able to work on it. So if you have some time to investigate that an contribute a patch to Easymport command handler, that would be great.
Nested projects are totally independent from working sets, you don't need working sets to have nested projects. Initially the goal of nested project was exactly to get rid of working sets which are more a workaround to organize project explorer. |
|
I just gave it a try, and I can confirm that as you reported, using Import Folder as Project when a working set is selected does NOT work. |
|
@mickaelistria working sets are relevant even when you have nestor IMO. You can use workingset to group across your physical hiearchy. thus having explicit "add to working set" field would make sense imo. |
I have noticed that projects are not automatically imported into a "parent project" working set anymore.
Is it viable to make it a preference on a worspace level?
I would like to avoid wizard on "Import project" if possible.
Is this related to #29 ?
The text was updated successfully, but these errors were encountered: