Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for GetCommandLine (0.19 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy

         * The list also contains an absolute path to the script (which may contain spaces).
         *
         * @return the list of command line elements to start this script.
         */
        abstract List<String> getCommandLine();
    
        /**
         * Returns a command line elements that can be used to start this script.
         * The resulting list can be used as an argument for the {@link ProcessBuilder} or Groovy's {@code execute} method.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/DelegatingBaseExecSpec.java

            return this;
        }
    
        @Override
        default OutputStream getErrorOutput() {
            return getDelegate().getErrorOutput();
        }
    
        @Override
        default List<String> getCommandLine() {
            return getDelegate().getCommandLine();
        }
    
        @Override
        default String getExecutable() {
            return getDelegate().getExecutable();
        }
    
        @Override
        default void setExecutable(String executable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/ProcessOutputValueSource.java

             * executable name. This is a mandatory property.
             *
             * @return the command line property
             */
            ListProperty<String> getCommandLine();
    
            // The ExecSpec's environment can be configured in two ways. First is to append some
            // variables to the current environment. We don't want to freeze the whole environment as an
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecSpec.java

            }
            if (source.getErrorOutput() != null) {
                target.setErrorOutput(source.getErrorOutput());
            }
        }
    
        @Override
        public List<String> getCommandLine() {
            return argumentsSpec.getCommandLine();
        }
    
        @Override
        public ExecSpec commandLine(Object... arguments) {
            argumentsSpec.commandLine(arguments);
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 06 16:16:31 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/ProviderCompatibleBaseExecSpec.java

            return DelegatingBaseExecSpec.super.copyTo(options);
        }
    
        public void copyToParameters(ProcessOutputValueSource.Parameters parameters) {
            parameters.getCommandLine().set(getCommandLine());
            parameters.getFullEnvironment().set(fullEnvironment);
            parameters.getAdditionalEnvironmentVariables().set(additionalEnvVars.isEmpty() ? null : additionalEnvVars);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/DefaultJavaExecSpec.java

            // BaseExecSpec
            copyBaseExecSpecTo(this, targetSpec);
            // Java fork options
            super.copyTo(targetSpec);
        }
    
        @Override
        public List<String> getCommandLine() {
            return argumentsSpec.getCommandLine();
        }
    
        @Override
        public JavaExecSpec args(Object... args) {
            argumentsSpec.args(args);
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 27 09:47:37 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/javadoc/internal/JavadocGenerator.java

            }
    
            try {
                execAction.execute();
            } catch (ExecException e) {
                LOG.info("Problems generating Javadoc."
                        + "\n  Command line issued: " + execAction.getCommandLine()
                        + "\n  Generated Javadoc options file has following contents:\n------\n{}------", GFileUtils.readFileQuietly(spec.getOptionsFile()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/ExecSpecFactory.java

    import org.gradle.process.JavaExecSpec;
    
    /**
     * The factory to build appropriate ExecSpec and JavaExecSpec instances. The returned
     * instances, especially JavaExecSpec, must conform to the {@link BaseExecSpec#getCommandLine()} contract.
     *
     * These instances will not be exposed to the user code directly, so there is no need of decoration.
     */
    @ServiceScope(Scope.Build.class)
    public interface ExecSpecFactory {
        ExecSpec newExecSpec();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/process/internal/ProcessArgumentsSpec.java

        public ProcessArgumentsSpec(HasExecutable hasExecutable) {
            this.hasExecutable = hasExecutable;
        }
    
        public List<String> getCommandLine() {
            List<String> commandLine = new ArrayList<>();
            commandLine.add(hasExecutable.getExecutable());
            commandLine.addAll(getAllArguments());
            return commandLine;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/tasks/AbstractExecTask.java

            return execSpec.getArgumentProviders();
        }
    
        /**
         * {@inheritDoc}
         */
        @Internal
        @Override
        public List<String> getCommandLine() {
            return execSpec.getCommandLine();
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public void setCommandLine(List<String> args) {
            execSpec.setCommandLine(args);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 08 18:31:36 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top