Sun, 06 Oct 2024 18:25:16 +0200
fix "more" checkbox not staying checked (for real now) - fixes #417
147
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
1 | @rem |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
2 | @rem Copyright 2015 the original author or authors. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
3 | @rem |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
5 | @rem you may not use this file except in compliance with the License. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
6 | @rem You may obtain a copy of the License at |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
7 | @rem |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
8 | @rem https://www.apache.org/licenses/LICENSE-2.0 |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
9 | @rem |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
10 | @rem Unless required by applicable law or agreed to in writing, software |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
11 | @rem distributed under the License is distributed on an "AS IS" BASIS, |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
13 | @rem See the License for the specific language governing permissions and |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
14 | @rem limitations under the License. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
15 | @rem |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
16 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
17 | @if "%DEBUG%" == "" @echo off |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
18 | @rem ########################################################################## |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
19 | @rem |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
20 | @rem Gradle startup script for Windows |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
21 | @rem |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
22 | @rem ########################################################################## |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
23 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
24 | @rem Set local scope for the variables with windows NT shell |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
25 | if "%OS%"=="Windows_NT" setlocal |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
26 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
27 | set DIRNAME=%~dp0 |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
28 | if "%DIRNAME%" == "" set DIRNAME=. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
29 | set APP_BASE_NAME=%~n0 |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
30 | set APP_HOME=%DIRNAME% |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
31 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
34 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
37 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
38 | @rem Find java.exe |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
39 | if defined JAVA_HOME goto findJavaFromJavaHome |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
40 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
41 | set JAVA_EXE=java.exe |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
42 | %JAVA_EXE% -version >NUL 2>&1 |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
43 | if "%ERRORLEVEL%" == "0" goto init |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
44 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
45 | echo. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
47 | echo. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
48 | echo Please set the JAVA_HOME variable in your environment to match the |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
49 | echo location of your Java installation. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
50 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
51 | goto fail |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
52 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
53 | :findJavaFromJavaHome |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
54 | set JAVA_HOME=%JAVA_HOME:"=% |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
56 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
57 | if exist "%JAVA_EXE%" goto init |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
58 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
59 | echo. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
61 | echo. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
62 | echo Please set the JAVA_HOME variable in your environment to match the |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
63 | echo location of your Java installation. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
64 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
65 | goto fail |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
66 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
67 | :init |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
68 | @rem Get command-line arguments, handling Windows variants |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
69 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
70 | if not "%OS%" == "Windows_NT" goto win9xME_args |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
71 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
72 | :win9xME_args |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
73 | @rem Slurp the command line arguments. |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
74 | set CMD_LINE_ARGS= |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
75 | set _SKIP=2 |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
76 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
77 | :win9xME_args_slurp |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
78 | if "x%~1" == "x" goto execute |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
79 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
80 | set CMD_LINE_ARGS=%* |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
81 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
82 | :execute |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
83 | @rem Setup the command line |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
84 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
85 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
86 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
87 | @rem Execute Gradle |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
88 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
89 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
90 | :end |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
91 | @rem End local scope for the variables with windows NT shell |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
92 | if "%ERRORLEVEL%"=="0" goto mainEnd |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
93 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
94 | :fail |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
95 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
96 | rem the _cmd.exe /c_ return code! |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
97 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
98 | exit /b 1 |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
99 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
100 | :mainEnd |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
101 | if "%OS%"=="Windows_NT" endlocal |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
102 | |
dfec8c5f8db0
migrates from maven to gradle (prepares kotlin migration)
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
103 | :omega |