- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 38 for baseDir (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
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) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy
/** Returns the working directory for the process. Defaults to "cwd" inside baseDir. */ @Internal protected File getCwd() { return new File(baseDir, 'cwd') } /** Returns the file the process writes its pid to. Defaults to "pid" inside baseDir. */ @Internal protected File getPidFile() { return new File(baseDir, 'pid') } /** Reads the pid file and returns the process' pid */Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.1K bytes - Click Count (0) -
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) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPlugin.java
private final boolean extractedAssembleSupported; DistributionProject(String name, String baseDir, Version version, String classifier, String extension, File checkoutDir) { this.name = name; this.checkoutDir = checkoutDir; this.projectPath = baseDir + "/" + name; this.expandedDistDirSupport = version.onOrAfter("7.10.0") && (name.endsWith("zip") || name.endsWith("tar"));Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Aug 18 09:11:28 GMT 2021 - 14.5K bytes - Click Count (0) -
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) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java
when(project.getFile()).thenReturn(new File(basedir, "pom.xml")); when(project.getBasedir()).thenReturn(basedir); MavenSession session = mock(MavenSession.class); when(session.getTopLevelProject()).thenReturn(project); when(event.getSession()).thenReturn(session); when(session.getTopDirectory()).thenReturn(basedir.toPath()); // execute
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Dec 01 19:41:22 GMT 2024 - 12.3K bytes - Click Count (0) -
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; @InjectCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 11.1K bytes - Click Count (0) -
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) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
this.layout = layout; this.snapshots = snapshots; this.releases = releases; // // Derive these from the URL // this.protocol = protocol(url); this.basedir = basedir(url); } public MavenArtifactRepository( String id, Path path, ArtifactRepositoryLayout layout, ArtifactRepositoryPolicy snapshots,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.1K bytes - Click Count (0)