Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for entryAttributes (0.19 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/AbstractClasspathEntry.java

        }
    
        public Map<String, Object> getEntryAttributes() {
            return entryAttributes;
        }
    
        public String getNativeLibraryLocation() {
            return (String) entryAttributes.get(NATIVE_LIBRARY_ATTRIBUTE);
        }
    
        public void setNativeLibraryLocation(String location) {
            entryAttributes.put(NATIVE_LIBRARY_ATTRIBUTE, location);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key1 = 'value1'
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key2 = 'value2'
                           }
                       }
                   }
               }
            """
            file('src/main/java').mkdirs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key1 = 'value1'
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key2 = 'value2'
                           }
                       }
                   }
               }
            """
            file('src/main/java').mkdirs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ClasspathTest.groovy

        }
    
        private ProjectDependency createProjectDependency(String path, String publicationPath, Map entryAttributes) {
            def projectDependency = new ProjectDependency(path)
            projectDependency.publication = fileReferenceFactory.fromPath(publicationPath)
            projectDependency.entryAttributes.putAll(entryAttributes)
            return projectDependency
        }
    
        private InputStream getToXmlReader() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/ProjectDependency.java

                ", buildDependencies=" + buildDependencies +
                ", path='" + path + '\'' +
                ", exported=" + exported +
                ", accessRules=" + accessRules +
                ", entryAttributes=" + entryAttributes +
                '}';
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseScopeAttributeIntegrationTest.groovy

                    def guavaDep = entries.find { entry -> entry.path.contains 'guava-18.0.jar' }
                    testDir.entryAttributes['gradle_used_by_scope'] = 'test,integTest'
                    guavaDep.entryAttributes['gradle_used_by_scope'] = 'main,test,integTest'
                }
            """
            file('src/test/java').mkdirs()
    
            when:
            run 'eclipse'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 10 13:19:47 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelCrossVersionSpec.groovy

               eclipse {
                   classpath {
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == "lib" }.entryAttributes['customkey'] = 'whenMerged'
                           }
                       }
                   }
                }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathAttributesCrossVersionSpec.groovy

                       containers 'containerPath'
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.path == 'containerPath' }.entryAttributes.customKey = 'customValue'
                           }
                       }
                   }
               }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpModelIntegrationTest.groovy

                    if(it instanceof AbstractClasspathEntry) {
                      //some people have workarounds in their builds and configure the component dependency,
                      //just like here:
                      it.entryAttributes[AbstractClasspathEntry.COMPONENT_DEPENDENCY_ATTRIBUTE] = 'WEB-INF/lib'
                    }
                  }
                }
            """
    
            //when
            executer.withTasks("eclipse").run()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top