Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 368 for printfile (0.16 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/fixtures/SampleSpec.groovy

        def 'sample dir'() {
            // Sample.dir is named after sample, test method and test class
            expect:
            sample.dir.name == 'multiproject'
            sample.dir.parentFile.parentFile.name == 'sample_dir'
            sample.dir.parentFile.parentFile.parentFile.name == 'SampleSpec'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/file/RelativeFile.java

                return null;
            }
            int relativeSegments = relativePath.getSegments().length;
            File parentFile = file;
            for (int i=0; i<relativeSegments; i++) {
                parentFile = parentFile.getParentFile();
            }
            return parentFile;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  3. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Artifact.groovy

            return new S3Resource(server, file.parentFile.file(file.name + ".md5"), repositoryPath, bucket)
        }
    
        @Override
        S3Resource getSha1() {
            return new S3Resource(server, file.parentFile.file(file.name + ".sha1"), repositoryPath, bucket)
        }
    
        @Override
        S3Resource getSha256() {
            return new S3Resource(server, file.parentFile.file(file.name + ".sha256"), repositoryPath, bucket)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsArtifact.groovy

            return new GcsResource(server, file.parentFile.file(file.name + ".md5"), repositoryPath, bucket)
        }
    
        @Override
        GcsResource getSha1() {
            return new GcsResource(server, file.parentFile.file(file.name + ".sha1"), repositoryPath, bucket)
        }
    
        @Override
        GcsResource getSha256() {
            return new GcsResource(server, file.parentFile.file(file.name + ".sha256"), repositoryPath, bucket)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            1 * fileAccessTimeJournal.setLastAccessTime(cachedFile.parentFile, _)
            0 * fileAccessTimeJournal._
    
            when:
            def cachedClasspath2 = transformer.transform(classpath, BuildLogic)
    
            then:
            cachedClasspath2.asFiles == [cachedFile]
    
            and:
            1 * fileAccessTimeJournal.setLastAccessTime(cachedFile.parentFile, _)
            0 * fileAccessTimeJournal._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. platforms/software/reporting/build.gradle.kts

        from(implementationResources)
        into(layout.buildDirectory.file("generated-resources/report-resources/org/gradle/reporting"))
    }
    
    sourceSets.main {
        output.dir(reportResources.map { it.destinationDir.parentFile.parentFile.parentFile })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdaterTest.groovy

            1 * watcher.startWatching({ equalIgnoringOrder(it, [watchableHierarchy]) })
            0 * _
    
            when:
            addSnapshot(snapshotRegularFile(unwatchableContent))
            then:
            vfsHasSnapshotsAt(unwatchableContent)
            1 * watcher.startWatching({ equalIgnoringOrder(it, [unwatchableContent.parentFile]) })
            0 * _
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/IoActions.java

                try {
                    File parentFile = file.getParentFile();
                    if (parentFile != null) {
                        if (!parentFile.mkdirs() && !parentFile.isDirectory()) {
                            throw new IOException(String.format("Unable to create directory '%s'", parentFile));
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/RemovePreviousOutputsStepTest.groovy

            0 * _
    
            !outputs.file.exists()
            outputs.dir.isDirectory()
            outputs.file.parentFile.isDirectory()
        }
    
        def "works with missing root directories"() {
            def outputs = new WorkOutputs()
            outputs.dir.parentFile.mkdirs()
            outputs.file.parentFile.mkdirs()
            outputs.snapshot()
    
            when:
            step.execute(work, context)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r27/ToolingApiEclipseLinkedResourcesCrossVersionSpec.groovy

            subprojectA.linkedResources[2].name == srcRootFolder1.parentFile.name + "-src"
            subprojectA.linkedResources[2].type == '2'
            subprojectA.linkedResources[2].location == normaliseFileSeparators(srcRootFolder2.getAbsolutePath())
            subprojectA.linkedResources[2].locationUri == null
    
            subprojectA.linkedResources[3].name == projectBsrcFolder.parentFile.name + "-src"
            subprojectA.linkedResources[3].type == '2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top