- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 93 for baseDir (0.06 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
private final File basedir; /** * Creates a new path translator using the specified base directory. * * @param basedir The base directory to resolve relative paths against, may be {@code null} to disable path * translation. */ public BasedirBeanConfigurationPathTranslator(File basedir) { this.basedir = basedir; } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.1K bytes - Click Count (0) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
@Override public void alignToBaseDirectory(Model model, File basedir) { if (basedir == null) { return; } Build build = model.getBuild(); if (build != null) { build.setDirectory(alignToBaseDirectory(build.getDirectory(), basedir));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K 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) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
String basedir = System.getProperty(basedirSysProp); if (basedir == null) { basedir = System.getProperty("user.dir"); } basedir = basedir.replace("\\", "/"); basedir = basedir.replace("$", "\\$"); // basedirSysProp is non regexp and basedir too
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K 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) -
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) -
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) -
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)