- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for appendNode (0.2 sec)
-
platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/tasks/internal/XcodeSchemeFile.java
} private static Node getOrAppendNode(Node xml, String name) { NodeList nodes = (NodeList) xml.get(name); if (nodes.isEmpty()) { return xml.appendNode(name); } return (Node) nodes.get(0); } @Override protected String getDefaultResourceName() { return "default.xcscheme"; } public static class BuildAction {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 9.1K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/WbResource.java
this.sourcePath = sourcePath; } @Override public void appendNode(Node node) { Map<String, Object> attributes = new LinkedHashMap<>(); attributes.put("deploy-path", deployPath); attributes.put("source-path", sourcePath); node.appendNode("wb-resource", 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.6K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/WbProperty.java
} public void setValue(String value) { this.value = value; } @Override public void appendNode(Node node) { Map<String, Object> attributes = new LinkedHashMap<>(); attributes.put("name", name); attributes.put("value", value); node.appendNode("property", 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.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/visual-studio/groovy/build.gradle
// tag::customize-project-files[] model { visualStudio { projects.all { project -> projectFile.withXml { asNode().appendNode('PropertyGroup', [Label: 'Custom']) .appendNode('ProjectDetails', "Project is named ${project.name}") } } } } // end::customize-project-files[] // tag::customize-solution-files[] model {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Facet.java
this.version = version; } public void appendNode(Node node) { Map<String, Object> attributes = new LinkedHashMap<>(); attributes.put("facet", name); if (type == FacetType.installed) { attributes.put("version", version); } node.appendNode(type.name(), attributes); } @Override public boolean equals(Object o) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/FacetTest.groovy
Node rootNode = new Node(null, 'root') when: createFacet().appendNode(rootNode) then: new Facet(rootNode.installed[0]) == createFacet() } def canWriteFixedToXml() { Node rootNode = new Node(null, 'root') when: createFixedFacet().appendNode(rootNode) then: new Facet(rootNode.fixed[0]) == createFixedFacet() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/ClasspathEntry.java
*/ package org.gradle.plugins.ide.eclipse.model; import groovy.util.Node; /** * Represents an entry in the Eclipse classpath. */ public interface ClasspathEntry { String getKind(); void appendNode(Node node);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 836 bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/generator/XmlPersistableConfigurationObject.java
}), null); } public static Node findOrCreateFirstChildNamed(Node root, String name) { Node child = findFirstChildNamed(root, name); if (child == null) { child = root.appendNode(name); } return child; } public static Node findOrCreateFirstChildWithAttributeValue(@Nullable Node root, String childName, String attribute, String value) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ear/earCustomized/groovy/ear/build.gradle
securityRole "admin" securityRole "superadmin" withXml { provider -> // add a custom node to the XML provider.asNode().appendNode("data-source", "my/data/source") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/OutputTest.groovy
then: output == createOutput() } def canWriteToXml() { Node rootNode = new Node(null, 'root') when: createOutput().appendNode(rootNode) then: new Output(rootNode.classpathentry[0]) == createOutput() } def equality() { Output output = createOutput() output.path += 'x' expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 1.4K bytes - Viewed (0)