Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for pathVariables (0.29 sec)

  1. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/EclipseModelTest.groovy

        def "enables setting path variables even if wtp is not configured"() {
            given:
            model.wtp = null
    
            when:
            model.pathVariables(one: new File('.'))
            model.pathVariables(two: new File('.'))
    
            then:
            model.classpath.pathVariables == [one: new File('.'), two: new File('.')]
        }
    
        def "enables setting path variables even if wtp component is not configured"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaModel.java

         *
         * @param pathVariables A map with String->File pairs.
         */
        public void pathVariables(Map<String, File> pathVariables) {
            Preconditions.checkNotNull(pathVariables);
            module.getPathVariables().putAll(pathVariables);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseModel.java

         *
         * @param pathVariables A map with String-&gt;File pairs.
         */
        public void pathVariables(Map<String, File> pathVariables) {
            Preconditions.checkNotNull(pathVariables);
            classpath.getPathVariables().putAll(pathVariables);
            if (wtp != null && wtp.getComponent() != null) {
                wtp.getComponent().getPathVariables().putAll(pathVariables);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseWtpComponent.java

            return pathVariables;
        }
    
        public void setPathVariables(Map<String, File> pathVariables) {
            this.pathVariables = pathVariables;
        }
    
        public FileReferenceFactory getFileReferenceFactory() {
            FileReferenceFactory referenceFactory = new FileReferenceFactory();
            for (Map.Entry<String, File> pathVariable : pathVariables.entrySet()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest/canCreateAndDeleteMetaData/webAppWithVars/build.gradle

    apply plugin: 'war'
    
    dependencies {
        runtimeOnly "commons-lang:commons-lang:2.5"
        testImplementation 'junit:junit:4.7'
    }
    
    eclipse {
        pathVariables GRADLE_USER_HOME: file("${gradle.gradleUserHomeDir}/caches")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 219 bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/overwritesExistingDependencies/build.gradle

    apply plugin: 'idea'
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        runtimeOnly 'commons-collections:commons-collections:3.2.2@jar'
        runtimeOnly 'junit:junit:4.7@jar'
    }
    
    idea {
        pathVariables CUSTOM_DIR: new File(gradle.gradleUserHomeDir, 'custom')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 288 bytes
    - Viewed (0)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseClasspath.java

            this.file = file;
        }
    
        public Map<String, File> getPathVariables() {
            return pathVariables;
        }
    
        public void setPathVariables(Map<String, File> pathVariables) {
            this.pathVariables = pathVariables;
        }
    
        public boolean isProjectDependenciesOnly() {
            return projectDependenciesOnly;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest/canCreateAndDeleteMetaData/common/build.gradle

    }
    
    dependencies {
        provided 'log4j:log4j:1.2.17'
        implementation project(':api')
        runtimeOnly 'joda-time:joda-time:2.5'
        testImplementation 'junit:junit:4.13'
    }
    
    eclipse {
        pathVariables GRADLE_USER_HOME: file("${gradle.gradleUserHomeDir}/caches")
    
        wtp {
            component {
                minusConfigurations << configurations.provided
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 488 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/dsl/org.gradle.plugins.ide.idea.model.IdeaModel.xml

                </tr>
                <tr>
                    <td>module</td>
                </tr>
                <tr>
                    <td>workspace</td>
                </tr>
                <tr>
                    <td>pathVariables</td>
                </tr>
            </table>
        </section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaModule.java

         * <p>
         * For example see docs for {@link IdeaModule}
         */
        public Map<String, File> getPathVariables() {
            return pathVariables;
        }
    
        public void setPathVariables(Map<String, File> pathVariables) {
            this.pathVariables = pathVariables;
        }
    
        /**
         * The JDK to use for this module.
         * If {@code null}, the value of the existing or default ipr XML (inherited) is used.
    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