Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for snapshotting (0.31 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

             * cases. If there actually is a task that needs to distinguish
             * between links and real files, we should probably provide an
             * opt-in to canonical snapshotting, as it's quite expensive.
             */
            then:
            result.assertTaskSkipped(":work")
    
            when:
            copy.text = "new content"
            run("work")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileSystemDefaultExcludesTest.groovy

            result.assertTasksSkipped(":$spec.copyTask")
    
            where:
            spec << DefaultExcludesFixture.specs()
        }
    
        def "default excludes defined in build#scriptLanguage are ignoring for snapshotting"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            def spec = new DefaultExcludesFixture.Spec(
                Collections.singletonList(new DefaultExcludesFixture.RootBuildLocation()),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

            'resources directory' | 'RESOURCES' | 'resources/main'    | 'processResources' | 'compileJava'
        }
    
        @Issue("gradle/gradle#1347")
        def "compile classpath snapshotting ignores non-relevant elements"() {
            def buildFileWithDependencies = { String... dependencies ->
                buildFile.text = """
                    apply plugin: 'java'
    
                    ${mavenCentralRepository()}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

                    outputFile = file("classes.jar")
                }
            """
    
            // This is to make sure that:
            //   - The snapshotting of the zip task finishes after the outputs have been broadcast by the compile task
            //   - The snapshotting of the zip task finishes before the snapshotting of the outputs of the compile task
            server.expectConcurrent("zipFileSnapshottingStarted", "compileAction1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStepTest.groovy

            _ * context.cachingState >> CachingState.disabledWithoutInputs(new CachingDisabledReason(CachingDisabledReasonCategory.UNKNOWN, "Unknown"))
            0 * _
        }
    
        def "fails if snapshotting outputs fail"() {
            def delegateDuration = Duration.ofMillis(123)
            def failure = new OutputSnapshotter.OutputFileSnapshottingException("output", new IOException("Error")) {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGenerator.groovy

                generateProject(subProjectDir, dependencyTree, subProjectNumber, projectDepth - 1)
            }
        }
    
        /**
         * This is just to ensure we test the overhead of having a buildSrc project, e.g. snapshotting the Gradle API.
         */
        private addDummyBuildSrcProject(File projectDir) {
            file projectDir, "buildSrc/src/main/${config.language.name}/Thing.${config.language.name}", "public class Thing {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStep.java

            long snapshotOutputDuration = timer.getElapsedMillis();
    
            // The origin execution time is recorded as “work duration” + “output snapshotting duration”,
            // As this is _roughly_ the amount of time that is avoided by reusing the outputs,
            // which is currently the _only_ thing this value is used for.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java

            Supplier<T> readFromDisk
        ) {
            return virtualFileSystem.findSnapshot(location)
                .map(snapshotProcessor)
                // Avoid snapshotting the same location at the same time
                .orElseGet(() -> producingSnapshots.guardByKey(location,
                    () -> virtualFileSystem.findSnapshot(location)
                        .map(snapshotProcessor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStep.java

     * if found correct.</li>
     * <li>If the workspace is inconsistent (the output hashes stored in {code metadata.bin} do not match
     * the hashes taken by snapshotting the current outputs), the workspace is moved to a temporary
     * location and we fall back to re-executing the work.</li>
     * <li>If we end up executing the work (either because there is no existing immutable workspace, or it is
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:44:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/WriteDependencyVerificationFile.java

            try {
                return checksumService.hash(file, kind.getAlgorithm()).toString();
            } catch (Exception e) {
                LOGGER.debug("Error while snapshotting " + file, e);
                return null;
            }
        }
    
        private static void resolveAllConfigurationsAndForceDownload(Project project) {
            ((ProjectInternal) project).getOwner().applyToMutableState(p ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top