Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for appendNode (0.25 sec)

  1. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioProjectFile.groovy

            resources.appendNode("ResourceCompile", [Include: toPath(it)])
        }
    
        def addHeaderFile(File it) {
            def headers = xml.ItemGroup.find({ it.'@Label' == 'Headers' }) as Node
            headers.appendNode("ClInclude", [Include: toPath(it)])
        }
    
        def addConfiguration(VisualStudioProjectConfiguration configuration) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioFiltersFile.groovy

            'default.vcxproj.filters'
        }
    
        def addSource(File sourceFile) {
            sources.appendNode("ClCompile", [Include: toPath(sourceFile)]).appendNode('Filter', 'Source Files')
        }
    
        def addHeader(File headerFile) {
            headers.appendNode("ClInclude", [Include: toPath(headerFile)]).appendNode('Filter', 'Header Files')
        }
    
        def getFilters() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/ModuleLibrary.java

            orderEntryAttributes.putAll(getAttributeMapForScopeAndExported());
            Node libraryNode = parentNode.appendNode("orderEntry", orderEntryAttributes).appendNode("library");
            Node classesNode = libraryNode.appendNode("CLASSES");
            Node javadocNode = libraryNode.appendNode("JAVADOC");
            Node sourcesNode = libraryNode.appendNode("SOURCES");
            for (Path path : classes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/ProjectLibrary.java

            }
            Node libraryNode = parentNode.appendNode("library", libraryAttributes);
            Node classesNode = libraryNode.appendNode("CLASSES");
            for (File file : classes) {
                Map<String, Object> attributes = new LinkedHashMap<>();
                attributes.put("url", pathFactory.path(file).getUrl());
                classesNode.appendNode("root", attributes);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaWorkspaceIntegrationTest.groovy

            //when
            runIdeaTask '''
    apply plugin: "java"
    apply plugin: "idea"
    
    idea.workspace.iws.withXml { it.asNode().appendNode('foo', 'bar') }
    
    idea {
        workspace {
            iws {
                withXml {
                    it.asNode().appendNode('stay', 'happy')
                }
            }
        }
    }
    '''
    
            //then
            String content = getFile([:], "root.iws").text
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/AbstractClasspathEntry.java

                    Cast.<Iterable<?>>uncheckedCast(value).forEach(valueElement ->
                        attributesNode.appendNode("attribute", ImmutableMap.of(
                            "name", key,
                            "value", valueElement)
                        )
                    );
                } else {
                    attributesNode.appendNode("attribute", ImmutableMap.of(
                        "name", key,
                        "value", value)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/WbDependentModule.java

        }
    
        @Override
        public void appendNode(Node parentNode) {
            Map<String, Object> attributes = new LinkedHashMap<>();
            attributes.put("archiveName", archiveName);
            attributes.put("deploy-path", deployPath);
            attributes.put("handle", handle);
            Node node = parentNode.appendNode("dependent-module", attributes);
            node.appendNode("dependency-type").setValue("uses");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Output.java

        }
    
        @Override
        public String getKind() {
            return "output";
        }
    
        @Override
        public void appendNode(Node node) {
            Map<String, Object> attributes = new LinkedHashMap<>();
            attributes.put("kind", getKind());
            attributes.put("path", path);
            node.appendNode("classpathentry", attributes);
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/VisualStudioProject.java

     *      visualStudio {
     *          projects.all {
     *              projectFile.location = "vs/${name}.vcxproj"
     *              projectFile.withXml {
     *                  asNode().appendNode('PropertyGroup', [Label: 'Custom'])
     *                          .appendNode('ProjectDetails', "Project is named ${project.name}")
     *              }
     *          }
     *      }
     *  }
     * </pre>
     */
    @HasInternalProtocol
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioFileCustomizationIntegrationTest.groovy

                    projectFile.withXml { xml ->
                        Node globals = xml.asNode().PropertyGroup.find({it.'@Label' == 'Globals'}) as Node
                        globals.appendNode("ExtraInfo", "Some extra info")
                        globals.appendNode("ProjectName", project.name)
                    }
                }
            }
        }
    """
            and:
            run "visualStudio"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top