IDEA-293582: move color schemes xmls to their plugins

GitOrigin-RevId: 73b60357f02c0083044ecf977d7c8422703df1e7
This commit is contained in:
Maria Filipanova
2022-08-23 12:37:46 +02:00
committed by intellij-monorepo-bot
parent 5ceb7a8241
commit f14697d6e7
24 changed files with 1 additions and 25 deletions

1
.idea/modules.xml generated
View File

@@ -788,7 +788,6 @@
<module fileurl="file://$PROJECT_DIR$/platform/code-style-impl/intellij.platform.codeStyle.impl.iml" filepath="$PROJECT_DIR$/platform/code-style-impl/intellij.platform.codeStyle.impl.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/collaboration-tools/intellij.platform.collaborationTools.iml" filepath="$PROJECT_DIR$/platform/collaboration-tools/intellij.platform.collaborationTools.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/collaboration-tools/auth/intellij.platform.collaborationTools.auth.iml" filepath="$PROJECT_DIR$/platform/collaboration-tools/auth/intellij.platform.collaborationTools.auth.iml" />
<module fileurl="file://$PROJECT_DIR$/colorSchemes/intellij.platform.colorSchemes.iml" filepath="$PROJECT_DIR$/colorSchemes/intellij.platform.colorSchemes.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/util/intellij.platform.concurrency.iml" filepath="$PROJECT_DIR$/platform/util/intellij.platform.concurrency.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/configuration-store-impl/intellij.platform.configurationStore.impl.iml" filepath="$PROJECT_DIR$/platform/configuration-store-impl/intellij.platform.configurationStore.impl.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/configuration-store-impl/intellij.platform.configurationStore.tests.iml" filepath="$PROJECT_DIR$/platform/configuration-store-impl/intellij.platform.configurationStore.tests.iml" />

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -97,7 +97,6 @@
<orderEntry type="module" module-name="intellij.platform.remoteServers.impl" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.properties.resource.bundle.editor" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.xml.dom.tests" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.colorSchemes" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.javaFX.community" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.javaFX.jps" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.langInjection.tests" scope="TEST" />

View File

@@ -288,7 +288,6 @@ object PlatformModules {
"intellij.platform.icons",
"intellij.platform.resources",
"intellij.platform.resources.en",
"intellij.platform.colorSchemes",
), productLayout, layout)
jar("stats.jar", listOf(

View File

@@ -143,7 +143,7 @@ class SchemeManagerImpl<T: Scheme, MUTABLE_SCHEME : T>(
}
else {
val classLoader = pluginDescriptor.classLoader
bytes = ResourceUtil.getResourceAsBytes(resourceName.removePrefix("/"), classLoader, true)
bytes = ResourceUtil.getResourceAsBytes(resourceName.removePrefix("/"), classLoader)
if (bytes == null) {
LOG.error("Cannot found scheme $resourceName in $classLoader")
return

View File

@@ -6,7 +6,6 @@
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="module" module-name="intellij.platform.colorSchemes" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -6,7 +6,6 @@
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="module" module-name="intellij.platform.colorSchemes" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -6,7 +6,6 @@
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="module" module-name="intellij.platform.colorSchemes" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -6,7 +6,6 @@
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="module" module-name="intellij.platform.colorSchemes" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -6,7 +6,6 @@
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="module" module-name="intellij.platform.colorSchemes" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -6,7 +6,6 @@
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="module" module-name="intellij.platform.colorSchemes" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -6,7 +6,6 @@
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="module" module-name="intellij.platform.colorSchemes" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -6,7 +6,6 @@
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="module" module-name="intellij.platform.colorSchemes" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -6,7 +6,6 @@
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="module" module-name="intellij.platform.colorSchemes" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -5,7 +5,6 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.bootstrap" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.platform.colorSchemes" />
<orderEntry type="module" module-name="intellij.vcs.hg" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.vcs.svn" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.vcs.git" scope="RUNTIME" />