blob: e5e730103a4f3838a9cf1806957b6e5f7ab259db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
@echo off
curl -o "jdt-language-server-latest.tar.gz" "http://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz"
curl -o "lombok.jar" "https://projectlombok.org/downloads/lombok.jar"
tar xvf jdt-language-server-latest.tar.gz
del jdt-language-server-latest.tar.gz
echo @echo off ^
setlocal enabledelayedexpansion ^
for %%%%F in (%%~dp0\plugins\org.eclipse.equinox.launcher_*.jar) do ( ^
set launcher=%%%%F ^
) ^
java -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Dlog.protocol=true -Dlog.level=ALL -noverify -Xmx1G -javaagent:%%~dp0/lombok.jar -Xbootclasspath/a:%%~dp0/lombok.jar -jar !launcher! -configuration %%~dp0\config_win -data %%~dp0\data ^
> eclipse-jdt-ls.cmd
|