Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for fromMat3 (2.37 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

        }
    
        @Nullable
        ModelSource resolve(@Nonnull ModelLocator modelLocator, @Nonnull String relative);
    
        @Nonnull
        static ModelSource fromPath(@Nonnull Path path) {
            return fromPath(path, null);
        }
    
        @Nonnull
        static ModelSource fromPath(@Nonnull Path path, @Nullable String location) {
            return new PathSource(nonNull(path, "path cannot be null"), location);
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/LibraryTest.groovy

        }
    
        private Library createLibrary() {
            Library library = new Library(fileReferenceFactory.fromPath('/ant.jar'))
            library.exported = true
            library.nativeLibraryLocation = 'mynative'
            library.accessRules += [new AccessRule('nonaccessible', 'secret**')]
            library.sourcePath = fileReferenceFactory.fromPath("/ant-src.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

        }
    
        @Nonnull
        static SettingsBuilderRequest build(
                @Nonnull Session session, @Nonnull Path globalSettingsPath, @Nonnull Path userSettingsPath) {
            return build(session, Source.fromPath(globalSettingsPath), null, Source.fromPath(userSettingsPath));
        }
    
        @Nonnull
        static SettingsBuilderRequest build(
                @Nonnull Session session,
                @Nullable Source globalSettingsSource,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformer.java

            LinkedList<String> fromPath = splitPath(from);
            LinkedList<String> toPath = splitPath(to);
            List<String> relativePath = new ArrayList<String>();
    
            while (!fromPath.isEmpty() && !toPath.isEmpty() && fromPath.get(0).equals(toPath.get(0))) {
                fromPath.removeFirst();
                toPath.removeFirst();
            }
            for (String ignored : fromPath) {
                relativePath.add("..");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/util/internal/RelativePathUtilTest.groovy

    class RelativePathUtilTest extends Specification {
    
        def "relative path from #fromPath to #toPath is #path"() {
            when:
            def from = new File(fromPath)
            def to = new File(toPath)
    
            then:
            RelativePathUtil.relativePath(from, to) == path
    
            where:
            fromPath | toPath  | path
            "a"      | "a/b"   | "b"
            "a"      | "a/b/a" | "b/a"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ClasspathTest.groovy

            Library library = new Library(fileReferenceFactory.fromPath("/somepath"))
            library.exported = true
            return library
        }
    
        private ProjectDependency createProjectDependency(String path, String publicationPath, Map entryAttributes) {
            def projectDependency = new ProjectDependency(path)
            projectDependency.publication = fileReferenceFactory.fromPath(publicationPath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

                                    ? Source.fromPath(globalToolchainsPath)
                                    : null)
                    .userToolchainsSource(
                            userToolchainsPath != null && Files.exists(userToolchainsPath)
                                    ? Source.fromPath(userToolchainsPath)
                                    : null)
                    .build();
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

                    return ModelSource.fromPath(Paths.get("src/test/resources/consumer/simple/pom.xml"));
                } else if (id.startsWith("org.sonatype.mavenbook.multi:simple-parent:")) {
                    return ModelSource.fromPath(Paths.get("src/test/resources/consumer/simple/simple-parent/pom.xml"));
                } else if (id.startsWith("org.my.group:parent:")) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ExpirationTime, err)
    		return false
    	}
    	fromDate, err := time.Parse(time.RFC3339, cert.ValidFrom)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ValidFrom, err)
    		return false
    	}
    	if today.After(fromDate) && today.Before(expDate) {
    		return true
    	}
    	return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 16:38:16 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactoryTest.groovy

            expect:
            factory.fromFile(null) == null
        }
    
        def "creates a reference from a file path"() {
            TestFile file = tmpDir.file("file.txt")
    
            expect:
            def reference = factory.fromPath(relpath(file))
            reference.file == file
            reference.path == relpath(file)
            !reference.relativeToPathVariable
        }
    
        def "creates a reference from a jar url"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top