Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for toMatch (0.16 sec)

  1. maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                return result instanceof Path
                        ? evaluator.alignToBaseDirectory(((Path) result).toFile()).toPath()
                        : result;
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                        public Object getValue(String expression) {
                            if (projectDir != null && "baseUri".equals(expression)) {
                                return projectDir.getAbsoluteFile().toPath().toUri().toASCIIString();
                            }
                            return null;
                        }
                    },
                    PROJECT_PREFIXES,
                    false);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 13.5K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact));
    
                Files.createDirectories(localFile.toPath().getParent());
                Files.copy(remoteFile.toPath(), localFile.toPath());
            }
    
            artifact.setResolved(true);
        }
    
        public void retrieve(
                ArtifactRepository repository,
                File destination,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          assertThat(child.delete()).isTrue();
    
          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
                java.nio.file.Files.getFileAttributeView(temp.toPath(), PosixFileAttributeView.class)
                    .readAttributes();
            assertThat(attributes.permissions())
                .containsExactly(OWNER_READ, OWNER_WRITE, OWNER_EXECUTE);
          }
        } finally {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

            final File[] jarFiles = ResourceUtil.getPluginJarFiles(PluginHelper.ArtifactType.DATA_STORE.getId());
            for (final File jarFile : jarFiles) {
                try (FileSystem fs = FileSystems.newFileSystem(jarFile.toPath(), ClassLoader.getSystemClassLoader())) {
                    final Path xmlPath = fs.getPath("fess_ds++.xml");
                    try (InputStream is = Files.newInputStream(xmlPath)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        rootLocator.findRoot(pomFile.getParentFile().toPath()));
    
                DefaultModelBuildingListener listener =
                        new DefaultModelBuildingListener(project, projectBuildingHelper, request);
    
                ModelBuilderRequest modelBuildingRequest = getModelBuildingRequest()
                        .source(ModelSource.fromPath(pomFile.toPath()))
                        .projectBuild(true)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

            }
        }
    
        private boolean fileContainsText(File referencedFile, String text) {
            try {
                for (String line : Files.readAllLines(referencedFile.toPath())) {
                    if (line.contains(text)) {
                        return true;
                    }
                }
            } catch (IOException e) {
                // ignore
            }
            return false;
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 05 07:57:56 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            final Path confPath = getConfPath(names);
            if (Files.exists(confPath)) {
                return confPath;
            }
            return org.codelibs.core.io.ResourceUtil.getResourceAsFile(String.join("/", names)).toPath();
        }
    
        public static Path getClassesPath(final String... names) {
            return getPath("WEB-INF/", "classes", names);
        }
    
        public static Path getOrigPath(final String... names) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                    File remoteFile = new File(basedir, path(download.getArtifact()));
                    try {
                        Path dest = download.getFile().toPath();
                        Files.createDirectories(dest.getParent());
                        Files.copy(remoteFile.toPath(), dest);
                    } catch (IOException e) {
                        if (!remoteFile.exists()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            String parentContent = new String(Files.readAllBytes(parent.toPath()), StandardCharsets.UTF_8);
            parentContent = parentContent.replace(
                    "<packaging>pom</packaging>",
                    "<packaging>pom</packaging><properties><addedProperty>addedValue</addedProperty></properties>");
            Files.write(parent.toPath(), parentContent.getBytes(StandardCharsets.UTF_8));
            // re-build pom with modified parent
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
Back to top