Skip to content
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

New folders do not register in the jdt.ls workspace #10115

Closed
svor opened this issue Jun 20, 2018 · 1 comment
Closed

New folders do not register in the jdt.ls workspace #10115

svor opened this issue Jun 20, 2018 · 1 comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. target/branch Indicates that a PR will be merged into a branch other than master.

Comments

@svor
Copy link
Contributor

svor commented Jun 20, 2018

Description

New created folder from java project won't be registered in jdt.ls.
Looks like file watcher doesn't send an event to jdt.ls e about creation of the folder.

Steps to reproduce:

  1. Create Plain java project;
  2. Create new folder in the projects and mark it as source folder
  3. Try to move some class to this folder by using Move Refactoring wizard
  4. In the Move wizard we don't see new source folder among possible directions

It happens because jdt.ls checks if each element from the classpath exists on the file system but jdt.ls knows nothing about creation new folder.

Selenium test which shows this problem: org.eclipse.che.selenium.refactor.move.MoveJavaFileInNewSourceFolderTest

@svor svor added kind/bug Outline of a bug - must adhere to the bug report template. target/branch Indicates that a PR will be merged into a branch other than master. team/languages labels Jun 20, 2018
@tsmaeder tsmaeder mentioned this issue Jul 5, 2018
17 tasks
@tsmaeder tsmaeder mentioned this issue Jul 30, 2018
12 tasks
vrubezhny added a commit to vrubezhny/che that referenced this issue Aug 3, 2018
vrubezhny added a commit to vrubezhny/che that referenced this issue Aug 3, 2018
A draft for directory watcher

Signed-off-by: Victor Rubezhny <[email protected]>
vrubezhny added a commit to vrubezhny/che that referenced this issue Aug 3, 2018
vrubezhny added a commit to vrubezhny/che that referenced this issue Aug 3, 2018
vrubezhny added a commit to vrubezhny/che that referenced this issue Aug 7, 2018
vrubezhny added a commit to vrubezhny/che that referenced this issue Aug 9, 2018
Draft for reporting creation/modification/deletion of source folders to jdt.ls

Signed-off-by: Victor Rubezhny <[email protected]>
vrubezhny added a commit to vrubezhny/che that referenced this issue Aug 9, 2018
tolusha pushed a commit that referenced this issue Aug 10, 2018
vrubezhny added a commit to vrubezhny/che that referenced this issue Aug 13, 2018
Draft for reporting creation/modification/deletion of source folders to jdt.ls

Signed-off-by: Victor Rubezhny <[email protected]>
vrubezhny added a commit to vrubezhny/che that referenced this issue Aug 13, 2018
Draft for reporting creation/modification/deletion of source folders to jdt.ls

Signed-off-by: Victor Rubezhny <[email protected]>
vrubezhny added a commit to vrubezhny/eclipse.jdt.ls that referenced this issue Aug 15, 2018
vrubezhny added a commit to vrubezhny/eclipse.jdt.ls that referenced this issue Aug 15, 2018
vrubezhny added a commit to vrubezhny/che-ls-jdt that referenced this issue Aug 15, 2018
vrubezhny added a commit to vrubezhny/eclipse.jdt.ls that referenced this issue Aug 17, 2018
fbricon pushed a commit to eclipse-jdtls/eclipse.jdt.ls that referenced this issue Aug 20, 2018
vrubezhny added a commit to vrubezhny/che that referenced this issue Aug 21, 2018
Draft for reporting creation/modification/deletion of source folders to jdt.ls

Signed-off-by: Victor Rubezhny <[email protected]>
vrubezhny added a commit to vrubezhny/che that referenced this issue Aug 21, 2018
Draft for reporting creation/modification/deletion of source folders to jdt.ls

Signed-off-by: Victor Rubezhny <[email protected]>
tsmaeder pushed a commit that referenced this issue Aug 22, 2018
vrubezhny added a commit to vrubezhny/che that referenced this issue Aug 22, 2018
Draft for reporting creation/modification/deletion of source folders to jdt.ls

Signed-off-by: Victor Rubezhny <[email protected]>
vrubezhny added a commit to vrubezhny/che-ls-jdt that referenced this issue Aug 23, 2018
tsmaeder pushed a commit that referenced this issue Oct 1, 2018
tsmaeder pushed a commit that referenced this issue Oct 1, 2018
tsmaeder pushed a commit that referenced this issue Oct 1, 2018
This fix adds a filtering of java projects (folders from the projects
of other types will not be reported to jdt.ls)

Signed-off-by: Victor Rubezhny <[email protected]>
tsmaeder pushed a commit that referenced this issue Oct 5, 2018
tsmaeder pushed a commit that referenced this issue Oct 5, 2018
tsmaeder pushed a commit that referenced this issue Oct 5, 2018
This fix adds a filtering of java projects (folders from the projects
of other types will not be reported to jdt.ls)

Signed-off-by: Victor Rubezhny <[email protected]>
tsmaeder pushed a commit that referenced this issue Oct 12, 2018
tsmaeder pushed a commit that referenced this issue Oct 12, 2018
tsmaeder pushed a commit that referenced this issue Oct 12, 2018
This fix adds a filtering of java projects (folders from the projects
of other types will not be reported to jdt.ls)

Signed-off-by: Victor Rubezhny <[email protected]>
tsmaeder pushed a commit that referenced this issue Oct 16, 2018
tsmaeder pushed a commit that referenced this issue Oct 16, 2018
tsmaeder pushed a commit that referenced this issue Oct 16, 2018
This fix adds a filtering of java projects (folders from the projects
of other types will not be reported to jdt.ls)

Signed-off-by: Victor Rubezhny <[email protected]>
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
This fix adds a filtering of java projects (folders from the projects
of other types will not be reported to jdt.ls)

Signed-off-by: Victor Rubezhny <[email protected]>
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
This fix adds a filtering of java projects (folders from the projects
of other types will not be reported to jdt.ls)

Signed-off-by: Victor Rubezhny <[email protected]>
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
This fix adds a filtering of java projects (folders from the projects
of other types will not be reported to jdt.ls)

Signed-off-by: Victor Rubezhny <[email protected]>
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
This fix adds a filtering of java projects (folders from the projects
of other types will not be reported to jdt.ls)

Signed-off-by: Victor Rubezhny <[email protected]>
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
tsmaeder pushed a commit that referenced this issue Oct 17, 2018
This fix adds a filtering of java projects (folders from the projects
of other types will not be reported to jdt.ls)

Signed-off-by: Victor Rubezhny <[email protected]>
@che-bot
Copy link
Contributor

che-bot commented Sep 7, 2019

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 7, 2019
@che-bot che-bot closed this as completed Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. target/branch Indicates that a PR will be merged into a branch other than master.
Projects
None yet
Development

No branches or pull requests

2 participants