- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for toAbsolutePath (0.24 sec)
-
maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Dec 05 09:23:26 GMT 2023 - 4.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java
if ("basedir".equals(expression)) { return projectDir.toAbsolutePath().toString(); } else if (expression.startsWith("basedir.")) { Path basedir = projectDir.toAbsolutePath(); return new ObjectBasedValueSource(basedir)
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 20K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java
jtc.setJavaHome(Paths.get(javahome.getValue()).normalize().toString()); } else { throw new MisconfiguredToolchainException( "Non-existing JDK home configuration at " + normal.toAbsolutePath()); } return jtc; } public ToolchainPrivate createDefaultToolchain() { // not sure it's necessary to provide a default toolchain here.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
assertInstanceOf(Path.class, ee.evaluate("${session.rootDirectory}")); } @Test public void testUri() throws Exception { Path path = Paths.get("").toAbsolutePath(); MavenSession mavenSession = createMavenSession(null); mavenSession.getRequest().setTopDirectory(path); mavenSession.getRequest().setRootDirectory(path);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Dec 05 08:11:33 GMT 2023 - 18.6K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java
ModelBuilderResult result = builder.build(ModelBuilderRequest.builder() .session(session) .source(ModelSource.fromPath(Paths.get("pom.xml").toAbsolutePath())) .projectBuild(true) .build()); assertNotNull(result.getEffectiveModel());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 2.5K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/Main.kt
} internal fun SmartPrinter.printGeneratedMessage() { println(GeneratorsFileUtil.GENERATED_MESSAGE) println() } fun main() { val rootPath = Paths.get("analysis/analysis-api-fir/src").toAbsolutePath() val packageName = "org.jetbrains.kotlin.analysis.api.fir.diagnostics" val diagnostics = DIAGNOSTICS_LIST + JVM_DIAGNOSTICS_LIST + JS_DIAGNOSTICS_LIST + SYNTAX_DIAGNOSTIC_LIST + WEB_COMMON_DIAGNOSTICS_LIST
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Nov 16 14:27:49 GMT 2023 - 1.5K bytes - Viewed (0) -
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java
Process p = Runtime.getRuntime().exec(new String[] { Paths.get(System.getProperty("java.home"), "bin/java").toString(), "-jar", file.toAbsolutePath().toString(), "5.32", "5.27" }); try { assertEquals(0, p.waitFor(), "Unexpected exit code");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 2.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java
} public String findTool(String toolName) { Path toRet = findTool(toolName, Paths.get(getJavaHome()).normalize()); if (toRet != null) { return toRet.toAbsolutePath().toString(); } return null; } private static Path findTool(String toolName, Path installDir) { Path bin = installDir.resolve("bin"); // NOI18N
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 06:01:36 GMT 2023 - 2.4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java
private MavenSession newMavenSession() throws Exception { return createMavenSession(null); } @Test public void testUri() throws Exception { Path path = Paths.get("").toAbsolutePath(); MavenSession mavenSession = createMavenSession(null); mavenSession.getRequest().setTopDirectory(path); mavenSession.getRequest().setRootDirectory(path);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 19.2K bytes - Viewed (0) -
maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
* * @param path The file, must not be {@code null}. * @since 4.0.0 */ public FileSource(Path path) { this.path = Objects.requireNonNull(path, "path cannot be null").toAbsolutePath(); this.hashCode = Objects.hash(path); } @Override public InputStream getInputStream() throws IOException { return Files.newInputStream(path); } @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Feb 26 17:04:44 GMT 2024 - 2.9K bytes - Viewed (0)