Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for appHomeRelativePath (0.3 sec)

  1. platforms/jvm/plugins-application/src/main/java/org/gradle/api/internal/plugins/StartScriptTemplateBindingFactory.java

            if (depth == 0) {
                return "";
            }
    
            List<String> appHomeRelativePath = new ArrayList<String>(depth);
            for (int i = 0; i < depth; i++) {
                appHomeRelativePath.add("..");
            }
    
            return Joiner.on(windows ? "\\" : "/").join(appHomeRelativePath);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-application/src/main/java/org/gradle/api/tasks/application/CreateStartScripts.java

     * <li>{@code exitEnvironmentVar}</li>
     * <li>{@code mainModule}</li>
     * <li>{@code mainClass}</li>
     * <li>{@code defaultJvmOpts}</li>
     * <li>{@code appNameSystemProperty}</li>
     * <li>{@code appHomeRelativePath}</li>
     * <li>{@code classpath}</li>
     * </ul>
     * <p>
     * Example:
     * <pre>
     * task createStartScripts(type: CreateStartScripts) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/windowsStartScript.txt

    if "%OS%"=="Windows_NT" setlocal
    
    set DIRNAME=%~dp0
    if "%DIRNAME%"=="" set DIRNAME=.\
    
    @rem This is normally unused
    set APP_BASE_NAME=%~n0
    set APP_HOME=%DIRNAME%${appHomeRelativePath}
    
    @rem Resolve any "." and ".." in APP_HOME to make it shorter.
    for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 13:16:41 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

    # This is normally unused
    # shellcheck disable=SC2034
    APP_BASE_NAME=\${0##*/}
    # Discard cd standard output in case \$CDPATH is set (https://github.com/gradle/gradle/issues/25036)
    APP_HOME=\$( cd -P "\${APP_HOME:-./}${appHomeRelativePath}" > /dev/null && printf '%s\n' "\$PWD" ) || exit
    
    # Use the maximum available, or set MAX_FD != -1 to use that value.
    MAX_FD=maximum
    
    warn () {
        echo "\$*"
    } >&2
    
    die () {
        echo
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 13:43:33 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-application/src/main/java/org/gradle/jvm/application/tasks/CreateStartScripts.java

     * <li>{@code mainModule}</li>
     * <li>{@code mainClass}</li>
     * <li>{@code executableDir}</li>
     * <li>{@code defaultJvmOpts}</li>
     * <li>{@code appNameSystemProperty}</li>
     * <li>{@code appHomeRelativePath}</li>
     * <li>{@code classpath}</li>
     * </ul>
     * <p>
     * Example:
     * <pre>
     * task createStartScripts(type: CreateStartScripts) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top