Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 72 for appendNode (0.21 sec)

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

     *
     *       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.
     *         //the type passed to the closures is {@link WtpFacet}
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Classpath.java

            for (Object classpathEntry : classpathEntryNodes) {
                xml.remove((Node) classpathEntry);
            }
            for (ClasspathEntry entry : filterDuplicateProjectDependencies(entries)) {
                entry.appendNode(xml);
            }
        }
    
        /*
         * Gradle 5.6 introduced closed project substitution for Buildship: https://github.com/gradle/gradle/pull/9405
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/descriptor/internal/DefaultDeploymentDescriptorTest.groovy

            descriptor.securityRole({ role ->
                role.roleName = "superadmin"
                role.description = "Role of super admin"
            } as Action<EarSecurityRole>)
            descriptor.withXml { it.asNode().appendNode("data-source", "my/data/source") }
    
            when:
            descriptor.writeTo(out)
    
            then:
            out.toString() == toPlatformLineSeparators("""<?xml version="1.0"?>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 19 22:06:51 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/tasks/MavenPomFileGeneratorTest.groovy

            }
        }
    
        def "applies withXml actions"() {
            when:
            pom.withXml {
                asNode().groupId[0].value = "new-group"
            }
            pom.withXml {
                asNode().appendNode("description", "custom-description-ぴ₦ガき∆ç√∫")
            }
    
            then:
            with (xml) {
                groupId == "new-group"
                description == "custom-description-ぴ₦ガき∆ç√∫"
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. 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)
  6. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.plugins.ide.eclipse.model.AbstractLibrary.appendNode(groovy.util.Node)> has arguments/return type groovy.util.Node that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (AbstractLibrary.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top