Changeset 36228 in osm for applications/editors/josm/plugins/MicrosoftStreetside/gradlew.bat
- Timestamp:
- 2024-03-14T16:34:12+01:00 (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/MicrosoftStreetside/gradlew.bat
r35779 r36228 15 15 @rem 16 16 17 @if "%DEBUG%" =="" @echo off17 @if "%DEBUG%"=="" @echo off 18 18 @rem ########################################################################## 19 19 @rem … … 26 26 27 27 set DIRNAME=%~dp0 28 if "%DIRNAME%" == "" set DIRNAME=. 28 if "%DIRNAME%"=="" set DIRNAME=. 29 @rem This is normally unused 29 30 set APP_BASE_NAME=%~n0 30 31 set APP_HOME=%DIRNAME% … … 41 42 set JAVA_EXE=java.exe 42 43 %JAVA_EXE% -version >NUL 2>&1 43 if "%ERRORLEVEL%" == "0"goto execute44 if %ERRORLEVEL% equ 0 goto execute 44 45 45 echo. 46 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 47 echo. 48 echo Please set the JAVA_HOME variable in your environment to match the 49 echo location of your Java installation. 46 echo. 1>&2 47 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 48 echo. 1>&2 49 echo Please set the JAVA_HOME variable in your environment to match the 1>&2 50 echo location of your Java installation. 1>&2 50 51 51 52 goto fail … … 57 58 if exist "%JAVA_EXE%" goto execute 58 59 59 echo. 60 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 61 echo. 62 echo Please set the JAVA_HOME variable in your environment to match the 63 echo location of your Java installation. 60 echo. 1>&2 61 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 62 echo. 1>&2 63 echo Please set the JAVA_HOME variable in your environment to match the 1>&2 64 echo location of your Java installation. 1>&2 64 65 65 66 goto fail … … 76 77 :end 77 78 @rem End local scope for the variables with windows NT shell 78 if "%ERRORLEVEL%"=="0"goto mainEnd79 if %ERRORLEVEL% equ 0 goto mainEnd 79 80 80 81 :fail 81 82 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 82 83 rem the _cmd.exe /c_ return code! 83 if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 84 exit /b 1 84 set EXIT_CODE=%ERRORLEVEL% 85 if %EXIT_CODE% equ 0 set EXIT_CODE=1 86 if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% 87 exit /b %EXIT_CODE% 85 88 86 89 :mainEnd
Note:
See TracChangeset
for help on using the changeset viewer.