Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 69 of 69 for setStandardOutput (0.37 sec)

  1. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy

            def result = loadToolingLeanModel(modelClass, configurator)
            validateOutput()
            result
        }
    
        void collectOutputs(LongRunningOperation op) {
            op.setStandardOutput(new TeeOutputStream(stdout, System.out))
            op.setStandardError(new TeeOutputStream(stderr, System.err))
        }
    
        def validateOutput() {
            def assertion = new ResultAssertion(0, [], false, true, true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:23 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/ToolingApiGradleExecutor.java

                    checkDeprecationWarning(targetGradleVersion);
                }
    
    
                DefaultBuildLauncher launcher = (DefaultBuildLauncher) connection.newBuild();
    
                launcher.setStandardOutput(new NoCloseOutputStream(teeOutput(syncOutput, parameters.getStandardOutput())));
                launcher.setStandardError(new NoCloseOutputStream(teeOutput(syncOutput, parameters.getStandardError())));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 14:27:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/ProjectConnection.java

     *    BuildEnvironment environment = connection.model(BuildEnvironment.class).get();
     *
     *    //run some tasks
     *    connection.newBuild()
     *      .forTasks("tasks")
     *      .setStandardOutput(System.out)
     *      .run();
     *
     * }
     * </pre>
     *
     * <h3>Thread safety information</h3>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            this.commandOutputEncoding = commandOutputEncoding;
        }
    
        public void setMaxOutputLine(final int maxOutputLine) {
            this.maxOutputLine = maxOutputLine;
        }
    
        public void setStandardOutput(final boolean standardOutput) {
            this.standardOutput = standardOutput;
        }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/ProjectConfigurationChildrenProgressCrossVersionSpec.groovy

            when:
            def events = ProgressEvents.create()
            withConnection {
                ProjectConnection connection ->
                    connection.newBuild()
                        .setStandardOutput(System.out)
                        .forTasks('runInProcess', 'runForked')
                        .addProgressListener(events)
                        .run()
            }
    
            then:
            events.assertIsABuild()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 14 00:59:27 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProvider.java

            execAction.commandLine(cygpathExe.getAbsolutePath(), "-w", cygwinPath);
            StreamByteBuffer buffer = new StreamByteBuffer();
            StreamByteBuffer errorBuffer = new StreamByteBuffer();
            execAction.setStandardOutput(buffer.getOutputStream());
            execAction.setErrorOutput(errorBuffer.getOutputStream());
            execAction.execute().assertNormalExitValue();
            return buffer.readAsString().trim();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 06:39:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/LongRunningOperation.java

         * @param outputStream The output stream. The system default character encoding will be used to encode characters written to this stream.
         * @return this
         * @since 1.0-milestone-7
         */
        LongRunningOperation setStandardOutput(OutputStream outputStream);
    
        /**
         * Sets the {@link OutputStream} which should receive standard error logging generated while running the operation.
         * The default is to discard the output.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 14K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                        connection.newBuild().forTasks('build')
                            .withArguments("--continue")
                            .addProgressListener(events)
                            .setStandardOutput(System.out)
                            .setStandardError(System.err)
                            .run()
                }
            } catch (BuildException e) {
            }
        }
    
        def testCode() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetectorTest.groovy

            }
    
            def execHandleFactory = Mock(ExecHandleFactory)
            def exec = Mock(ExecHandleBuilder)
            execHandleFactory.newExec() >> exec
            PrintStream output
            exec.setStandardOutput(_ as OutputStream) >> { OutputStream outputStream ->
                output = new PrintStream(outputStream)
                null
            }
            def handle = Mock(ExecHandle)
            handle.start() >> handle
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 22.9K bytes
    - Viewed (0)
Back to top