Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,184 for relativeTo (0.19 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/file/FileSystemLocationProperty.java

         * that owns this property instance.
         */
        void set(@Nullable File file);
    
        /**
         * Sets the location of this file, using a {@link File} instance. {@link File} instances with relative paths are resolved relative to the project directory of the project
         * that owns this property instance.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 12:28:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/file/PathToFileResolver.java

    import java.io.File;
    
    /**
     * Resolves some path object to a `File`. May or may not be able to resolve relative paths.
     */
    public interface PathToFileResolver {
        /**
         * Resolves the given path to a file.
         */
        File resolve(Object path);
    
        /**
         * Returns a resolver that resolves paths relative to the given base dir.
         */
        PathToFileResolver newResolver(File baseDir);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/gopath_local.txt

    [short] skip
    
    # Imports should be resolved relative to the source file.
    go build testdata/local/easy.go
    exec ./easy$GOEXE
    stdout '^easysub\.Hello'
    
    # Ignored files should be able to import the package built from
    # non-ignored files in the same directory.
    go build -o easysub$GOEXE testdata/local/easysub/main.go
    exec ./easysub$GOEXE
    stdout '^easysub\.Hello'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/vcs/VersionControlRepository.java

        /**
         * Returns the relative path to the root of the build within the repository.
         *
         * <p>Defaults to an empty relative path, meaning the root of the repository.
         *
         * @return the root directory of the build, relative to the root of this repository.
         */
        String getRootDir();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 16:56:23 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/VfsRelativePath.java

    import static org.gradle.internal.snapshot.PathUtil.isFileSeparator;
    
    /**
     * A relative path represented by a path suffix of an absolute path.
     *
     * The use of this class is to improve performance by avoiding to call {@link String#substring(int)}.
     * The class represents the relative path of absolutePath.substring(offset).
     *
     * A relative path does not start or end with a slash.
     */
    public class VfsRelativePath {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/execution/selection/BuildTaskSelector.java

        /**
         * @param rootDir When not null, specifies the build to resolve tasks relative to. When null, resolve relative to the default build.
         * @param projectPath When not null, specifies the project within the target build to resolve tasks relative to. When null, resolve relative to the default project of the target build.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/promotion/BasePublishGradleDistribution.kt

    import common.gradleWrapper
    import common.promotionBuildParameters
    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.FailureAction
    import jetbrains.buildServer.configs.kotlin.RelativeId
    import vcsroots.gradlePromotionMaster
    
    abstract class BasePublishGradleDistribution(
        // The branch to be promoted
        val promotedBranch: String,
        val prepTask: String?,
        val triggerName: String,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 17:05:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/ApacheDirectoryListingParserTest.groovy

            "http://[2001:db8::7]" | "directory1"                 | "ipv6 host with relative URLS"
            "http://[2001:db8::7]" | "./directory1"               | "ipv6 host with explicit relative URLS"
            "http://192.0.0.10"    | "directory1"                 | "ipv4 host with relative URLS"
            "http://192.0.0.10"    | "./directory1"               | "ipv4 host with relative URLS"
        }
    
        def "parse is compatible with #repoType"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy

                                relativeExpected = project.file('/path/to/Thing.groovy').absolutePath - projectDirPath
                                println "3: ${relative == relativeExpected}"
                                assert relative == relativeExpected
    
                                assert p.theFile4
                                relative = p.theFile4.absolutePath - projectDirPath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/files/file/kotlin/build.gradle.kts

    import java.nio.file.Paths
    
    // tag::simple-params[]
    // Using a relative path
    var configFile = file("src/config.xml")
    
    // Using an absolute path
    configFile = file(configFile.absolutePath)
    
    // Using a File object with a relative path
    configFile = file(File("src/config.xml"))
    
    // Using a java.nio.file.Path object with a relative path
    configFile = file(Paths.get("src", "config.xml"))
    
    // Using an absolute java.nio.file.Path object
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 546 bytes
    - Viewed (0)
Back to top