Conversation
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
|
ci-test |
|
ci-test build report: |
tsmaeder
left a comment
There was a problem hiding this comment.
This PR does not cover the case of importZip, which is used for Selenium tests.
|
@tsmaeder In case importZip we don't create Project in ProjectRegistry so fire event in this case no reason |
It is expected behavior, according to this comment, specifically
|
|
Yes, but a project appears in the navigator without a ProjectCreatedEvent ever being sent. Without the event being sent, I cannot tell jdt.ls to look at the project. |
|
ok, got it. Looks like you are right |
|
@tsmaeder I think I understand what you mean. Just to be sure that we're on the same wave. We consider that the project is created only when corresponding configuration is added to project config registry. In other words when a folder is created/archive is unpacked in the projects' root we don't consider it as a project until its configuration is added. For the case that you mentioned (selenium tests) they basically do two things: they unzip a folder and add a project configuration via So, eventually there are two bugs:
I also think that your suggestion to move project related events on a separate abstraction level to avoid event micromanagement and all related errors sounds good. |
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
* Fire ProjectCreatedEvent on importProject Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com> * Fire ProjectCreatedEvent on setting project configuration firtsly Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
Signed-off-by: Vitalii Parfonov vparfonov@redhat.com
What does this PR do?
Fire ProjectCreatedEvent on importProject and during setting ProjectConfiguration firstly
What issues does this PR fix or reference?
#9924