Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for appNameSystemProperty (0.22 sec)

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

        private final String appNameSystemProperty;
    
        public DefaultJavaAppStartScriptGenerationDetails(String applicationName, String optsEnvironmentVar, String exitEnvironmentVar, String mainClassName,
                                                          List<String> defaultJvmOpts, List<String> classpath, List<String> modulePath, String scriptRelPath, @Nullable String appNameSystemProperty) {
            this.applicationName = applicationName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-application/src/main/java/org/gradle/api/internal/plugins/StartScriptGenerator.java

        }
    
        public void setScriptRelPath(String scriptRelPath) {
            this.scriptRelPath = scriptRelPath;
        }
    
        public void setAppNameSystemProperty(String appNameSystemProperty) {
            this.appNameSystemProperty = appNameSystemProperty;
        }
    
        public StartScriptGenerator() {
            this(new UnixStartScriptGenerator(), new WindowsStartScriptGenerator());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/windowsStartScript.txt

    <% if ( mainClassName.startsWith('--module ') ) { %>set MODULE_PATH=$modulePath<% } %>
    
    @rem Execute ${applicationName}
    "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %${optsEnvironmentVar}% <% if ( appNameSystemProperty ) { %>"-D${appNameSystemProperty}=%APP_BASE_NAME%"<% } %> -classpath "%CLASSPATH%" <% if ( mainClassName.startsWith('--module ') ) { %>--module-path "%MODULE_PATH%" <% } %>${mainClassName} %*
    
    :end
    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/test/groovy/org/gradle/api/internal/plugins/StartScriptGeneratorTest.groovy

            startScriptGenerator.classpath = CLASSPATH
            startScriptGenerator.modulePath = MODULE_PATH
            startScriptGenerator.scriptRelPath = SCRIPT_REL_PATH
            startScriptGenerator.appNameSystemProperty = APP_NAME_SYS_PROP
        }
    
        private JavaAppStartScriptGenerationDetails createJavaAppStartScriptGenerationDetails() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

    #   * For example: A user cannot expect \${Hostname} to be expanded, as it is an environment variable and will be
    #     treated as '\${Hostname}' itself on the command line.
    
    set -- \\
    <% if ( appNameSystemProperty ) {
         %>        "-D${appNameSystemProperty}=\$APP_BASE_NAME" \\
    <% } %>        -classpath "\$CLASSPATH" \\
    <% if ( mainClassName.startsWith('--module ') ) {
         %>        --module-path "\$MODULE_PATH" \\
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 13:43:33 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-application/src/main/java/org/gradle/api/tasks/application/CreateStartScripts.java

     * <li>{@code optsEnvironmentVar}</li>
     * <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)
  7. platforms/jvm/plugins-application/src/main/java/org/gradle/api/internal/plugins/StartScriptTemplateBindingFactory.java

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-application/src/main/java/org/gradle/jvm/application/tasks/CreateStartScripts.java

     * <li>{@code exitEnvironmentVar}</li>
     * <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