Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for invalidating (0.63 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultPersistentDirectoryCache.java

                        LOGGER.warn("Invalidating {} as it was not closed cleanly.", DefaultPersistentDirectoryCache.this);
                    }
                    return true;
                }
    
                if (!properties.isEmpty()) {
                    if (!propertiesFile.exists()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:20:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/InvalidateVirtualFileSystemAfterChangeCrossVersionSpec.groovy

            build.waitForFinish()
            pathsInvalidated()
    
            cleanup:
            block?.releaseAll()
            build?.waitForFinish()
        }
    
        @TargetGradleVersion(">=3.0 <6.1")
        def "invalidating paths has no effect on older daemons"() {
            when:
            createIdleDaemon()
            def executedCommandCount = countExecutedCommands()
    
            then:
            executedCommandCount == 3
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ValidateStep.java

            }
    
            if (!errors.isEmpty()) {
                throwValidationException(work, validationContext, errors);
            }
    
            if (!warnings.isEmpty()) {
                LOGGER.info("Invalidating VFS because {} failed validation", work.getDisplayName());
                virtualFileSystem.invalidateAll();
            }
    
            return delegate.execute(work, new ValidationFinishedContext(context, warnings));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/WatchedDirectoriesFileSystemWatchingIntegrationTest.groovy

            // We don't remove actual usable content at the end of the build, though we remove some dangling paths.
            // This is because the project directory is underneath the unsupported file system, so after invalidating D: the project root node is removed from the VFS.
            result.assertHasPostBuildOutput("Some of the file system contents retained in the virtual file system are on file systems that Gradle doesn't support watching.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/GradleBuildExperimentRunner.java

         * back-to-back, as there is typically some work being done between the builds,</li>
         * <li>give file system events a chance to arrive; otherwise we might detect them during
         * the build, and invalidating the VFS,
         * <li>let VFS cleanup (that happens between builds) finish.</li>
         * </ul>
         */
        private static class DelayBeforeBuildMutator implements BuildMutator {
            private final long delay;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

                problemsWithStackTraceCount = 0
            }
        }
    
        def "serialization problems are reported and fail the build by default invalidating the cache"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
    
            buildFile << """
                class BrokenTaskType extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

                    null
                }
            }.getOrMapFailure { failure ->
                // This can only happen if someone ignored configuration cache problems and still stored the entry.
                // We're invalidating the cache to save the user a manual "rm -rf .gradle/configuration-cache", as there is no way out.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

            configurationCache.assertStateStored()
            outputContains("configuration value = someValue")
            outputContains("execution value = someValue")
        }
    
        def "value source changes its value invalidating the cache if its input #providerType provider changes"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            buildFile("""
            import org.gradle.api.provider.*
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            when:
            run "invalid", "--info"
            then:
            executedAndNotSkipped(":invalid")
            outputContains("Invalidating VFS because task ':invalid' failed validation")
        }
    
        @Requires(IntegTestPreconditions.IsEmbeddedExecutor)
        // this test only works in embedded mode because of the use of validation test fixtures
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

        outputFile = file('src.a.txt')
    }
    task b(type: TransformerTask, dependsOn: a) {
        inputFile = a.outputFile
        outputFile = file('src.b.txt')
    }
    // Use a separate build script to avoid invalidating task implementations
    apply from: 'changes.gradle'
    '''
            def changesFile = file('changes.gradle').createFile()
    
            TestFile inputFile = file('src.txt')
            TestFile outputFileA = file('src.a.txt')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top