Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 308 for mkdirs (0.04 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                }
                return true;
            }
    
            final File parentFile = outputFile.getParentFile();
            if (!parentFile.exists()) {
                parentFile.mkdirs();
            }
            if (!parentFile.isDirectory()) {
                logger.warn("Not found: {}", parentFile.getAbsolutePath());
                return false;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) {
                ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId);
                if (ownTmpDir.mkdirs()) {
                    cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath());
                } else {
                    ownTmpDir = null;
                }
            }
    
            if (!jvmOptions.isEmpty()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/SuggestJob.java

            if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) {
                ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId);
                if (ownTmpDir.mkdirs()) {
                    cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath());
                } else {
                    ownTmpDir = null;
                }
            }
    
            if (!jvmOptions.isEmpty()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            synchronized (touchfile.getAbsolutePath().intern()) {
                if (!touchfile.getParentFile().exists()
                        && !touchfile.getParentFile().mkdirs()) {
                    getLogger()
                            .debug("Failed to create directory: " + touchfile.getParent()
                                    + " for tracking artifact metadata resolution.");
                    return;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        def deprecatedAnnotation = Stub(JApiAnnotation)
        def overrideAnnotation = Stub(JApiAnnotation)
        def injectAnnotation = Stub(JApiAnnotation)
    
        def setup() {
            new File(tmp, "org/gradle/api").mkdirs()
            sourceFile = new File(tmp, "${TEST_INTERFACE_NAME.replace('.', '/')}.java").tap { text = "" }
    
            jApiClassifier.fullyQualifiedName >> TEST_INTERFACE_NAME
            jApiField.name >> 'field'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            String path = repository.pathOf(artifact);
    
            File artifactFile = new File(repository.getBasedir(), path);
    
            if (!artifactFile.getParentFile().exists()) {
                artifactFile.getParentFile().mkdirs();
            }
            try (Writer writer = new OutputStreamWriter(new FileOutputStream(artifactFile), StandardCharsets.ISO_8859_1)) {
                writer.write(artifact.getId());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileOperationsTest.java

            try ( SmbFile r = createTestDirectory();
                  SmbResource e = new SmbFile(r, "foo/bar/test/") ) {
                try {
                    e.mkdirs();
                }
                finally {
                    r.delete();
                }
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  8. 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 {}", parentFile.getAbsolutePath());
            }
    
            try {
                write(uploadFile.getAbsolutePath(), form.designFile.getFileData());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. 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;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. 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());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top