Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 65 for makedirs (0.05 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                return null;
            }
    
            final File parentFile = uploadFile.getParentFile();
            if (!parentFile.exists() && !parentFile.mkdirs()) {
                logger.warn("Could not create directory: {}", parentFile.getAbsolutePath());
            }
    
            try {
                write(uploadFile.getAbsolutePath(), form.designFile.getFileData());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/PublishPluginFuncTest.groovy

                  </dependencies>
                </project>"""
            )
        }
    
        def "handles project shadow dependencies"() {
            given:
            settingsFile << "include ':someLib'"
            file('someLib').mkdirs()
            buildFile << """
                plugins {
                    id 'elasticsearch.java'
                    id 'elasticsearch.publish'
                    id 'com.github.johnrengelman.shadow'
                }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 19K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            File localRepoDir = request.getLocalRepositoryPath();
    
            logger.debug("Using local repository at {}", localRepoDir);
    
            localRepoDir.mkdirs();
    
            if (!localRepoDir.isDirectory()) {
                throw new IOException("Could not create local repository at " + localRepoDir);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
  4. src/main/java/org/codelibs/fess/job/CrawlJob.java

            if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) {
                ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId);
                if (ownTmpDir.mkdirs()) {
                    cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath());
                    cmdList.add("-Dpdfbox.fontcache=" + ownTmpDir.getAbsolutePath());
                } else {
                    ownTmpDir = null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

                }
                File output = new File(outputDirectory.get().dir(REST_TEST_PREFIX).getAsFile(), testFileParts[1]);
                output.getParentFile().mkdirs();
                try (SequenceWriter sequenceWriter = WRITER.writeValues(output)) {
                    for (ObjectNode transformedTest : transformRestTests) {
                        sequenceWriter.write(transformedTest);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    baseDir = new File(varPath, THUMBNAILS_DIR_NAME);
                } else {
                    baseDir = ResourceUtil.getThumbnailPath().toFile();
                }
            }
            if (baseDir.mkdirs()) {
                logger.info("Created thumbnail directory: {}", baseDir.getAbsolutePath());
            }
            if (!baseDir.isDirectory()) {
                throw new FessSystemException("Not found: " + baseDir.getAbsolutePath());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        @Test
        public void test_baseDir_configuration() throws Exception {
            final File customBaseDir = new File(System.getProperty("java.io.tmpdir"), "custom_base");
            customBaseDir.mkdirs();
    
            try {
                generator.setBaseDir(customBaseDir);
                assertTrue("Base directory should be set", true);
            } finally {
                if (customBaseDir.exists()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/Files.java

           * -- or even that the caller can create it, but this method makes no such guarantees even for
           * non-root files.
           */
          return;
        }
        parent.mkdirs();
        if (!parent.isDirectory()) {
          throw new IOException("Unable to create parent directories of " + file);
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            systemHelper.addDesignJspFileName("xxx", "yyy.jsp");
            final File designJspFile = systemHelper.getDesignJspFile("/WEB-INF/view/yyy.jsp");
            designJspFile.getParentFile().mkdirs();
            FileUtil.writeBytes(designJspFile.getAbsolutePath(), "ok".getBytes());
            fileList = systemHelper.refreshDesignJspFiles();
            assertEquals(1, fileList.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/SmbResource.java

         * (although in the future it may be possible to create shares).
         *
         * @throws CIFSException if an error occurs creating the directories
         */
        void mkdirs() throws CIFSException;
    
        /**
         * Creates a directory with the path specified by this
         * <code>SmbResource</code>. For this method to be successful, the target
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 28K bytes
    - Click Count (1)
Back to Top