Skip to content

Commit 1502492

Browse files
committed
Use mvn if present otherwise fallback to mvnw
1 parent 3152893 commit 1502492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-java.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ PARAMS progress report notification data."
572572
(url-copy-file (concat lsp-java--download-root "pom.xml") "pom.xml" t)
573573
(let ((full-command (format
574574
"%s -Djdt.js.server.root=%s -Djunit.runner.root=%s -Djunit.runner.fileName=%s -Djava.debug.root=%s clean package -Djdt.download.url=%s"
575-
(or (lsp-java--prepare-mvnw) (executable-find "mvn"))
575+
(or (executable-find "mvn") (lsp-java--prepare-mvnw))
576576
(expand-file-name lsp-java-server-install-dir)
577577
(expand-file-name
578578
(if (boundp 'dap-java-test-runner)

0 commit comments

Comments
 (0)