Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NewModuleRootManager (0.22 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/Module.java

            }
        }
    
        private Node getNewModuleRootManager() {
            Node newModuleRootManager = findFirstWithAttributeValue(getChildren(getXml(), "component"), "name", "NewModuleRootManager");
            Preconditions.checkNotNull(newModuleRootManager);
            return newModuleRootManager;
        }
    
        private Node findOrCreateOutputDir() {
            Node outputDirNode = findOutputDir();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/internal/IdeaScalaConfigurer.java

            if (scalaSdkLibrary != null) {
                Node newModuleRootManager = findOrCreateFirstChildWithAttributeValue(iml, "component", "name", "NewModuleRootManager");
    
                Node sdkLibrary = findOrCreateFirstChildWithAttributeValue(newModuleRootManager, "orderEntry", "name", scalaSdkLibrary.getName());
                setNodeAttribute(sdkLibrary, "type", "library");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

        private void hasScalaSdk(String imlFileName, String version) {
            def module = new XmlSlurper().parse(file(imlFileName))
            def newModuleRootManager = module.component.find { it.@name == "NewModuleRootManager" }
            assert newModuleRootManager
    
            def sdkLibrary = newModuleRootManager.orderEntry.find { it.@name == "scala-sdk-$version" }
            assert sdkLibrary
            assert sdkLibrary.@type == "library"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy

            //given
            def existingIml = file('root.iml')
            existingIml << '''<?xml version="1.0" encoding="UTF-8"?>
    <module relativePaths="true" type="JAVA_MODULE" version="4">
      <component name="NewModuleRootManager" inherit-compiler-output="true">
        <exclude-output/>
        <orderEntry type="inheritedJdk"/>
        <content url="file://$MODULE_DIR$/">
          <excludeFolder url="file://$MODULE_DIR$/folderThatWasExcludedEarlier"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 24.4K bytes
    - Viewed (0)
Back to top