Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for deleteMin (0.12 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/DownloadableGradleDistribution.groovy

            def versionDir = this.versionDir
            fileAccessManager.access(distributionZip) {
                if (!markerFile.exists()) {
                    distributionZip.delete()
                    gradleHomeDir.deleteDir()
    
                    URL url = getDownloadURL();
                    System.out.println("downloading $url")
                    distributionZip.copyFrom(url)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SimpleJavaContinuousIntegrationTest.groovy

                //the main src dir might be locked, only delete children
                file("src/main/java").listFiles().each {
                    assert !it.deleteDir().exists()
                }
            } else {
                assert !file("src/main/java").deleteDir().exists()
            }
    
    
            then:
            buildTriggeredAndSucceeded()
            executedAndNotSkipped(":compileJava")
            executed(":build")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/JabbaInstallationSupplierTest.groovy

            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies no installations for non-existing directory"() {
            given:
            assert candidates.deleteDir()
    
            when:
            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies single installations for single candidate"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaIncrementalCompilationWithCachingIntegrationTest.groovy

            source("class A {}")
            withBuildCache().run language.compileTaskName
            executer.stop()
            file("user-home/caches").deleteDir()
            def cachedBuild =  withBuildCache().run "clean", language.compileTaskName
            cachedBuild.groupedOutput.task(":compileJava").outcome == "FROM_CACHE"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskOutputIntegrationTest.groovy

            tgzCacheEntry.delete()
    
            def metadata = new Properties()
            extractDir.file("METADATA").withInputStream { input ->
                metadata.load(input)
            }
            extractDir.deleteDir()
            return metadata
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/CachedScalaCompileIntegrationTest.groovy

            withBuildCache().run compilationTask
    
            then:
            classes.all*.compiledClass*.exists().every()
            classes.analysisFile.assertIsFile()
    
            when:
            warmupDir.deleteDir()
            setupProjectInDirectory(testDirectory)
            classes = new ScalaCompilationFixture(testDirectory)
            classes.baseline()
            withBuildCache().run compilationTask
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy

            given:
            def rootDir = tmpDir.createDir("root")
            def dir = rootDir.createDir("target")
            def link = rootDir.file("source")
            link.createLink(dir)
            dir.deleteDir()
            def file = rootDir.createFile("hello.txt")
            file << "Hello world"
    
            def patternSet = new PatternSet()
            patternSet.include("*.txt")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenPomPackagingResolveIntegrationTest.groovy

    repositories {
        maven { url '${repo1.uri}' }
        maven { url '${repo2.uri}' }
    }
    configurations { compile }
    dependencies {
        $dependencies
    }
    task deleteDir(type: Delete) {
        delete 'libs'
    }
    task retrieve(type: Copy, dependsOn: deleteDir) {
        into 'libs'
        from configurations.compile
    }
    """
        }
    
        def "includes jar artifact if present for pom with packaging of type 'pom'"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. cni/pkg/ipset/nldeps_unspecified.go

    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) flush(name string) error {
    	return errors.New("not implemented on this platform")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r14/ToolingApiInitScriptCrossVersionIntegrationTest.groovy

    @LeaksFileHandles
    class ToolingApiInitScriptCrossVersionIntegrationTest extends ToolingApiSpecification {
    
        TestFile createDistribution(int i) {
            def distro = temporaryDistributionFolder.file("distro$i")
            distro.deleteDir()
    
            distro.copyFrom(getTargetDist().getGradleHomeDir())
            distro.file("bin", OperatingSystem.current().getScriptName("gradle")).permissions = 'rwx------'
            distro.file("init.d/init.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top