Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for setStandardOutput (1.74 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r87/ProblemProgressEventCrossVersionTest.groovy

            withConnection { connection ->
                connection.newBuild()
                    .forTasks(":ba")
                    .addProgressListener(listener)
                    .setStandardError(System.err)
                    .setStandardOutput(System.out)
                    .addArguments("--info")
                    .run()
            }
    
            then:
            thrown(BuildException)
            listener.problems.size() == 2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 11:36:58 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemProgressEventCrossVersionTest.groovy

            withConnection { connection ->
                connection.newBuild()
                    .forTasks(":ba")
                    .addProgressListener(listener)
                    .setStandardError(System.err)
                    .setStandardOutput(System.out)
                    .addArguments("--info")
                    .run()
            }
    
            then:
            thrown(BuildException)
            listener.problems.isEmpty()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 11:36:58 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r50/ArgumentPassingCrossVersionTest.groovy

            ByteArrayOutputStream output = new ByteArrayOutputStream()
            withConnection {
                BuildLauncher launcher = it.newBuild().setStandardOutput(output)
                config(launcher)
                launcher.run()
            }
            return output.toString()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetector.java

                String mainClassname = Files.getNameWithoutExtension(probe.getName());
                exec.args("-Xmx32m", "-Xms32m", "-cp", ".", mainClassname);
                exec.setStandardOutput(out);
                exec.setErrorOutput(errorOutput);
                exec.setIgnoreExitValue(true);
                ExecResult result = exec.build().start().waitForFinish();
                int exitValue = result.getExitValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 02:32:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top