Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 8,592 for FILE (0.05 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/ValidationActions.java

            }
        },
        INPUT_FILE_VALIDATOR("file") {
            @Override
            public void doValidate(String propertyName, Object value, PropertyValidationContext context) {
                File file = toFile(context, value);
                if (!file.exists()) {
                    reportMissingInput(context, "File", propertyName, file);
                } else if (!file.isFile()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

        }
    
        @Nullable
        private File findExecutableInJavaHome(String command) {
            File executable = commandLocation(command);
            if (executable.isFile()) {
                return executable;
            }
            return null;
        }
    
        private File commandLocation(String command) {
            File exec = new File(getJavaHome(), "bin/" + command);
            return new File(os.getExecutableName(exec.getAbsolutePath()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileMetadataAccessor.java

     */
    
    package org.gradle.internal.file;
    
    import java.io.File;
    
    public interface FileMetadataAccessor {
        /**
         * Gets the file metadata of a {@link File}.
         * <p>
         * If the type of the file cannot be determined, or is
         * neither {@link org.gradle.internal.file.FileType#RegularFile}
         * nor {@link org.gradle.internal.file.FileType#Directory},
         * then the file type of the file metadata is of type
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

            file("build/classes/java/main/example/io/example/Example.class").exists()
            file("build/classes/java/main/another/module-info.class").exists()
            file("build/classes/java/main/another/io/another/BaseExample.class").exists()
            !file("build/classes/java/main/ignored/module-info.class").exists()
            !file("build/classes/java/main/ignored/io/ignored/IgnoredExample.class").exists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3InstanceInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromString(), "command.execute(['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromGroovyString(), "command.execute(['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromStringArray(), "command.execute(['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromStringList(), "command.execute(['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/ManifestUtil.java

        private static final String[] EMPTY = new String[0];
    
        public static String createManifestClasspath(File jarFile, Collection<File> classpath) {
            List<String> paths = new ArrayList<String>(classpath.size());
            for (File file : classpath) {
                String path = constructRelativeClasspathUri(jarFile, file);
                paths.add(path);
            }
    
            return CollectionUtils.join(" ", paths);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/ResolutionResultsStoreFactoryTest.groovy

            def store3 = f.createStoreSet().nextBinaryStore()
    
            then:
            store.file != store2.file //rolled
            [store.file, store2.file, store3.file].each { it.exists() }
    
            when:
            new CompositeStoppable().add(store, store2, store3)
    
            then:
            [store.file, store2.file, store3.file].each { !it.exists() }
        }
    
        def "provides stores"() {
            def set1 = f.createStoreSet()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. platforms/software/signing/src/main/java/org/gradle/plugins/signing/Signature.java

        @Nullable
        private String fileName() {
            final File file = getFile();
            return file != null ? file.getName() : null;
        }
    
        public void setExtension(String extension) {
            this.extension = extension;
        }
    
        /**
         * The extension of the signature artifact.
         *
         * <p>Defaults to the specified file extension of the {@link #getSignatureType() signature type}.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskWiringIntegrationTest.groovy

                    inFile = file("in.txt")
                    outFile = layout.buildDirectory.file("out.txt")
                }
                task transformer(type: InputTask) {
                    inValue = producer.outFile.map { f -> f.asFile.text as Integer }.map { i -> i + 2 }
                    outFile = file("out.txt")
                }
            """
            def input = file("in.txt")
            def output = file("out.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/NioFileMetadataAccessor.java

     */
    package org.gradle.internal.file.nio;
    
    import org.gradle.api.UncheckedIOException;
    import org.gradle.internal.file.FileMetadata;
    import org.gradle.internal.file.FileMetadata.AccessType;
    import org.gradle.internal.file.FileMetadataAccessor;
    import org.gradle.internal.file.impl.DefaultFileMetadata;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.LinkOption;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top