Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for createDirectories (0.21 sec)

  1. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                            Files.createDirectories(path.getParent());
                            Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING);
                        } else if ("css".equals(names[0])) {
                            names[0] = themeName;
                            final Path path = ResourceUtil.getCssPath(names);
                            Files.createDirectories(path.getParent());
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

            }
        }
    
        private void write(Path metadataPath, Metadata metadata) throws RepositoryException {
            try {
                Files.createDirectories(metadataPath.getParent());
                try (OutputStream output = Files.newOutputStream(metadataPath)) {
                    new MetadataStaxWriter().write(output, metadata);
                }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                    File remoteFile = new File(basedir, path(download.getArtifact()));
                    try {
                        Path dest = download.getFile().toPath();
                        Files.createDirectories(dest.getParent());
                        Files.copy(remoteFile.toPath(), dest);
                    } catch (IOException e) {
                        if (!remoteFile.exists()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

        testResourceDir = "./build/resources/test/okhttp3/osgi".toPath()
        workspaceDir = testResourceDir / "workspace"
    
        // Ensure we start from scratch.
        fileSystem.deleteRecursively(workspaceDir)
        fileSystem.createDirectories(workspaceDir)
      }
    
      /**
       * Resolve the OSGi metadata of the all okhttp3 modules. If required modules do not have OSGi
       * metadata this will fail with an exception.
       */
      @Test
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                Path buildDir =
                        project.getBuild() != null ? Paths.get(project.getBuild().getDirectory()) : null;
                if (buildDir != null) {
                    Files.createDirectories(buildDir);
                }
                Path consumer = buildDir != null
                        ? Files.createTempFile(buildDir, CONSUMER_POM_CLASSIFIER + "-", ".pom")
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

            Properties properties = convertToProperties(buildResumptionData);
    
            Path resumeProperties = Paths.get(rootProject.getBuild().getDirectory(), RESUME_PROPERTIES_FILENAME);
            try {
                Files.createDirectories(resumeProperties.getParent());
                try (Writer writer = Files.newBufferedWriter(resumeProperties)) {
                    properties.store(writer, null);
                }
            } catch (IOException e) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            // here and be safe. jvz.
            // ----------------------------------------------------------------------------
    
            try {
                Files.createDirectories(destination.toPath().getParent());
                Files.copy(file.toPath(), destination.toPath());
            } catch (IOException e) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

            this.metadata = metadata;
        }
    
        public void merge(File current, File result) throws RepositoryException {
            try {
                if (current.exists()) {
                    Files.createDirectories(result.toPath().getParent());
                    Files.copy(current.toPath(), result.toPath());
                }
                ArtifactRepository localRepo = new MetadataRepository(result);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

            assertEquals(EXPECTED_PACKAGE_LIST, getRelocatedPackages(aJar(someClasses() + someClassesInDefaultPackage())))
        }
    
        private
        fun touchFile(path: Path) {
            Files.createDirectories(path.parent)
            Files.write(path, byteArrayOf())
        }
    
        private
        fun someClasses(): Sequence<Path> {
            val directory = projectDir.resolve("classes")
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                    }
                }
            }
    
            if (trackingFile == null) {
                return;
            }
            try {
                Files.createDirectories(trackingDir);
    
                trackingData.add("");
                if (!missing) {
                    if (event.getRepository() != null) {
                        trackingData.add("Repository: " + event.getRepository());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
Back to top