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

Add batch files to execute Dotty commands on Windows #5444

Closed
wants to merge 93 commits into from
Closed
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
72ef612
fix exception 'UnmappableCharacterException' in dottydoc on Windows
Nov 12, 2018
0f94c25
add batch scripts to build Dotty distro on Windows
Nov 12, 2018
36f6108
small improvements in batch scripts for Dotty 0.10
Nov 13, 2018
0717827
improved subcommands in build.bat
Nov 13, 2018
4e57388
move batch scripts for distro to correct directory
Nov 13, 2018
728cdff
fix goto label and help handling in batch scripts
Nov 13, 2018
52a4766
added batch scripts for sbt pack
Nov 13, 2018
89437fb
remove debug code
Nov 14, 2018
d30ef54
Merge branch 'master' of https://github.com/lampepfl/dotty
Nov 14, 2018
3455189
improved error messages in batch scripts
michelou Nov 14, 2018
28b4c04
reverted commits up to 72ef612 (PR #5430)
michelou Nov 14, 2018
6688ea6
added batch scripts for a new PR
michelou Nov 14, 2018
205fab5
removed debug code from batch scripts
michelou Nov 14, 2018
a6df702
added compile subcommand to batch script
michelou Nov 14, 2018
211ce5d
add -timer option, fix args subroutine
michelou Nov 16, 2018
221a31e
updated help text in build.bat
michelou Nov 22, 2018
09b8c18
fixed file separator in build.bat
michelou Nov 25, 2018
eb49bd2
fixed undefined variable (thanks to @liufengyun)
michelou Nov 26, 2018
3a00a89
fixed handling of jvm opts
michelou Nov 26, 2018
3ed96b8
Merge remote-tracking branch 'origin/master' into batch-files
michelou Nov 29, 2018
d789e52
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Nov 30, 2018
205c693
sync tests in :cmdTests subroutine with shell script
michelou Nov 30, 2018
f96f1d7
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 2, 2018
169a40b
renamed variable (Oracle's JVM knows _JAVA_OPTIONS !)
michelou Dec 2, 2018
675750f
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 2, 2018
7f79714
fixed call instruction in bin/common.bat
michelou Dec 3, 2018
654eb22
splitted build.bat into several parts (same as bash scripts)
michelou Dec 3, 2018
b1af46c
added missing ERRORLEVEL tests
michelou Dec 3, 2018
4b5a2bb
added missing classpath option
michelou Dec 5, 2018
455908a
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 5, 2018
b862df6
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 6, 2018
795630c
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 8, 2018
52816f9
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 10, 2018
f9d83c2
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 10, 2018
c43753c
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 10, 2018
61f9809
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 11, 2018
c39761e
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 12, 2018
0caff77
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 13, 2018
08018ee
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 14, 2018
0a59fb3
fixed exit code
michelou Dec 15, 2018
1e057d3
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 16, 2018
7787cae
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Dec 24, 2018
250e74a
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jan 5, 2019
43ebc47
fixed computation of _JAVACMD in common.bat
michelou Jan 5, 2019
92bbdea
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jan 6, 2019
2178a78
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jan 8, 2019
8171cf6
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jan 9, 2019
dc639e2
removed variable COLORS (use option -color:always|never instead)
michelou Jan 9, 2019
35b571e
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jan 13, 2019
6a5879a
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jan 14, 2019
8dce9ac
fixed name of -Oshort option, removed 2 subroutine calls
michelou Jan 14, 2019
7c0cd6e
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jan 15, 2019
ad0759e
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jan 20, 2019
3c2e97e
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jan 21, 2019
2fbf874
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jan 22, 2019
d989c51
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jan 23, 2019
a723c27
improved error messages in build.bat
michelou Jan 23, 2019
6cdba2e
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jan 24, 2019
138b838
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 1, 2019
207a20b
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 2, 2019
c663615
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 4, 2019
252981f
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 5, 2019
b18f925
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 6, 2019
51d5720
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 6, 2019
9ed0d38
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 7, 2019
c0222cd
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 9, 2019
c4e56f3
added community-build to batch script
michelou Feb 9, 2019
69d52c6
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 12, 2019
1a476f2
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 13, 2019
a7623b0
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 13, 2019
6be9fc3
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 14, 2019
1b0694b
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 15, 2019
4a20328
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 16, 2019
db111ef
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 18, 2019
87a1acf
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 19, 2019
a8d5f90
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 19, 2019
9f441f6
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 20, 2019
99a6325
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 21, 2019
b9772e9
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 21, 2019
52dd1f4
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 25, 2019
1e799c8
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Feb 26, 2019
e556a07
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jun 7, 2019
8e7a6b2
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jun 9, 2019
d9d727b
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jun 9, 2019
7f28baa
removed scala-xml dependency
michelou Jun 10, 2019
ba1db7f
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Jun 21, 2019
4bfa395
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Sep 4, 2019
cc65906
updated batch scripts for dotty-staging
michelou Sep 4, 2019
2181240
updated files from master
michelou Oct 6, 2019
ef04e41
redirect debug info to stderr in batch scripts, removed build.bat
michelou Oct 28, 2019
74467ff
sync with upstream
michelou Nov 4, 2019
0ef744b
Merge remote-tracking branch 'upstream/master' into batch-files
michelou Nov 11, 2019
1905d2a
added option -cp to dotr.bat, removed project/scripts/*.bat files
michelou Nov 11, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
119 changes: 119 additions & 0 deletions bin/common.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
@echo off
setlocal enabledelayedexpansion

rem # Wrapper for the published dotc/dotr script that check for file changes
rem # and use sbt to re build the compiler as needed.

rem ##########################################################################
rem ## Environment setup

set _BASENAME=%~n0

set _EXITCODE=0

for %%f in ("%~dp0..") do set _ROOT_DIR=%%~sf

rem # Marker file used to obtain the date of latest call to sbt-back
set _VERSION=%_ROOT_DIR%\dist-bootstrapped\target\pack\VERSION

rem ##########################################################################
rem ## Main

rem # Create the target if absent or if file changed in ROOT/compiler
call :new_files "%_VERSION%"

if exist "%_VERSION%" if %_NEW_FILES%==0 goto target
echo Building Dotty...
pushd %_ROOT%
sbt.bat "dist-bootstrapped/pack"
popd

:target
set _TARGET=%~1
rem # Mutates %* by deleting the first element (%1)
shift

call %_TARGET% %*

goto end

rem ##########################################################################
rem ## Subroutines

rem input parameter: %1=version file
rem Output parameter: _NEW_FILES
:new_files
set __VERSION_FILE=%~1

call :timestamp "%__VERSION_FILE%"
set __VERSION_TIMESTAMP=%_TIMESTAMP%

set __JAVA_SOURCE_FILES=
for /f %%i in ('dir /s /b "%_ROOT_DIR%compiler\*.java" 2^>NUL') do (
set __JAVA_SOURCE_FILES=!__JAVA_SOURCE_FILES! %%i
)
set __SCALA_SOURCE_FILES=
for /f %%i in ('dir /s /b "%_ROOT_DIR%compiler\*.scala" 2^>NUL') do (
set __SCALA_SOURCE_FILES=!__SCALA_SOURCE_FILES! %%i
)

call :compile_required "%__VERSION_TIMESTAMP%" "%__JAVA_SOURCE_FILES% %__SCALA_SOURCE_FILES%"
set _NEW_FILES=%_COMPILE_REQUIRED%

goto :eof

rem input parameter: 1=timestamp file 2=source files
rem output parameter: _COMPILE_REQUIRED
:compile_required
set __TIMESTAMP_FILE=%~1
set __SOURCE_FILES=%~2

set __SOURCE_TIMESTAMP=00000000000000
for %%i in (%__SOURCE_FILES%) do (
call :timestamp "%%i"
call :newer !_TIMESTAMP! !__SOURCE_TIMESTAMP!
if !_NEWER!==1 set __SOURCE_TIMESTAMP=!_TIMESTAMP!
)
if exist "%__TIMESTAMP_FILE%" ( set /p __CLASS_TIMESTAMP=<%__TIMESTAMP_FILE%
) else ( set __CLASS_TIMESTAMP=00000000000000
)

call :newer %__SOURCE_TIMESTAMP% %__CLASS_TIMESTAMP%
set _COMPILE_REQUIRED=%_NEWER%
goto :eof

rem output parameter: _NEWER
:newer
set __TIMESTAMP1=%~1
set __TIMESTAMP2=%~2

set __TIMESTAMP1_DATE=%__TIMESTAMP1:~0,8%
set __TIMESTAMP1_TIME=%__TIMESTAMP1:~-6%

set __TIMESTAMP2_DATE=%__TIMESTAMP2:~0,8%
set __TIMESTAMP2_TIME=%__TIMESTAMP2:~-6%

if %__TIMESTAMP1_DATE% gtr %__TIMESTAMP2_DATE% ( set _NEWER=1
) else if %__TIMESTAMP1_DATE% lss %__TIMESTAMP2_DATE% ( set _NEWER=0
) else if %__TIMESTAMP1_TIME% gtr %__TIMESTAMP2_TIME% ( set _NEWER=1
) else ( set _NEWER=0
)
goto :eof

rem input parameter: 1=file path
rem output parameter: _TIMESTAMP
:timestamp
set __FILE_PATH=%~1

set _TIMESTAMP=00000000000000
for /f %%i in ('powershell -C "(Get-ChildItem '%__FILE_PATH%').LastWriteTime | Get-Date -uformat %%Y%%m%%d%%H%%M%%S"') do (
set _TIMESTAMP=%%i
)
goto :eof

rem ##########################################################################
rem ## Cleanups

:end
exit /b %_EXITCODE%
endlocal
5 changes: 5 additions & 0 deletions bin/dotc.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@echo off

for %%f in ("%~dp0..") do set _ROOT_DIR=%%~sf

call %_ROOT_DIR%\bin\common.bat "%_ROOT_DIR%\dist-bootstrapped\target\pack\bin\dotc.bat" %*
5 changes: 5 additions & 0 deletions bin/dotd.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@echo off

for %%f in ("%~dp0..") do set _ROOT_DIR=%%~sf

call %_ROOT_DIR%\bin\common.bat "%_ROOT_DIR%\dist-bootstrapped\target\pack\bin\dotd.bat" %*
5 changes: 5 additions & 0 deletions bin/dotr.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@echo off

for %%f in ("%~dp0..") do set _ROOT_DIR=%%~sf

call %_ROOT_DIR%\bin\common.bat "%_ROOT_DIR%\dist-bootstrapped\target\pack\bin\dotr.bat" %*
59 changes: 59 additions & 0 deletions dist/bin/common.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
rem ##########################################################################
rem ## Code common to dotc.bat, dotd.bat and dotr.bat

if defined JAVACMD (
set _JAVACMD=%JAVACMD%
) else if defined JAVA_HOME (
set _JAVACMD=%JAVA_HOME%\bin\java.exe
) else if defined JDK_HOME (
set _JAVACMD=%JDK_HOME%\bin\java.exe
) else (
where /q java.exe
if !ERRORLEVEL!==0 (
for /f "delims=" %%i in ('where /f java.exe') do set _JAVA_BIN_DIR=%%~dpsi
rem we ignore Oracle path for java executable
if "!_JAVA_BIN_DIR!"=="!_JAVA_BIN_DIR:javapath=!" set _JAVACMD=!_JAVA_BIN_DIR!\java.exe
)
if not defined _JAVACMD (
set _PATH=C:\Progra~1\Java
for /f %%f in ('dir /ad /b "!_PATH!\jre*" 2^>NUL') do set _JAVA_HOME=!_PATH!\%%f
if not defined _JAVA_HOME (
set _PATH=C:\opt
for /f %%f in ('dir /ad /b "!_PATH!\jdk*" 2^>NUL') do set _JAVA_HOME=!_PATH!\%%f\jre
)
if defined _JAVA_HOME (
set _JAVACMD=!_JAVA_HOME!\bin\java.exe
)
)
)
if not exist "%_JAVACMD%" (
echo Error: Java executable not found ^(%_JAVACMD%^) 1>&2
set _EXITCODE=1
goto :eof
)

if defined DOTTY_HOME (
set _LIB_DIR=%DOTTY_HOME%\lib
) else (
if not defined _PROG_HOME (
for %%f in ("%~dp0..") do set _PROG_HOME=%%~sf
)
set _LIB_DIR=!_PROG_HOME!\lib
)

set _PSEP=;

for /f %%f in ('dir /a-d /b "%_LIB_DIR%\*dotty-compiler*"') do set _DOTTY_COMP=%_LIB_DIR%\%%f
for /f %%f in ('dir /a-d /b "%_LIB_DIR%\*dotty-interfaces*"') do set _DOTTY_INTF=%_LIB_DIR%\%%f
for /f %%f in ('dir /a-d /b "%_LIB_DIR%\*dotty-library*"') do set _DOTTY_LIB=%_LIB_DIR%\%%f
for /f %%f in ('dir /a-d /b "%_LIB_DIR%\*scala-asm*"') do set _SCALA_ASM=%_LIB_DIR%\%%f
for /f %%f in ('dir /a-d /b "%_LIB_DIR%\*scala-library*"') do set _SCALA_LIB=%_LIB_DIR%\%%f
for /f %%f in ('dir /a-d /b "%_LIB_DIR%\*scala-xml*"') do set _SCALA_XML=%_LIB_DIR%\%%f
for /f %%f in ('dir /a-d /b "%_LIB_DIR%\*compiler-interface*"') do set _SBT_INTF=%_LIB_DIR%\%%f
for /f %%f in ('dir /a-d /b "%_LIB_DIR%\*jline-reader-3*"') do set _JLINE_READER=%_LIB_DIR%\%%f
for /f %%f in ('dir /a-d /b "%_LIB_DIR%\*jline-terminal-3*"') do set _JLINE_TERMINAL=%_LIB_DIR%\%%f
for /f %%f in ('dir /a-d /b "%_LIB_DIR%\*jline-terminal-jna-3*"') do set _JLINE_TERMINAL_JNA=%_LIB_DIR%\%%f
for /f %%f in ('dir /a-d /b "%_LIB_DIR%\*jna-4*"') do set _JNA=%_LIB_DIR%\%%f

rem debug
set _DEBUG_STR=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
152 changes: 152 additions & 0 deletions dist/bin/dotc.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
@echo off
setlocal enabledelayedexpansion

rem ##########################################################################
rem ## Environment setup

set _EXITCODE=0

set _BASENAME=%~n0

for %%f in ("%~dp0..") do set _PROG_HOME=%%~sf

call %_PROG_HOME%\bin\common.bat
if not %_EXITCODE%==0 goto end

set _COMPILER_MAIN=dotty.tools.dotc.Main
set _DECOMPILER_MAIN=dotty.tools.dotc.decompiler.Main
set _REPL_MAIN=dotty.tools.repl.Main

set _PROG_NAME=%_COMPILER_MAIN%

call :args %*

rem ##########################################################################
rem ## Main

call :classpathArgs

if defined JAVA_OPTS ( set _JAVA_OPTS=%JAVA_OPTS%
) else ( set _JAVA_OPTS=-Xmx768m -Xms768m
)
"%_JAVACMD%" %_JAVA_OPTS% %_JAVA_DEBUG% %_JAVA_ARGS% %_JVM_CP_ARGS% ^
-Dscala.usejavacp=true ^
%_PROG_NAME% %_SCALA_ARGS% %_RESIDUAL_ARGS%
if not %ERRORLEVEL%==0 (
rem echo Error: Dotty compiler execution failed 1>&2
set _EXITCODE=1
goto end
)
goto end

rem ##########################################################################
rem ## Subroutines

:args
set _JAVA_DEBUG=
set _HELP=
set _VERBOSE=
set _QUIET=
set _COLORS=
set _SCALA_ARGS=
set _JAVA_ARGS=
set _RESIDUAL_ARGS=

:args_loop
if "%~1"=="" goto args_done
set __ARG=%~1
if "%__ARG%"=="--" (
rem for arg; do addResidual "$arg"; done; set -- ;;
) else if /i "%__ARG%"=="-h" (
set _HELP=true
call :addScala "-help"
) else if /i "%__ARG%"=="-help" (
set _HELP=true
call :addScala "-help"
) else if /i "%__ARG%"=="-v" (
set _VERBOSE=true
call :addScala "-verbose"
) else if /i "%__ARG%"=="-verbose" (
set _VERBOSE=true
call :addScala "-verbose"
) else if /i "%__ARG%"=="-debug" ( set _JAVA_DEBUG=%_DEBUG_STR%
) else if /i "%__ARG%"=="-q" ( set _QUIET=true
) else if /i "%__ARG%"=="-quiet" ( set _QUIET=true
rem Optimize for short-running applications, see https://github.com/lampepfl/dotty/issues/222
) else if "%__ARG%"=="-=short" (
call :addJava "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
) else if /i "%__ARG%"=="-repl" ( set _PROG_NAME=%_REPL_MAIN%
) else if /i "%__ARG%"=="-compile" ( set _PROG_NAME=%_COMPILER_MAIN%
) else if /i "%__ARG%"=="-decompile" ( set _PROG_NAME=%_DECOMPILER_MAIN%
) else if /i "%__ARG%"=="print-tasty" (
set _PROG_NAME=%_DECOMPILER_MAIN%
call :addScala "-print-tasty"
) else if /i "%__ARG%"=="-run" ( set _PROG_NAME=%_REPL_MAIN%
) else if /i "%__ARG%"=="-colors" ( set _COLORS=true
) else if /i "%__ARG%"=="-no-colors" ( set _COLORS=
) else if /i "%__ARG%"=="-with-compiler" ( set _JVM_CP_ARGS=%_PSEP%%_DOTTY_COMP%
rem break out -D and -J options and add them to JAVA_OPTS as well
rem so they reach the JVM in time to do some good. The -D options
rem will be available as system properties.
) else if "%__ARG:~0,2%"=="-D" (
call :addJava "%__ARG%"
call :addScala "%__ARG%"
) else if "%__ARG:~0,2%"=="-J" (
call :addJava "%__ARG:~2%"
call :addScala "%__ARG%"
) else (
call :addResidual "%__ARG%"
)
shift
goto args_loop
:args_done
goto :eof

rem output parameter: _SCALA_ARGS
:addScala
set _SCALA_ARGS=%_SCALA_ARGS% %~1
goto :eof

rem output parameter: _JAVA_ARGS
:addJava
set _JAVA_ARGS=%_JAVA_ARGS% %~1
goto :eof

rem output parameter: _RESIDUAL_ARGS
:addResidual
set _RESIDUAL_ARGS=%_RESIDUAL_ARGS% %~1
goto :eof

rem output parameter: _JVM_CP_ARGS
:classpathArgs
rem echo dotty-compiler: %_DOTTY_COMP%
rem echo dotty-interface: %_DOTTY_INTF%
rem echo dotty-library: %_DOTTY_LIB%
rem echo scala-asm: %_SCALA_ASM%
rem echo scala-lib: %_SCALA_LIB%
rem echo scala-xml: %_SCALA_XML%
rem echo sbt-intface: %_SBT_INTF%

set __TOOLCHAIN=%_SCALA_LIB%%_PSEP%
set __TOOLCHAIN=%__TOOLCHAIN%%_SCALA_ASM%%_PSEP%
set __TOOLCHAIN=%__TOOLCHAIN%%_SBT_INTF%%_PSEP%
set __TOOLCHAIN=%__TOOLCHAIN%%_DOTTY_INTF%%_PSEP%
set __TOOLCHAIN=%__TOOLCHAIN%%_DOTTY_LIB%%_PSEP%
set __TOOLCHAIN=%__TOOLCHAIN%%_DOTTY_COMP%%_PSEP%

rem # jline
set __TOOLCHAIN=%__TOOLCHAIN%%_JLINE_READER%%_PSEP%
set __TOOLCHAIN=%__TOOLCHAIN%%_JLINE_TERMINAL%%_PSEP%
set __TOOLCHAIN=%__TOOLCHAIN%%_JLINE_TERMINAL_JNA%%_PSEP%
set __TOOLCHAIN=%__TOOLCHAIN%%_JNA%

set _JVM_CP_ARGS=-classpath %__TOOLCHAIN%
goto :eof

rem ##########################################################################
rem ## Cleanups

:end
exit /b %_EXITCODE%
endlocal

Loading