- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for loadProperties (0.09 sec)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java
assertThrows( NoSuchFileException.class, () -> MavenPropertiesLoader.loadProperties(p, mavenUserProps, null, false)); Path another = propsPath.resolveSibling("another.properties"); Files.writeString(another, "bar = chti${java.version}\n"); MavenPropertiesLoader.loadProperties(p, mavenUserProps, null, false); assertEquals("chti11z", p.getProperty("fro")); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java
public static final String OVERRIDE_PREFIX = "maven.override."; // prefix that marks that system property should override defaults. public static void loadProperties( java.util.Properties properties, Path path, Function<String, String> callback, boolean escape) throws IOException { MavenProperties sp = new MavenProperties(false);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
} else { mavenConf = context.installationDirectory.resolve(""); } Path propertiesFile = mavenConf.resolve("maven.properties"); MavenPropertiesLoader.loadProperties(userProperties, propertiesFile, callback, false); // CLI specified properties are most dominant userProperties.putAll(userSpecifiedProperties); return toMap(userProperties); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
gradle/wrapper/gradle-wrapper.jar
synchronized class WrapperExecutor { public final java.util.Properties properties; public final java.io.File propertiesFile; public final WrapperConfiguration config; public void WrapperExecutor(java.io.File, java.util.Properties); public static void loadProperties(java.io.File, java.util.Properties); public final String readDistroUrl(); public final String getProperty(String, String); public final int getProperty(int); public final boolean getProperty(boolean); public final String getProperty(String, String,...
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 24 09:00:26 UTC 2023 - 42.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
} else { mavenConf = fileSystem.getPath(""); } Path propertiesFile = mavenConf.resolve("maven.properties"); MavenPropertiesLoader.loadProperties(userProperties, propertiesFile, callback, false); // ---------------------------------------------------------------------- // I'm leaving the setting of system properties here as not to break
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 76.8K bytes - Viewed (0)