Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for getAbsolutePath (0.35 sec)

  1. maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            File basedir = new File(System.getProperty("java.io.tmpdir"));
            project.setFile(new File(basedir, "file"));
    
            project.addCompileSourceRoot(basedir.getAbsolutePath());
            project.addCompileSourceRoot(".");
    
            assertEquals(1, project.getCompileSourceRoots().size());
        }
    
        private void assertNoNulls(List<String> elements) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        public void setUp() throws Exception {
            super.setUp();
            final File propFile = File.createTempFile("project", ".properties");
            propFile.deleteOnExit();
            FileUtil.writeBytes(propFile.getAbsolutePath(), "fess.version=98.76.5".getBytes());
            final File desginJspRootFile = File.createTempFile("jsp", "");
            desginJspRootFile.delete();
            desginJspRootFile.deleteOnExit();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/EnumsTest.java

            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            AssertionError error = new AssertionError("malformed class path entry: " + entry);
            error.initCause(e);
            throw error;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

        }
    
        private FsObj[] getFsObj() {
            return Arrays.stream(File.listRoots()).map(f -> {
                final FsObj fsObj = new FsObj();
                fsObj.path = f.getAbsolutePath();
                fsObj.free = f.getFreeSpace();
                fsObj.total = f.getTotalSpace();
                fsObj.usable = f.getUsableSpace();
                fsObj.used = fsObj.total - fsObj.usable;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

            }
    
            protected String getResourcePath(final String path) {
                final File file = ResourceUtil.getResourceAsFileNoException(path);
                if (file != null) {
                    return file.getAbsolutePath();
                }
                return null;
            }
    
            @Override
            public Enumeration<String> getInitParameterNames() {
                throw new UnsupportedOperationException();
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            } catch (final IOException e) {
                logger.warn("Failed to create a temp file.", e);
                if (tempFile.exists() && !tempFile.delete()) {
                    logger.warn("Failed to delete {}.", tempFile.getAbsolutePath());
                }
                throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, fileName), this::asListHtml);
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/ExecJob.java

            if (ownTmpDir == null) {
                return;
            }
            if (!FileUtils.deleteQuietly(ownTmpDir)) {
                logger.warn("Could not delete a temp dir: {}", ownTmpDir.getAbsolutePath());
            }
        }
    
        protected void appendJarFile(final String cpSeparator, final StringBuilder buf, final File libDir, final String basePath) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                        if (moduleDir.isDirectory()) {
                            settingsBuilder.put("path.modules", moduleDir.getAbsolutePath());
                        } else {
                            settingsBuilder.put("path.modules", new File(System.getProperty("user.dir"), "modules").getAbsolutePath());
                        }
                        final File pluginDir = new File(esDir, "plugins");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            File localRepo = request.getLocalRepositoryPath();
            return new Settings(org.apache.maven.api.settings.Settings.newBuilder()
                    .localRepository(localRepo != null ? localRepo.getAbsolutePath() : null)
                    .interactiveMode(request.isInteractiveMode())
                    .offline(request.isOffline())
                    .proxies(request.getProxies().stream().map(Proxy::getDelegate).collect(Collectors.toList()))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

                    "Transfer listener still registered after getArtifact");
    
            /* putArtifact */
            File sampleFile = getTestFile("target/test-file");
            FileUtils.fileWrite(sampleFile.getAbsolutePath(), "sample file");
    
            assertFalse(
                    wagon.getTransferEventSupport().hasTransferListener(transferListener),
                    "Transfer listener is registered before test");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top