Changeset 35779 in osm for applications/editors/josm/plugins/MicrosoftStreetside/gradlew.bat
- Timestamp:
- 2021-07-15T01:07:58+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/MicrosoftStreetside/gradlew.bat
r34317 r35779 1 @rem 2 @rem Copyright 2015 the original author or authors. 3 @rem 4 @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 @rem you may not use this file except in compliance with the License. 6 @rem You may obtain a copy of the License at 7 @rem 8 @rem https://www.apache.org/licenses/LICENSE-2.0 9 @rem 10 @rem Unless required by applicable law or agreed to in writing, software 11 @rem distributed under the License is distributed on an "AS IS" BASIS, 12 @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 @rem See the License for the specific language governing permissions and 14 @rem limitations under the License. 15 @rem 16 1 17 @if "%DEBUG%" == "" @echo off 2 18 @rem ########################################################################## … … 14 30 set APP_HOME=%DIRNAME% 15 31 32 @rem Resolve any "." and ".." in APP_HOME to make it shorter. 33 for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 34 16 35 @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 17 set DEFAULT_JVM_OPTS= 36 set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 18 37 19 38 @rem Find java.exe … … 22 41 set JAVA_EXE=java.exe 23 42 %JAVA_EXE% -version >NUL 2>&1 24 if "%ERRORLEVEL%" == "0" goto init43 if "%ERRORLEVEL%" == "0" goto execute 25 44 26 45 echo. … … 36 55 set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 56 38 if exist "%JAVA_EXE%" goto init57 if exist "%JAVA_EXE%" goto execute 39 58 40 59 echo. … … 46 65 goto fail 47 66 48 :init49 @rem Get command-line arguments, handling Windows variants50 51 if not "%OS%" == "Windows_NT" goto win9xME_args52 53 :win9xME_args54 @rem Slurp the command line arguments.55 set CMD_LINE_ARGS=56 set _SKIP=257 58 :win9xME_args_slurp59 if "x%~1" == "x" goto execute60 61 set CMD_LINE_ARGS=%*62 63 67 :execute 64 68 @rem Setup the command line … … 66 70 set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 67 71 72 68 73 @rem Execute Gradle 69 "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain % CMD_LINE_ARGS%74 "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 70 75 71 76 :end
Note:
See TracChangeset
for help on using the changeset viewer.