Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for locationURI (0.17 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/eclipse/DefaultEclipseLinkedResource.java

        private String name;
        private String type;
        private String location;
        private String locationUri;
    
        public DefaultEclipseLinkedResource(String name, String type, String location, String locationUri) {
            this.name = name;
            this.type = type;
            this.location = location;
            this.locationUri = locationUri;
        }
    
        public String getName() {
            return name;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m4/ToolingApiEclipseLinkedResourcesCrossVersionSpec.groovy

            minimalProject.linkedResources[0].location == '/path/to/foo'
            minimalProject.linkedResources[0].locationUri == null
    
            minimalProject.linkedResources[1].name == 'bar'
            minimalProject.linkedResources[1].type == '3'
            minimalProject.linkedResources[1].location == null
            minimalProject.linkedResources[1].locationUri == 'file://..'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Link.java

        }
    
        public void setLocation(String location) {
            this.location = location;
        }
    
        public String getLocationUri() {
            return locationUri;
        }
    
        public void setLocationUri(String locationUri) {
            this.locationUri = locationUri;
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r27/ToolingApiEclipseLinkedResourcesCrossVersionSpec.groovy

            subprojectA.linkedResources[0].locationUri == null
    
            subprojectA.linkedResources[1].name == 'src-root'
            subprojectA.linkedResources[1].type == '2'
            subprojectA.linkedResources[1].location == normaliseFileSeparators(srcRootFolder1.getAbsolutePath())
            subprojectA.linkedResources[1].locationUri == null
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/eclipse/EclipseLinkedResource.java

        /**
         * The resource type.
         * <p>
         * If 'location' property is used the values are: "1" for a file, or "2" for a folder.
         * <p>
         * If 'locationUri' property is used then the values are:
         * "1" for file or folder when 'locationUri' first segment is a workspace path variable (or path variable navigation element),
         * "2" for an eclipse virtual folder.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/EclipseProjectTest.groovy

        def "allows adding linked resources"() {
            when:
            eclipseProject.linkedResource(name: 'foo', type: 'folder', location: '/stuff/foo')
            eclipseProject.linkedResource(name: 'bar', type: 'uri', locationUri: 'file:///stuff/bar')
    
            then:
            2 == eclipseProject.linkedResources.size()
        }
    
        def "complains when invalid link created"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseProject.java

     *
     *     //if you want to create an extra link in the eclipse project,
     *     //by location uri:
     *     linkedResource name: 'someLinkByLocationUri', type: 'someLinkType', locationUri: 'file://someUri'
     *     //by location:
     *     linkedResource name: 'someLinkByLocation', type: 'someLinkType', location: '/some/location'
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseLinkedResourceIntegrationTest.groovy

            buildScript '''
                plugins {
                    id 'eclipse'
                }
                eclipse {
                    project {
                        linkedResource name: 'README.md', type: '1', locationUri: 'PARENT-1-PROJECT_LOC/README.md'
                    }
                }
            '''.stripIndent()
    
            when:
            run 'eclipse'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIDEModelPerformanceTest.groovy

                    }
                    description
                    name
                    linkedResources.each {
                        it.name
                        it.location
                        it.locationUri
                        it.type
                    }
                    projectDirectory
                    sourceDirectories.each {
                        it.path
                        it.directory
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

            runEclipseTask '''
    apply plugin: 'java'
    apply plugin: 'eclipse'
    
    eclipse.project {
        linkedResource name: 'one', type: '2', location: '/xyz'
        linkedResource name: 'two', type: '3', locationUri: 'file://xyz'
    }
    '''
    
            def xml = parseProjectFile()
            assert xml.linkedResources.link[0].name.text() == 'one'
            assert xml.linkedResources.link[0].type.text() == '2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top