Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for findGoroot (0.05 sec)

  1. misc/go_android_exec/main.go

    		return err
    	}
    	s, err := io.ReadAll(stat)
    	if err != nil {
    		return err
    	}
    	if string(s) == goVersion {
    		return nil
    	}
    
    	goroot, err := findGoroot()
    	if err != nil {
    		return err
    	}
    
    	// Delete the device's GOROOT, GOPATH and any leftover test data,
    	// and recreate GOROOT.
    	if err := adb("exec-out", "rm", "-rf", deviceRoot); err != nil {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

        @Nonnull
        default Path findMandatoryRoot(Path basedir) {
            Path rootDirectory = findRoot(basedir);
            if (rootDirectory == null) {
                throw new IllegalStateException(getNoRootMessage());
            }
            return rootDirectory;
        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

                case ERROR -> Logger.LEVEL_ERROR;
            };
        }
    
        @Nullable
        public static Path findRoot(Path topDirectory) {
            requireNonNull(topDirectory, "topDirectory");
            Path rootDirectory =
                    ServiceLoader.load(RootLocator.class).iterator().next().findRoot(topDirectory);
            if (rootDirectory != null) {
                return getCanonicalPath(rootDirectory);
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 13 18:30:29 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

                            .setPathTranslator(new DefaultPathTranslator())
                            .setRootLocator(new DefaultRootLocator() {
                                @Override
                                public Path findRoot(Path basedir) {
                                    return basedir;
                                }
                            }));
    
            context.setProjectDirectory(tempDir.toFile());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        @Test
        public void findRootProjectWithAttribute() {
            Path test = Paths.get("src/test/projects/root-attribute");
            assertEquals(test, new DefaultRootLocator().findRoot(test.resolve("child")));
        }
    
        @Test
        public void testPropertiesInterpolation() throws Exception {
            FileSystem fs = Jimfs.newFileSystem(Configuration.windows());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                .build();
    
                        if (pomFile != null) {
                            project.setRootDirectory(rootLocator.findRoot(pomFile.getParent()));
                        }
    
                        ModelBuilderResult result;
                        try {
                            result = modelBuilderSession.build(request);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                }
            }
            return getCanonicalPath(topDirectory);
        }
    
        @Nullable
        protected Path getRootDirectory(LocalContext context) {
            return CliUtils.findRoot(context.topDirectory);
        }
    
        protected Map<String, String> populateSystemProperties(LocalContext context) {
            Properties systemProperties = new Properties();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            RootLocator rootLocator =
                    ServiceLoader.load(RootLocator.class).iterator().next();
            cliRequest.rootDirectory = rootLocator.findRoot(topDirectory);
    
            //
            // Make sure the Maven home directory is an absolute path to save us from confusion with say drive-relative
            // Windows paths.
            //
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
Back to top