mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-212525 convert intellij.platform.ssh and attach to product module
GitOrigin-RevId: 79b67976198ccaf6d1486aba679f0ae9a4c9fa97
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4fac442feb
commit
7e873313bc
@@ -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())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user