Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 261 for problem (0.13 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncompatibleTasksIntegrationTest.groovy

        }
    
        def "incompatible task problems are not subtracted from max-problems"() {
            given:
            addTasksWithProblems()
    
            when:
            configurationCacheRun "declared", "$MAX_PROBLEMS_SYS_PROP=1"
    
            then:
            result.assertTasksExecuted(":declared")
            assertStateStoredAndDiscardedForDeclaredTask(9)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiInvocationValidationIntegrationTest.groovy

            fixture.assertStateStoredAndDiscarded {
                projectConfigured(":buildSrc")
                modelsCreated(":")
                problem("Plugin class 'my.MyPlugin': Project ':' cannot access 'Project.extensions' functionality on subprojects", 2)
            }
        }
    
        def "reports configuration cache problems in build script when fetching custom tooling model"() {
            given:
            withSomeToolingModelBuilderPluginInBuildSrc()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/KnownProblemIds.groovy

     */
    
    package org.gradle.integtests.fixtures.problems
    
    class KnownProblemIds {
    
        static void assertIsKnown(ReceivedProblem problem) {
            assert problem != null
            def definition = problem.definition
            def knownDefinition = KNOWN_DEFINITIONS[problem.definition.id.fqid]
            assert knownDefinition != null : "Unknown problem id: ${definition.id.fqid}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DynamicCallProblemReporting.kt

    package org.gradle.internal.cc.impl
    
    import java.util.Stack
    
    
    /**
     * A tool for checking if a specific problem has already been reported in the current dynamic call in the dynamic calls stack.
     * A problem is identified using a key object.
     * The implementation should be thread-safe and should support tracking problems in multiple threads, each with its own call stack.
     */
    interface DynamicCallProblemReporting {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

            fixture.assertStateStoredAndDiscarded {
                projectsConfigured(":", ":a", ":b")
                problem("Build file 'build.gradle': line 3: Project ':' cannot access 'Project.plugins' functionality on $message", 2)
                problem("Build file 'build.gradle': line 4: Project ':' cannot access 'java' extension on $message", 2)
                problem("Build file 'build.gradle': line 5: Project ':' cannot access 'java' extension on $message", 2)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy

         *
         * @throws AssertionError if the problem does not look like how we expect it to look like
         */
        void assertProblem(
            ReceivedProblem problem,
            String severity,
            boolean expectPreciseLocation = true
        ) {
            // TODO (donat) we can probably delete some of this method
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:15:29 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/DefaultProblemBuilder.java

        public DefaultProblemBuilder(Problem problem) {
            this.id = problem.getDefinition().getId();
            this.contextualLabel = problem.getContextualLabel();
            this.solutions = new ArrayList<String>(problem.getSolutions());
            this.severity = problem.getDefinition().getSeverity();
    
            locations.addAll(problem.getLocations());
    
            this.details = problem.getDetails();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                        return new MappedCollection<>(res.getProblems(), this::toProblem);
                    }
    
                    private BuilderProblem toProblem(ModelProblem problem) {
                        return new BuilderProblem() {
                            @Override
                            public String getSource() {
                                return problem.getSource();
                            }
    
                            @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            }
            if (problem.details != null) {
                println "    details == '${problem.details.replaceAll("'", "\\\\'")}'"
            }
            if (problem.solutions.size() == 1) {
                println "    solutions == [ '${problem.solutions[0].replaceAll("'", "\\\\'")}' ]"
            } else if (problem.solutions.size() > 1) {
                println "    solutions == ["
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    - component not found
    
    Plugins:
    - plugin metadata missing
    - plugin metadata retrieval problem
    - plugin artifact missing
    - plugin artifact retrieval problem
    - plugin dependency metadata missing
    - plugin dependency metadata retrieval problem
    - plugin configuration problem
    - plugin execution failure due to something that is know to possibly go wrong (like compilation failure)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 10:31:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top