Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for contentRoot (0.21 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r22/Idea13ModelCrossVersionSpec.groovy

            when:
            IdeaProject project = withConnection { connection -> connection.getModel(IdeaProject.class) }
            def contentRoot = project.children[0].contentRoots[0]
    
            then:
            def generatedSourceDirectories = contentRoot.sourceDirectories.findAll { it.generated }
            def generatedTestDirectories = contentRoot.testDirectories.findAll { it.generated }
            generatedSourceDirectories.collect { it.directory } == [file('foo')]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/idea/IsolatedIdeaModuleInternal.java

            this.javaTargetCompatibility = javaTargetCompatibility;
        }
    
        public DefaultIdeaContentRoot getContentRoot() {
            return contentRoot;
        }
    
        public void setContentRoot(DefaultIdeaContentRoot contentRoot) {
            this.contentRoot = contentRoot;
        }
    
        public String getJdkName() {
            return jdkName;
        }
    
        public void setJdkName(String jdkName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/fixtures/IdeaModuleFixture.groovy

        IdeaContentRoot getContent() {
            def contentRoot = iml.component.content
            def sourceFolders = contentRoot.sourceFolder.collect {
                new SourceFolder(url: it.@url, isTestSource: it.@isTestSource)
            }
            def excludeFolders = contentRoot.excludeFolder.collect {
                new ExcludeFolder(url: it.@url)
            }
            return new IdeaContentRoot(rootUrl: contentRoot.@url, sources: sourceFolders, excludes: excludeFolders)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/IdeaModelBuilder.java

            IdeaModule ideaModule,
            DefaultIdeaProject ideaProject,
            DefaultGradleProject rootGradleProject,
            boolean offlineDependencyResolution
        ) {
            DefaultIdeaContentRoot contentRoot = IdeaModuleBuilderSupport.buildContentRoot(ideaModule);
            Project project = ideaModule.getProject();
    
            DefaultIdeaModule defaultIdeaModule = new DefaultIdeaModule()
                .setName(ideaModule.getName())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 12 14:00:13 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/dsl/org.gradle.plugins.ide.idea.model.IdeaModule.xml

                </tr>
                <tr>
                    <td>downloadJavadoc</td>
                    <td><literal>false</literal></td>
                    <td/>
                </tr>
                <tr>
                    <td>contentRoot</td>
                    <td><literal>project.projectDir</literal></td>
                    <td/>
                </tr>
                <tr>
                    <td>testSourceDirs</td>
                    <td><literal>[]</literal></td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/descriptor/internal/DefaultEarWebModule.java

        private String contextRoot;
    
        public DefaultEarWebModule() {
        }
    
        public DefaultEarWebModule(String path, String contextRoot) {
            super(path);
            this.contextRoot = contextRoot;
        }
    
        @Override
        public String getContextRoot() {
            return contextRoot;
        }
    
        @Override
        public void setContextRoot(String contextRoot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 14:55:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/idea/DefaultIdeaModule.java

            this.name = name;
            return this;
        }
    
        public Collection<DefaultIdeaContentRoot> getContentRoots() {
            return contentRoots;
        }
    
        public DefaultIdeaModule setContentRoots(List<DefaultIdeaContentRoot> contentRoots) {
            this.contentRoots = contentRoots;
            return this;
        }
    
        public DefaultIdeaProject getParent() {
            return parent;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiIdeaModelCrossVersionSpec.groovy

    """
    
            when:
            IdeaProject project = loadToolingModel(IdeaProject)
            def module = project.children[0]
    
            then:
            module.contentRoots.size() == 1
            module.contentRoots[0].rootDirectory == projectDir
            module.parent instanceof IdeaProject
            module.parent == project
            module.parent == module.project
            module.children.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r50/ToolingApiIdeaModelCrossVersionSpec.groovy

            }
    
            when:
            IdeaProject project = withConnection { connection -> connection.getModel(IdeaProject.class) }
            IdeaModule module = project.children[0]
            IdeaContentRoot root = module.contentRoots[0]
    
            then:
            root.sourceDirectories.size() == 1
            root.sourceDirectories.first().directory == file('src/main/java')
            root.resourceDirectories.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r68/CompositeBuildModuleNamesCrossVersionSpec.groovy

            includedBuildProjects[1].modules.collect { it.name } == ['module-main-module-b-2']
            includedBuildProjects[0].modules.first().contentRoots.first().rootDirectory.parentFile.name == 'subfolder1'
            includedBuildProjects[1].modules.first().contentRoots.first().rootDirectory.parentFile.name == 'subfolder2'
        }
    
        def "name conflict between two included builds does not break Eclipse import"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top