- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 233 for asNode (0.18 sec)
-
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioIncrementalIntegrationTest.groovy
when: buildFile.text = buildFile.text.replace "projectFile.withXml { }", """ 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) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 13.4K bytes - Viewed (0) -
platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publisher/ValidatingMavenPublisherTest.groovy
def pomFile = createPomFile(makeProjectIdentity("group", "artifact", "version"), new Action<XmlProvider>() { void execute(XmlProvider xml) { xml.asNode().appendNode("parent") } }) def publication = new MavenNormalizedPublication("pub-name", projectIdentity, "pom", pomFile, null, emptySet()) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 12K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/AbstractVisualStudioIntegrationSpec.groovy
relativeToRoot = "." } visualStudioProject.projectFile.withXml { xml -> redirectOutputForAll xml.asNode().PropertyGroup.findAll { it.'@Label' == 'NMakeConfiguration' }, relativeToRoot } } } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/IvyDescriptorFileGeneratorTest.groovy
when: descriptor.withXml(new Action<XmlProvider>() { void execute(XmlProvider t) { t.asNode().info[0].@revision = "3" } }) descriptor.withXml(new Action<XmlProvider>() { void execute(XmlProvider t) { t.asNode().info[0].appendNode("description", "custom-description-ぴ₦ガき∆ç√∫") } }) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 13.7K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIdentifierValidationIntegTest.groovy
} publications { maven(MavenPublication) { from components.java pom.withXml { asNode().appendNode('description', '${sq(description)}') } } } } """ when: succeeds 'publish' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyHttpRepoResolveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpModelIntegrationTest.groovy
assert it.deployName == 'coolDeployName' } whenMerged { hooks << 'whenMerged' it.deployName = 'betterDeployName' } withXml { it.asNode().appendNode('be', 'cool') } } } } } eclipseWtpComponent.doLast() { assert hooks == ['beforeMerged', 'whenMerged'] } """ //when
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 16.3K bytes - Viewed (0) -
platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishValidationIntegTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/MavenPom.java
* plugins { * id 'maven-publish' * } * * publishing { * publications { * maven(MavenPublication) { * pom.withXml { * asNode().appendNode('properties').appendNode('my-property', 'my-value') * } * } * } * } * </pre> *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseWtpFacet.java
* facet name: 'someCoolFacet', version: '1.3' * * file { * //if you want to mess with the resulting XML in whatever way you fancy * withXml { * def node = it.asNode() * node.appendNode('xml', 'is what I love') * } * * //beforeMerged and whenMerged closures are the highest voodoo for the tricky edge cases.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6K bytes - Viewed (0)