Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for afterBuildFinished (0.65 sec)

  1. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystemTest.groovy

            watchingVirtualFileSystem.beforeBuildFinished(WatchMode.DISABLED, VfsLogging.NORMAL, WatchLogging.NORMAL, buildOperationRunner, Integer.MAX_VALUE)
            watchingVirtualFileSystem.afterBuildFinished()
            then:
            0 * _
    
            watchingVirtualFileSystem.root == emptySnapshotHierarchy
        }
    
        def "stops the watchers before the build when watching is disabled"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingNotSupportedVirtualFileSystemTest.groovy

            watchingNotSupportedVfs.beforeBuildFinished(watchMode, VfsLogging.NORMAL, WatchLogging.NORMAL, buildOperationRunner, Integer.MAX_VALUE)
            watchingNotSupportedVfs.afterBuildFinished()
            then:
            watchingNotSupportedVfs.root == emptySnapshotHierarchy
    
            where:
            watchMode << WatchMode.values().toList()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/BuildLifecycleAwareVirtualFileSystem.java

         *
         * This operation is happening outside the build's execution from the client's perspective,
         * after the result of the build has already been reported to the client.
         */
        void afterBuildFinished();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingNotSupportedVirtualFileSystem.java

                        .details(BuildFinishedFileSystemWatchingBuildOperationType.Details.INSTANCE);
                }
            }));
        }
    
        @Override
        public void afterBuildFinished() {
        }
    
        @Override
        public boolean isWatchingAnyLocations() {
            return false;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:41:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/CleanUpVirtualFileSystemAfterBuild.java

                        BuildLifecycleAwareVirtualFileSystem virtualFileSystem = serviceRegistry.get(BuildLifecycleAwareVirtualFileSystem.class);
                        virtualFileSystem.afterBuildFinished();
                    }, executor))
                .orElseGet(() -> CompletableFuture.completedFuture(null));
        }
    
        private void waitForPendingCleanupToFinish(CompletableFuture<Void> pendingCleanup) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystem.java

                            } else {
                                // We'll clean this up further after the daemon has finished with the build, see afterBuildFinished()
                                newRoot = withWatcherChangeErrorHandling(currentRoot, () ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 16:22:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutor.java

                    // Let the VFS clean itself up after the build
                    virtualFileSystem.afterBuildFinished();
    
                    if (buildInputs.isEmpty()) {
                        logger.println().withStyle(StyledTextOutput.Style.Failure).println("Exiting continuous build as Gradle did not detect any file system inputs.");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:41:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top