Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for newFileSystem (0.09 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    @Deprecated
    class MavenPropertiesLoaderTest {
    
        @Test
        void testIncludes() throws Exception {
            FileSystem fs = Jimfs.newFileSystem(Configuration.unix());
    
            Path mavenHome = fs.getPath("/maven");
            Files.createDirectories(mavenHome);
            Path mavenConf = mavenHome.resolve("conf");
            Files.createDirectories(mavenConf);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Dec 01 19:41:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

            URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI());
            try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) {
                Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE);
                if (Files.exists(upgradedPropertiesJson)) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue May 27 09:07:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvokerTest.java

        }
    
        @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)")
        @Test
        void jimFs() throws Exception {
            try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
                invoke(fs.getPath("/cwd"), fs.getPath("/home"), List.of("verify"), List.of());
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 10:47:37 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

            val classGraph = classGraph()
    
            val jarUri = URI.create("jar:${jarFile.toPath().toUri()}")
            FileSystems.newFileSystem(jarUri, emptyMap<String, Any>()).use { jarFileSystem ->
                jarFileSystem.rootDirectories.forEach {
                    visitClassDirectory(it, classGraph, classesDir, manifestFile.toPath(), buildReceipt.toPath())
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Mar 22 03:48:38 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

        }
    
        @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)")
        @Test
        void jimFs() throws Exception {
            try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
                invoke(fs.getPath("/cwd"), fs.getPath("/home"), List.of("verify"), List.of());
            }
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 21 12:17:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

            if (jarFiles == null) {
                return nameSet.stream().sorted().collect(Collectors.toList());
            }
            for (final File jarFile : jarFiles) {
                try (FileSystem fs = FileSystems.newFileSystem(jarFile.toPath(), ClassLoader.getSystemClassLoader())) {
                    final Path xmlPath = fs.getPath("fess_ds++.xml");
                    if (!Files.exists(xmlPath)) {
                        if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top