Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for GetCommandLine (0.29 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java

            this.classWorld = classWorld;
            this.request = new DefaultMavenExecutionRequest();
        }
    
        public String[] getArgs() {
            return args;
        }
    
        public CommandLine getCommandLine() {
            return commandLine;
        }
    
        public ClassWorld getClassWorld() {
            return classWorld;
        }
    
        public String getWorkingDirectory() {
            return workingDirectory;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 10:32:14 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProcessOutputValueSourceTest.groovy

                    withDefaultEnvironment(it)
                }
            }.get()
    
            then:
            1 * execOperations.exec(_) >> { Action<? super ExecSpec> action -> action.execute(spec) }
            spec.getCommandLine() == ["echo", "hello"]
            spec.environment == System.getenv()
        }
    
        def "full environment is propagated to execOperations"() {
            given:
            def spec = specFactory.newExecAction()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top