Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 70 for toFiles (0.12 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                        .flatMap(this::getProjectArtifacts)
                        .filter(a -> Objects.equals(id, id(a)))
                        .forEach(a -> a.setFile(path != null ? path.toFile() : null));
            }
            if (path == null) {
                paths.remove(id);
            } else {
                paths.put(id, path);
            }
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

            }
            outputs.file(artifact)
        }
    
        private
        fun minify(artifact: File, keepClasses: Set<String>, jarFile: File): File {
            val tempDirectory = java.nio.file.Files.createTempDirectory(jarFile.name).toFile()
            val classesDir = tempDirectory.resolve("classes")
            val manifestFile = tempDirectory.resolve("MANIFEST.MF")
            val buildReceiptFile = tempDirectory.resolve("build-receipt.properties")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            final SimpleProblemCollector collector = new SimpleProblemCollector();
            Model out = interpolator.interpolateModel(
                    model, rootDirectory.toFile(), createModelBuildingRequest(context), collector);
            assertProblemFree(collector);
    
            assertEquals("file:myRootDirectory/temp-repo", (out.getRepositories().get(0)).getUrl());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

        }
    
        @Override
        public String getType() {
            return MAVEN_METADATA_XML;
        }
    
        @Deprecated
        @Override
        public File getFile() {
            return path != null ? path.toFile() : null;
        }
    
        @Override
        public Path getPath() {
            return path;
        }
    
        public void merge(File existing, File result) throws RepositoryException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                        super.fromConfiguration(lookup, configuration, type, enclosingType, loader, evaluator, listener);
    
                return result instanceof Path
                        ? evaluator.alignToBaseDirectory(((Path) result).toFile()).toPath()
                        : result;
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        StringWriter writer = new StringWriter();
    
        StringBuilder builder = new StringBuilder();
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        File outputFile = new File(inputFile.getParentFile(), ".out");
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsToOs() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

            if (monitoringFilePath != null) {
                final Path path = env.configFile().resolve(monitoringFilePath);
    
                try {
                    final File file = path.toFile();
                    if (file.exists()) {
                        reloadableFile = file;
                        dictionaryTimestamp = reloadableFile.lastModified();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/TempFileCreator.java

        @Override
        File createTempDir() {
          try {
            return java.nio.file.Files.createTempDirectory(
                    Paths.get(JAVA_IO_TMPDIR.value()), /* prefix= */ null, directoryPermissions.get())
                .toFile();
          } catch (IOException e) {
            throw new IllegalStateException("Failed to create directory", e);
          }
        }
    
        @Override
        File createTempFile(String prefix) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

      val directory: File
        get() = cache.directory.toFile()
    
      @get:JvmName("directoryPath")
      val directoryPath: Path
        get() = cache.directory
    
      @JvmName("-deprecated_directory")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "directory"),
        level = DeprecationLevel.ERROR,
      )
      fun directory(): File = cache.directory.toFile()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

        void setUp() throws Exception {
            activator = new FileProfileActivator(
                    new ProfileActivationFilePathInterpolator(new DefaultPathTranslator(), bd -> true));
    
            context.setProjectDirectory(tempDir.toFile());
    
            File file = new File(tempDir.resolve("file.txt").toString());
            if (!file.createNewFile()) {
                throw new IOException("Can't create " + file);
            }
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top