- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for cwd (0.35 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CWD.java
* is mutable (as CWD may be changed), but allows transition only to existing directories. */ public final class CWD implements Supplier<Path> { /** * Creates instance out of {@link Path}. */ public static CWD create(Path path) { return new CWD(CliUtils.getCanonicalPath(path)); } private Path directory; private CWD(Path directory) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 24 14:09:05 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java
return new MavenParser(); } @Test void defaultFs( @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path cwd, @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path userHome) throws Exception { invoke(cwd, userHome, List.of("verify"), List.of()); } @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)") @Test
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 21 12:17:55 GMT 2025 - 9.3K bytes - Click Count (0) -
misc/ios/go_ios_exec.go
} cwd, err = filepath.EvalSymlinks(cwd) if err != nil { log.Fatal(err) } goroot, err := filepath.EvalSymlinks(runtime.GOROOT()) if err != nil { return "", false, err } if strings.HasPrefix(cwd, goroot) { subdir, err := filepath.Rel(goroot, cwd) if err != nil { return "", false, err } return subdir, true, nil }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Sep 16 00:34:45 GMT 2025 - 8.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java
private List<Completer> cdCompleter(String name) { return List.of(new ArgumentCompleter(new Completers.DirectoriesCompleter(shellContext.cwd))); } private void pwd(CommandInput input) { try { shellContext.writer.accept(shellContext.cwd.get().toString()); } catch (Exception e) { saveException(e); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 12.3K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy
@Internal protected String getCommandString() { String commandString = "\n${name} configuration:\n" commandString += "-----------------------------------------\n" commandString += " cwd: ${cwd}\n" commandString += " command: ${executable} ${arguments.join(' ')}\n" commandString += ' environment:\n' environment.each { k, v -> commandString += " ${k}: ${v}\n" } if (spawn) {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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java
@Nullable CIInfo ciInfo, @Nullable Options options) { this.parserRequest = requireNonNull(parserRequest); this.parsingFailed = parsingFailed; this.cwd = requireNonNull(cwd); this.installationDirectory = requireNonNull(installationDirectory); this.userHomeDirectory = requireNonNull(userHomeDirectory); this.userProperties = requireNonNull(userProperties);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.2K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
} public Builder lookup(@Nonnull Lookup lookup) { this.lookup = requireNonNull(lookup); return this; } public Builder cwd(Path cwd) { this.cwd = cwd; return this; } public Builder mavenHome(Path mavenHome) { this.mavenHome = mavenHome; return this; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 15.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvokerTest.java
return new MavenParser(); } @Test void defaultFs( @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path cwd, @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path userHome) throws Exception { invoke(cwd, userHome, List.of("verify"), List.of()); } @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)") @Test
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 10:47:37 GMT 2025 - 2.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java
} """; protected Map<String, String> invoke(Path cwd, Path userHome, Collection<String> goals, Collection<String> args) throws Exception { Files.createDirectories(cwd.resolve(".mvn")); Path pom = cwd.resolve("pom.xml").toAbsolutePath(); Files.writeString(pom, POM_STRING); Path appJava = cwd.resolve("src/main/java/org/apache/maven/samples/sample/App.java");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 21 12:17:55 GMT 2025 - 6.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java
}; @Test void happy() { InvokerRequest invokerRequest = subject.parseInvocation(ParserRequest.mvn(Arrays.asList("-e", "-X"), mock(MessageBuilderFactory.class)) .cwd(Path.of(System.getProperty("userDir"))) .userHome(Path.of(System.getProperty("userHome"))) .build()); Assertions.assertTrue(invokerRequest.options().isPresent());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.2K bytes - Click Count (0)