Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 284 for connections (0.37 sec)

  1. platforms/core-runtime/gradle-cli-main/src/main/java/org/gradle/internal/jvm/GradleVersionNumberLoader.java

            }
            try {
                InputStream inputStream = null;
                try {
                    URLConnection connection = resource.openConnection();
                    connection.setUseCaches(false);
                    inputStream = connection.getInputStream();
                    Properties properties = new Properties();
                    properties.load(inputStream);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r34/ToolingApiIdeaModelCrossVersionSpec.groovy

                        module {
                            jdkName = 'MyJDK3'
                        }
                    }
                }
    
            """
    
            when:
            def ideaProject = withConnection { connection -> connection.getModel(IdeaProject) }
    
            then:
            ideaProject.modules.find { it.name == 'root' }.jdkName == 'MyJDK1'
            ideaProject.modules.find { it.name == 'child1' }.jdkName == 'MyJDK2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemProgressEventCrossVersionTest.groovy

                }
    
                tasks.register("reportProblem", ProblemReportingTask)
            """
        }
    
        def runTask() {
            def listener = new ProblemProgressListener()
            withConnection { connection ->
                connection.newBuild().forTasks('reportProblem')
                    .addProgressListener(listener)
                    .run()
            }
            return listener.problems.collect { it.descriptor }
        }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 11:36:58 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r87/ProblemProgressEventCrossVersionTest.groovy

            //  issue https://github.com/gradle/gradle/issues/27484
        }
    
        def runTask() {
            def listener = new ProblemProgressListener()
            withConnection { connection ->
                connection.newBuild().forTasks('reportProblem')
                    .addProgressListener(listener)
                    .run()
            }
            return listener.problems
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 11:36:58 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerProcessContext.java

        /**
         * Returns a display name for this worker process.
         */
        String getDisplayName();
    
        /**
         * Returns the connection which can be used to send/receive messages to/from the server process. Call {@link ObjectConnection#connect()} to complete the connection.
         */
        ObjectConnection getServerConnection();
    
        ClassLoader getApplicationClassLoader();
    
        ServiceRegistry getServiceRegistry();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildEnvironmentCrossVersionSpec.groovy

                    }
                }"""
    
            when:
            ByteArrayOutputStream out = new ByteArrayOutputStream()
            withConnection { ProjectConnection connection ->
                connection.newBuild().setEnvironmentVariables(["var": "val"]).setStandardOutput(out).forTasks('printEnv').run()
            }
    
            then:
            out.toString().contains("<${["var": "val"]}>")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/CrossVersionToolingApiSpecificationRetryTest.groovy

            throwWhen(new IOException("Could not dispatch a message to the daemon.", new IOException("An existing connection was forcibly closed by the remote host")), iteration == 1)
    
            then:
            IOException ioe = thrown()
            ioe.cause?.message == "An existing connection was forcibly closed by the remote host"
        }
    
        @Requires([
            UnitTestPreconditions.Windows,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/ToolingApiIdeaModelCrossVersionSpec.groovy

            ${implementationConfiguration} project(':api')
        }
    }
    """
            file('settings.gradle').text = "include 'api', 'impl'"
    
            when:
            IdeaProject project = withConnection { connection -> connection.getModel(IdeaProject.class) }
            def module = project.children.find { it.name == 'impl' }
    
            then:
            def libs = module.dependencies
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/results/DefaultVisitedGraphResultsTest.groovy

            def results1 = new DefaultVisitedGraphResults(resolutionResult, Collections.emptySet(), null)
            def results2 = new DefaultVisitedGraphResults(resolutionResult, Collections.singleton(unresolved), null)
            def results3 = new DefaultVisitedGraphResults(resolutionResult, Collections.emptySet(), resolveEx)
            def results4 = new DefaultVisitedGraphResults(resolutionResult, Collections.singleton(unresolved), resolveEx)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildBuildActionExecuterCrossVersionSpec.groovy

                    doLast {
                        println 'do something'
                    }
                }
            """
    
            when:
            toolingApi.withConnection { ProjectConnection connection ->
                def buildAction = connection.action(new LoadCompositeModel(GradleProject))
                collectOutputs(buildAction)
                buildAction.forTasks([':other-build:sub:doSomething'])
                buildAction.run()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top