Skip to content

Commit 213fc41

Browse files
committed
Do more agressive cleanup when installing jdtls server
1 parent 27082f3 commit 213fc41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lsp-java.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,8 @@ PARAMS progress report notification data."
799799
(defun lsp-java--ensure-server (_client callback error-callback _update?)
800800
"Ensure that JDT server and the other configuration."
801801
(f-delete lsp-java-server-install-dir t)
802+
(f-delete lsp-java-workspace-cache-dir t)
803+
(f-delete lsp-java-workspace-dir t)
802804
(let* ((default-directory (make-temp-file "lsp-java-install" t))
803805
(installed-mvn (executable-find "mvn"))
804806
(mvn-command-and-options (if installed-mvn

0 commit comments

Comments
 (0)