Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 95 for toPaths (0.3 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocIntegrationTest.groovy

                task javadoc(type: Javadoc) {
                    destinationDir = file("build/javadoc")
                    source "src/main/java"
                    executable = new File(".").getCanonicalFile().toPath().relativize(new File("${executable}").toPath()).toString()
                }
            """
    
            writeSourceFile()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStep.java

                // By moving the inconsistent workspace we also preserve it for later inspection.
                Files.move(immutableLocation.toPath(), failedWorkspaceLocation.toPath(), StandardCopyOption.ATOMIC_MOVE);
            } catch (IOException e) {
                throw new UncheckedIOException(String.format("Could not move inconsistent immutable workspace (%s) to temporary location (%s)",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:44:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDependencyInferenceIntegrationTest.groovy

            where:
            value                                             | path
            "file('123')"                                     | '123'
            "file('123').toPath()"                            | '123'
            "layout.projectDirectory"                         | '.'
            "layout.projectDirectory.file('123')"             | '123'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:20:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                // Not using File#lastModified() to avoid a Linux JDK8 milliseconds precision bug: JDK-8177809.
                long artifactLastModified =
                        Files.getLastModifiedTime(packagedArtifactFile.toPath()).toMillis();
    
                if (session.getProjectBuildingRequest().getBuildStartTime() != null) {
                    long buildStartTime =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            RepositorySystemSession rss = new MavenSessionBuilderSupplier(repositorySystem)
                    .get()
                    .withLocalRepositoryBaseDirectories(new File("target").toPath())
                    .build();
            DefaultMavenExecutionRequest mer = new DefaultMavenExecutionRequest();
            DefaultMavenExecutionResult meres = new DefaultMavenExecutionResult();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

        public Path getPomPath() {
            return pomPath;
        }
    
        @Deprecated
        @Override
        public DefaultModelBuildingRequest setPomFile(File pomFile) {
            this.pomPath = (pomFile != null) ? pomFile.toPath().toAbsolutePath() : null;
            return this;
        }
    
        @Override
        public DefaultModelBuildingRequest setPomPath(Path pomPath) {
            this.pomPath = (pomPath != null) ? pomPath.toAbsolutePath() : null;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy

                        return getProject().files();
                    }
    
                    @Input
                    public Path getFilePath() {
                        return new File("some-file").toPath();
                    }
    
                    @Input
                    public FileTree getFileTree() {
                        return getProject().files().getAsFileTree();
                    }
    
                    @TaskAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 14:30:05 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/DependencyVerificationReportWriter.java

            }
            return shortenPath;
        }
    
        // Shortens the path for display the user
        private String shortenPath(File file) {
            Path path = file.toPath();
            try {
                Path relativize = gradleUserHome.relativize(path);
                return "GRADLE_USER_HOME" + File.separator + relativize;
            } catch (IllegalArgumentException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/toolchain/DaemonJavaToolchainQueryServiceTest.groovy

            }
    
            Mock(JvmInstallationMetadata) {
                getLanguageVersion() >> JavaVersion.toVersion(languageVersion)
                getJavaHome() >> location.absoluteFile.toPath()
                getJavaVersion() >> languageVersion.replace("zzz", "999")
                isValidInstallation() >> true
                getVendor() >> JvmVendor.fromString(vendor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            File psOutFile = new File(rootProjectDir, timestamp + ".psoutput");
    
            try {
                Files.write(psOutFile.toPath(), psOutput);
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    
        private static void cleanPsOutputAndThreaddumpFilesFromPreviousRun(File rootProjectDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top