IJPL-212525 convert intellij.platform.ssh and attach to product module

GitOrigin-RevId: 79b67976198ccaf6d1486aba679f0ae9a4c9fa97
This commit is contained in:
Vladimir Krivosheev
2025-10-13 12:52:17 +00:00
committed by intellij-monorepo-bot
parent 4fac442feb
commit 7e873313bc
2 changed files with 2 additions and 6 deletions
@@ -1,5 +1,7 @@
<idea-plugin>
<content namespace="jetbrains">
<module name="intellij.platform.ssh.core" loading="embedded"/>
<module name="intellij.platform.ssh" loading="embedded"/>
<module name="intellij.platform.ssh.ui" loading="embedded"/>
</content>
</idea-plugin>
@@ -2,9 +2,7 @@
package com.intellij.platform.plugins.testFramework
import com.intellij.openapi.util.JDOMUtil
import org.jdom.Namespace
import java.nio.file.Path
import kotlin.io.path.exists
/**
* Resolves a module set name into a list of actual module names, recursively following x-include references.
@@ -24,10 +22,6 @@ fun resolveModuleSet(moduleSetName: String, ultimateRoot: Path): List<String> {
val xmlFileName = "$moduleSetName.xml"
val xmlPath = ultimateRoot.resolve("community/platform/platform-resources/src/META-INF/$xmlFileName")
if (!xmlPath.exists()) {
error("Module set XML file not found: $xmlPath")
}
return resolveModuleSetRecursive(xmlPath, ultimateRoot, HashSet())
}