Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for cwd (0.37 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

                File gradleUserHome = project.getGradle().getGradleUserHomeDir();
                nonInputProperties.systemProperty("gradle.user.home", gradleUserHome);
                // we use 'temp' relative to CWD since this is per JVM and tests are forbidden from writing to CWD
                nonInputProperties.systemProperty("java.io.tmpdir", test.getWorkingDir().toPath().resolve("temp"));
    
                // TODO: remove setting logging level via system property
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            LocalContext context = new LocalContext(parserRequest);
    
            // the basics
            try {
                context.cwd = getCwd(context);
            } catch (Exception e) {
                context.parsingFailed = true;
                context.cwd = getCanonicalPath(Paths.get("."));
                parserRequest.logger().error("Error determining working directory", e);
            }
            try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                        .resolve(string.substring(2))
                        .normalize()
                        .toAbsolutePath();
            } else {
                // resolve based on $CWD
                return Paths.get(string).normalize().toAbsolutePath();
            }
        }
    
        private VersionFilter buildVersionFilter(String filterExpression) {
            ArrayList<VersionFilter> filters = new ArrayList<>();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  7. lib/wasm/wasm_exec.js

    			getuid() { return -1; },
    			getgid() { return -1; },
    			geteuid() { return -1; },
    			getegid() { return -1; },
    			getgroups() { throw enosys(); },
    			pid: -1,
    			ppid: -1,
    			umask() { throw enosys(); },
    			cwd() { throw enosys(); },
    			chdir() { throw enosys(); },
    		}
    	}
    
    	if (!globalThis.path) {
    		globalThis.path = {
    			resolve(...pathSegments) {
    				return pathSegments.join("/");
    			}
    		}
    	}
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
  8. scripts/docs.py

        args = ["mkdocs", "serve", "--dev-addr", "127.0.0.1:8008"]
        if dirty:
            args.append("--dirty")
        subprocess.run(
            args, env={**os.environ, "LINENUMS": "true"}, cwd=lang_path, check=True
        )
    
    
    def get_updated_config_content() -> dict[str, Any]:
        config = get_en_config()
        languages = [{"en": "/"}]
        new_alternate: list[dict[str, str]] = []
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

        @Override
        protected int execute(LookupContext context) throws Exception {
            // set up JLine built-in commands
            ConfigurationPath configPath = new ConfigurationPath(context.cwd.get(), context.cwd.get());
            Builtins builtins = new Builtins(context.cwd, configPath, null);
            builtins.rename(Builtins.Command.TTOP, "top");
            builtins.alias("zle", "widget");
            builtins.alias("bindkey", "keymap");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                if (userToolchainsFileStr != null) {
                    userToolchainsFile = context.cwd.resolve(userToolchainsFileStr);
                }
            }
    
            Path installationToolchainsFile = null;
            if (context.options().altInstallationToolchains().isPresent()) {
                installationToolchainsFile = context.cwd.resolve(
                        context.options().altInstallationToolchains().get());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
Back to Top