Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 53 for baseDir (0.05 seconds)

  1. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

        public void test_isValidUploadPath_validPath() throws Exception {
            // Create test directory structure
            File baseDir = new File(tempDir.toFile(), "images");
            baseDir.mkdirs();
            File validFile = new File(baseDir, "test.png");
    
            Boolean result = invokeIsValidUploadPath(validFile, baseDir);
            assertTrue("Valid path within base directory should be allowed", result);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

            final File baseDir = tempFolder.getRoot();
            final File safeFile = new File(baseDir, "subdir/file.txt");
            final File unsafeFile = new File(baseDir, "../../../etc/passwd");
    
            assertTrue("Safe file should be allowed", FileUtil.isPathSafe(safeFile, baseDir));
            assertFalse("Unsafe file should be blocked", FileUtil.isPathSafe(unsafeFile, baseDir));
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. deps.xml

    <project name="deps" basedir=".">
    	<property name="target.dir" value="${basedir}/target/deps" />
    	<property name="webinf.dir" value="${basedir}/src/main/webapp/WEB-INF" />
    	<property name="crawler.dir" value="${basedir}/src/main/webapp/WEB-INF/env/crawler" />
    	<property name="suggest.dir" value="${basedir}/src/main/webapp/WEB-INF/env/suggest" />
    	<property name="thumbnail.dir" value="${basedir}/src/main/webapp/WEB-INF/env/thumbnail" />
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Feb 12 06:33:24 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            this.commandTimeout = commandTimeout;
        }
    
        /**
         * Sets the base directory for command execution.
         * @param baseDir The base directory.
         */
        public void setBaseDir(final File baseDir) {
            this.baseDir = baseDir;
        }
    
        /**
         * Sets the timeout for destroying processes.
         * @param commandDestroyTimeout The destroy timeout in milliseconds.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  5. plugin.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <project name="plugin" basedir=".">
    	<property name="plugins.dir" value="${basedir}/plugins" />
    	<property name="target.dir" value="${basedir}/target/plugins" />
    
    	<!-- Maven Repository -->
    	<property name="maven.snapshot.repo.url" value="https://central.sonatype.com/repository/maven-snapshots" />
    	<property name="maven.release.repo.url" value="https://repo1.maven.org/maven2" />
    
    	<target name="install.plugins">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Feb 12 06:33:24 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  6. apache-maven/src/assembly/maven/bin/mvn

        if [ ${found_file_switch} -eq 1 ]; then
          if [ -d "${arg}" ]; then
            basedir=`cd "${arg}" && pwd -P`
          elif [ -f "${arg}" ]; then
            basedir=`dirname "${arg}"`
            basedir=`cd "$basedir" && pwd -P`
            if [ ! -d "$basedir" ]; then
              echo "Directory $basedir extracted from the -f/--file command-line argument ${arg} does not exist" >&2
              exit 1
            fi
          else
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            return jspItems;
        }
    
        private List<String> loadFileNameItems() {
            final File baseDir = new File(getServletContext().getRealPath("/"));
            final List<String> fileNameItems = new ArrayList<>();
            final List<File> fileList = getAccessibleFileList(baseDir);
            final int length = baseDir.getAbsolutePath().length();
            for (final File file : fileList) {
    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)
  8. dbflute.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <project name="dbflute" basedir=".">
    	<property name="mydbflute.dir" value="${basedir}/mydbflute" />
    	<property name="target.dir" value="${basedir}/target" />
    	<property name="branch.name" value="fess-15.5" />
    	<property name="mydbflute.url" value="https://github.com/lastaflute/lastaflute-example-waterfront/archive/${branch.name}.zip" />
    
    	<target name="mydbflute.check">
    		<condition property="mydbflute.exists">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Feb 12 06:33:24 GMT 2026
    - 999 bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            String basedir = localRepo.getBasedir();
    
            assertFalse(basedir.endsWith("/"));
            assertFalse(basedir.endsWith("\\"));
    
            assertEquals(localRepoDir, new File(basedir));
    
            assertEquals(localRepoDir.getPath(), basedir);
        }
    
        @Inject
        DefaultMetadataSource defaultMetadataSource;
    
        @Inject
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. apache-maven/pom.xml

          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
              <systemPropertyVariables>
                <basedir>${basedir}</basedir>
              </systemPropertyVariables>
            </configuration>
            <executions>
              <execution>
                <id>test</id>
                <goals>
                  <goal>test</goal>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 30 07:38:30 GMT 2026
    - 13K bytes
    - Click Count (0)
Back to Top