Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for ToPath (0.13 sec)

  1. 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)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

            """
    
            expect: "success"
            fails 'copy'
    
            and: "with a clear failure message"
            failure.assertHasCause("Cannot copy file '$unzippedFile2' to '${file('after/sub/new.txt').toPath()}' because file '$unzippedFile' has already been copied there.")
            failure.assertHasDescription("Execution failed for task ':copy'.")
        }
    
        // region duplicates in compressed files
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            }
        }
    
        @Deprecated
        @Override
        public Result<? extends Model> buildRawModel(File pomFile, int validationLevel, boolean locationTracking) {
            return buildRawModel(pomFile.toPath(), validationLevel, locationTracking, null);
        }
    
        @Override
        public Result<? extends Model> buildRawModel(Path pomFile, int validationLevel, boolean locationTracking) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        synchronized(cache) { cache.initialize() }
      }
    
      fun setUp(
        baseFilesystem: FileSystem,
        windows: Boolean,
      ) {
        this.cacheDir =
          if (baseFilesystem is FakeFileSystem) "/cache".toPath() else cacheDirFile.path.toPath()
        this.filesystem = FaultyFileSystem(baseFilesystem)
        this.windows = windows
    
        if (filesystem.exists(cacheDir)) {
          filesystem.deleteRecursively(cacheDir)
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  5. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            try {
                File configFile = new File(cliRequest.multiModuleProjectDirectory, MVN_MAVEN_CONFIG);
    
                if (configFile.isFile()) {
                    try (Stream<String> lines = Files.lines(configFile.toPath(), Charset.defaultCharset())) {
                        String[] args = lines.filter(arg -> !arg.isEmpty() && !arg.startsWith("#"))
                                .toArray(String[]::new);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

    import okhttp3.testing.Flaky
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HandshakeCertificates
    import okio.Buffer
    import okio.BufferedSink
    import okio.GzipSink
    import okio.Path.Companion.toPath
    import okio.buffer
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Assertions.assertArrayEquals
    import org.junit.jupiter.api.Assumptions.assumeTrue
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

                    GFileUtils.parentMkdirs(leakDetectorJar);
                    GFileUtils.touch(leakDetectorJar);
                    try (OutputStream out = Files.newOutputStream(leakDetectorJar.toPath());
                         InputStream in = new URL(leakDetectorUrl).openStream()) {
                        ByteStreams.copy(in, out);
                    } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            PomTestWrapper pom = buildPom("baseuri-interpolation/pom.xml");
            String prop1 = pom.getValue("properties/prop1").toString();
            assertEquals(pom.getBasedir().toPath().toUri().toASCIIString(), prop1);
            assertThat(prop1, startsWith("file:///"));
        }
    
        /* MNG-3811*/
        @Test
        void testReportingPluginConfig() throws Exception {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  9. src/cmd/go/go_test.go

    	tg.run("env", "GOPATH")
    	tg.grepStdout(regexp.QuoteMeta(tg.path("home/go")), "want GOPATH=$HOME/go")
    
    	tg.setenv("GOROOT", tg.path("home/go"))
    	tg.run("env", "GOPATH")
    	tg.grepStdoutNot(".", "want unset GOPATH because GOROOT=$HOME/go")
    
    	tg.setenv("GOROOT", tg.path("home/go")+"/")
    	tg.run("env", "GOPATH")
    	tg.grepStdoutNot(".", "want unset GOPATH because GOROOT=$HOME/go/")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  10. src/go/build/build.go

    		} else {
    			paths = append(paths, "\t($GOROOT not set)")
    		}
    		format = "\t%s (from $GOPATH)"
    		for _, dir := range tried.gopath {
    			paths = append(paths, fmt.Sprintf(format, dir))
    			format = "\t%s"
    		}
    		if len(tried.gopath) == 0 {
    			paths = append(paths, "\t($GOPATH not set. For more details see: 'go help gopath')")
    		}
    		return p, fmt.Errorf("cannot find package %q in any of:\n%s", path, strings.Join(paths, "\n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
Back to top