- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 28 for appendNode (0.14 sec)
-
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/maven/src/test/groovy/org/gradle/api/publish/maven/internal/tasks/MavenPomFileGeneratorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 10.3K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaModule.java
* * //if you want to mess with the resulting XML in whatever way you fancy * withXml { * def node = it.asNode() * node.appendNode('iLoveGradle', 'true') * node.appendNode('butAlso', 'I find increasing pleasure tinkering with output *.iml contents. Yeah!!!') * } * * //closure executed after *.iml content is loaded from existing file
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 09:58:16 UTC 2024 - 22.9K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaProject.java
* } * * idea { * project { * ipr { * //you can tinker with the output *.ipr file before it's written out * withXml { * def node = it.asNode() * node.appendNode('iLove', 'tinkering with the output *.ipr file!') * } * * //closure executed after *.ipr content is loaded from existing file * //but before gradle build information is merged
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 12 14:00:13 UTC 2023 - 11.9K bytes - Viewed (0) -
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/IvyDescriptorFileGeneratorTest.groovy
t.asNode().info[0].@revision = "3" } }) descriptor.withXml(new Action<XmlProvider>() { void execute(XmlProvider t) { t.asNode().info[0].appendNode("description", "custom-description-ぴ₦ガき∆ç√∫") } }) then: with (ivyXml) { info.@organisation == "my-org" info.@revision == "3"
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/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseWtpComponent.java
* * wtp { * component { * 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') * } * * //closure executed after wtp component file content is loaded from existing file * //but before gradle build information is merged
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.9K bytes - Viewed (0) -
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/ValidatingIvyPublisherTest.groovy
when: def descriptor = ivyDescriptor() descriptor.withXml(new Action<XmlProvider>() { void execute(XmlProvider t) { t.asNode().info[0].appendNode("extends", ["organisation": "parent-org", "module": "parent-module", "revision": "parent-revision"]) } }) and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 15K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseProjectIntegrationTest.groovy
linkedResource name: 'linkToFolderFoo', type: 'aFolderFoo', location: '/test/folders/foo' linkedResource name: 'linkToUriFoo', type: 'aFooUri', locationUri: 'http://test/uri/foo' file { withXml { it.asNode().appendNode('motto', 'Stay happy!') } } } jdt { sourceCompatibility = 1.4 targetCompatibility = 1.3 } } """ when: run("eclipse") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 18K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseClasspath.java
* } * * eclipse { * classpath { * 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') * } * * //closure executed after .classpath content is loaded from existing file * //but before gradle build information is merged * beforeMerged { classpath ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 13.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDescriptorModuleExcludeResolveIntegrationTest.groovy
if (!excludeAttributes.containsKey("matcher")) { excludeAttributes.put("matcher", "exact") } module.withXml { asNode().dependencies[0].appendNode(EXCLUDE_ATTRIBUTE, excludeAttributes) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 15.5K bytes - Viewed (0)