mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
17 lines
572 B
Batchfile
17 lines
572 B
Batchfile
@echo off
|
|
for /f %%a in ('dir /B /S server\plugins\org.eclipse.equinox.launcher*.jar') do SET launcherJar="%%a"
|
|
|
|
echo "Starting Cloudbeaver Server"
|
|
|
|
IF NOT EXIST workspace\.metadata (
|
|
mkdir workspace\GlobalConfiguration\.dbeaver\
|
|
copy conf\initial-data-sources.conf workspace\GlobalConfiguration\.dbeaver\data-sources.json
|
|
)
|
|
|
|
SET VMARGS_OPTS = ""
|
|
If Not Defined JAVA_OPTS (
|
|
SET VMARGS_OPTS = "-Xmx2048M"
|
|
)
|
|
|
|
java -jar %launcherJar% -product io.cloudbeaver.product.ce.product -web-config conf/cloudbeaver.conf -nl en -registryMultiLanguage -vmargs %VMARGS_OPTS%
|