mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[rdct] rename modules in the remote-dev part accordingly to the new naming schema (RDCT-1417)
The following conventions are now used: * modules with frontend functionality have the 'frontend' word in their names; * modules with backend functionality have the 'backend' word in their names; * modules used when running backend and frontend in separate processes only have the 'split' word in their names. `integrity of non-standard root packages list` test is temporarily commented to avoid merge conflicts. GitOrigin-RevId: 67487ef9224d3007eb7aff6f3a4c9fd3fe848e5f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9f2b32c3c7
commit
f68ef66b57
@@ -14,7 +14,7 @@ internal object IdeConstants {
|
||||
/**
|
||||
* See `com.jetbrains.rdct.testFramework.launch.ProcessLauncher.GATEWAY_PLUGIN_MODULE`
|
||||
*/
|
||||
const val INTELLIJ_CWM_GUEST_MAIN_MODULE = "intellij.cwm.guest.main"
|
||||
const val INTELLIJ_CWM_GUEST_MAIN_MODULE = "intellij.platform.frontend.split.main"
|
||||
const val INTELLIJ_IDEA_ULTIMATE_MAIN_MODULE = "intellij.idea.ultimate.main"
|
||||
const val GATEWAY_PLUGIN_MODULE = "intellij.gateway.plugin"
|
||||
|
||||
|
||||
@@ -26,6 +26,10 @@ class IntellijIconClassGeneratorConfig : IconClasses() {
|
||||
packageName = "com.intellij.lang.css",
|
||||
iconDirectory = "icons/css",
|
||||
)
|
||||
"intellij.platform.split" -> IntellijIconClassGeneratorModuleConfig(
|
||||
className = "CwmCommonIcons",
|
||||
packageName = "com.intellij.cwm.common.icons",
|
||||
)
|
||||
"intellij.properties.psi" -> IntellijIconClassGeneratorModuleConfig(
|
||||
className = "PropertiesIcons",
|
||||
packageName = "com.intellij.lang.properties",
|
||||
|
||||
@@ -65,7 +65,7 @@ internal suspend fun computeModuleSourcesByContent(
|
||||
) {
|
||||
for (moduleName in helper.readPluginContentFromDescriptor(context.findRequiredModule(layout.mainModule), jarPackager.moduleOutputPatcher)) {
|
||||
// CWM plugin is overcomplicated without any valid reason - it must be refactored
|
||||
if (moduleName == "intellij.cwm.plugin.driver" || !addedModules.add(moduleName)) {
|
||||
if (moduleName == "intellij.driver.backend.split" || !addedModules.add(moduleName)) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
@@ -548,7 +548,7 @@ class PluginModelValidator(sourceModules: List<Module>) {
|
||||
}
|
||||
|
||||
val pluginFileName = when (moduleName) {
|
||||
"intellij.cwm.host" -> "pluginBase.xml"
|
||||
"intellij.platform.backend.split" -> "pluginBase.xml"
|
||||
"intellij.idea.community.customization" -> "IdeaPlugin.xml"
|
||||
else -> "plugin.xml"
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ class EmbeddedClientLauncher private constructor(private val moduleRepository: R
|
||||
PlatformUtils.WEB_PREFIX -> RuntimeModuleId.module("intellij.webstorm.frontend")
|
||||
PlatformUtils.RUBY_PREFIX -> RuntimeModuleId.module("intellij.rubymine.frontend")
|
||||
PlatformUtils.RUSTROVER_PREFIX -> RuntimeModuleId.module("intellij.rustrover.frontend")
|
||||
else -> RuntimeModuleId.module("intellij.cwm.guest")
|
||||
else -> RuntimeModuleId.module("intellij.platform.frontend.split")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user