Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for whenMerged (0.13 sec)

  1. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseProjectIntegrationTest.groovy

    apply plugin: 'java'
    apply plugin: 'eclipse'
    
    ext.hooks = []
    
    eclipse {
    
      jdt {
        file {
          beforeMerged {
            hooks << 'beforeMerged'
          }
          whenMerged {
            hooks << 'whenMerged'
            assert '1.1' != it.targetCompatibility.toString()
            it.targetCompatibility = JavaVersion.toVersion('1.1')
          }
          withProperties {
            hooks << 'withProperties'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  2. 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)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseProject.java

     * For tackling edge cases users can perform advanced configuration on resulting XML file.
     * It is also possible to affect the way eclipse plugin merges the existing configuration
     * via beforeMerged and whenMerged closures.
     * <p>
     * beforeMerged and whenMerged closures receive {@link Project} object
     * <p>
     * Examples of advanced configuration:
     *
     * <pre class='autoTested'>
     * plugins {
     *     id 'java'
     *     id 'eclipse'
     * }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseClasspath.java

     * It is also possible to affect the way that the Eclipse plugin merges the existing configuration
     * via beforeMerged and whenMerged closures.
     * <p>
     * The beforeMerged and whenMerged closures receive a {@link Classpath} object.
     * <p>
     * Examples of advanced configuration:
     *
     * <pre class='autoTested'>
     * plugins {
     *     id 'java'
     *     id 'eclipse'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

                whenMerged {whenConfiguredObjects++ }
            }
        }
    
        classpath {
            file {
                beforeMerged {beforeConfiguredObjects++ }
                whenMerged {whenConfiguredObjects++ }
            }
        }
    
        wtp.component {
            file {
                beforeMerged {beforeConfiguredObjects++ }
                whenMerged {whenConfiguredObjects++ }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/core-plugins/eclipse_plugin.adoc

    . The `beforeMerged` hook is executed with a domain object representing the existing file
    . The existing content is merged with the configuration inferred from the Gradle build or defined explicitly in the eclipse DSL
    . The `whenMerged` hook is executed with a domain object representing contents of the file to be persisted
    . The `withXml` hook is executed with a raw representation of the XML that will be persisted
    . The final XML is persisted
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  7. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaProject.java

     *
     * For tackling edge cases users can perform advanced configuration on resulting XML file.
     * It is also possible to affect the way IDEA plugin merges the existing configuration
     * via beforeMerged and whenMerged closures.
     * <p>
     * beforeMerged and whenMerged closures receive {@link Project} object
     * <p>
     * Examples of advanced configuration:
     *
     * <pre class='autoTested'>
     * plugins {
     *     id 'java'
     *     id 'idea'
     * }
     *
    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/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseWtpComponent.java

     * For tackling edge cases users can perform advanced configuration on resulting XML file.
     * It is also possible to affect the way eclipse plugin merges the existing configuration
     * via beforeMerged and whenMerged closures.
     * <p>
     * beforeMerged and whenMerged closures receive {@link WtpComponent} object
     * <p>
     * Examples of advanced configuration:
     *
     * <pre class='autoTested'>
     * plugins {
     *     id 'war'
     *     id 'eclipse-wtp'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/core-plugins/idea_plugin.adoc

     2. The `beforeMerged` hook is executed with a domain object representing the existing file
     3. The existing content is merged with the configuration inferred from the Gradle build or defined explicitly in the eclipse DSL
     4. The `whenMerged` hook is executed with a domain object representing contents of the file to be persisted
     5. The `withXml` hook is executed with a raw representation of the XML that will be persisted
     6. The final XML is persisted
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  10. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaModule.java

     * It is also possible to affect the way the IDEA plugin merges the existing configuration
     * via beforeMerged and whenMerged closures.
     * <p>
     * beforeMerged and whenMerged closures receive a {@link Module} parameter
     * <p>
     * Examples of advanced configuration:
     *
     * <pre class='autoTested'>
     * plugins {
     *     id 'java'
     *     id 'idea'
     * }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 09:58:16 UTC 2024
    - 22.9K bytes
    - Viewed (0)
Back to top