Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for fromJarURI (0.14 sec)

  1. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactoryTest.groovy

            expect:
            def reference = factory.fromJarURI(jarUrL(file))
            reference.file == file
            reference.path == relpath(file)
            reference.jarURL == jarUrL(file);
            !reference.relativeToPathVariable
        }
    
        def "creates null reference for a null jar url"() {
            expect:
            factory.fromJarURI(null) == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/LibraryTest.groovy

            library.accessRules += [new AccessRule('nonaccessible', 'secret**')]
            library.sourcePath = fileReferenceFactory.fromPath("/ant-src.jar")
            library.javadocPath = fileReferenceFactory.fromJarURI("jar:${new File("ant-javadoc.jar").toURI()}!/");
            return library
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/VariableTest.groovy

            variable.accessRules += [new AccessRule('nonaccessible', 'secret**')]
            variable.sourcePath = fileReferenceFactory.fromVariablePath("/GRADLE_CACHE/ant-src.jar")
            variable.javadocPath = fileReferenceFactory.fromJarURI("jar:${new File("ant-javadoc.jar").toURI()}!/");
            return variable
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/AbstractLibrary.java

            super(node);
            String javadocLocation = (String) getEntryAttributes().get(ATTRIBUTE_JAVADOC_LOCATION);
            javadocPath = fileReferenceFactory.fromJarURI(javadocLocation);
        }
    
        public AbstractLibrary(FileReference library) {
            super(library.getPath());
            this.library = library;
        }
    
        public FileReference getSourcePath() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactory.java

            }
            return new FileReferenceImpl(new File(path), path, false);
        }
    
        /**
         * Creates a reference to the given path. Returns null for null path
         */
        public FileReference fromJarURI(String jarURI) {
            if (jarURI== null) {
                return null;
            }
            //cut the pre and postfix of this url
            URI fileURI = null;
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top