Proyectos de Subversion LeadersLinked - Android

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 3
Línea -... Línea 1...
-
 
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
@rem SPDX-License-Identifier: Apache-2.0
-
 
17
@rem
-
 
18
 
1
@if "%DEBUG%" == "" @echo off
19
@if "%DEBUG%"=="" @echo off
2
@rem ##########################################################################
20
@rem ##########################################################################
3
@rem
21
@rem
4
@rem  Gradle startup script for Windows
22
@rem  Gradle startup script for Windows
5
@rem
23
@rem
6
@rem ##########################################################################
24
@rem ##########################################################################
Línea 7... Línea 25...
7
 
25
 
8
@rem Set local scope for the variables with windows NT shell
26
@rem Set local scope for the variables with windows NT shell
Línea 9... Línea 27...
9
if "%OS%"=="Windows_NT" setlocal
27
if "%OS%"=="Windows_NT" setlocal
10
 
28
 
-
 
29
set DIRNAME=%~dp0
11
set DIRNAME=%~dp0
30
if "%DIRNAME%"=="" set DIRNAME=.
12
if "%DIRNAME%" == "" set DIRNAME=.
31
@rem This is normally unused
Línea -... Línea 32...
-
 
32
set APP_BASE_NAME=%~n0
-
 
33
set APP_HOME=%DIRNAME%
-
 
34
 
13
set APP_BASE_NAME=%~n0
35
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
14
set APP_HOME=%DIRNAME%
36
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
Línea 15... Línea 37...
15
 
37
 
16
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
38
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
Línea 17... Línea 39...
17
set DEFAULT_JVM_OPTS=
39
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
18
 
40
 
19
@rem Find java.exe
41
@rem Find java.exe
Línea 20... Línea 42...
20
if defined JAVA_HOME goto findJavaFromJavaHome
42
if defined JAVA_HOME goto findJavaFromJavaHome
21
 
43
 
22
set JAVA_EXE=java.exe
44
set JAVA_EXE=java.exe
23
%JAVA_EXE% -version >NUL 2>&1
45
%JAVA_EXE% -version >NUL 2>&1
24
if "%ERRORLEVEL%" == "0" goto init
46
if %ERRORLEVEL% equ 0 goto execute
Línea 25... Línea 47...
25
 
47
 
Línea 26... Línea 48...
26
echo.
48
echo. 1>&2
27
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
49
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
28
echo.
50
echo. 1>&2
Línea 29... Línea 51...
29
echo Please set the JAVA_HOME variable in your environment to match the
51
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
Línea 30... Línea 52...
30
echo location of your Java installation.
52
echo location of your Java installation. 1>&2
31
 
53
 
32
goto fail
54
goto fail
33
 
55
 
34
:findJavaFromJavaHome
56
:findJavaFromJavaHome
Línea 35... Línea 57...
35
set JAVA_HOME=%JAVA_HOME:"=%
57
set JAVA_HOME=%JAVA_HOME:"=%
Línea 36... Línea -...
36
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
-
 
37
 
-
 
38
if exist "%JAVA_EXE%" goto init
-
 
39
 
-
 
40
echo.
-
 
41
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
-
 
42
echo.
-
 
43
echo Please set the JAVA_HOME variable in your environment to match the
-
 
44
echo location of your Java installation.
-
 
45
 
-
 
46
goto fail
-
 
47
 
-
 
48
:init
-
 
49
@rem Get command-line arguments, handling Windows variants
-
 
50
 
-
 
51
if not "%OS%" == "Windows_NT" goto win9xME_args
58
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
52
 
59
 
Línea 53... Línea 60...
53
:win9xME_args
60
if exist "%JAVA_EXE%" goto execute
Línea -... Línea 61...
-
 
61
 
54
@rem Slurp the command line arguments.
62
echo. 1>&2
55
set CMD_LINE_ARGS=
63
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
Línea 56... Línea 64...
56
set _SKIP=2
64
echo. 1>&2
57
 
65
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
58
:win9xME_args_slurp
66
echo location of your Java installation. 1>&2
Línea 59... Línea 67...
59
if "x%~1" == "x" goto execute
67
 
60
 
68
goto fail
61
set CMD_LINE_ARGS=%*
69
 
-
 
70
:execute
-
 
71
@rem Setup the command line
62
 
72
 
63
:execute
73
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
Línea 64... Línea 74...
64
@rem Setup the command line
74
 
65
 
75
 
Línea 66... Línea 76...
66
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
76
@rem Execute Gradle