From 7e873313bc3272bff01189c577318e8eb1075c81 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Sun, 12 Oct 2025 17:11:42 +0200 Subject: [PATCH] IJPL-212525 convert intellij.platform.ssh and attach to product module GitOrigin-RevId: 79b67976198ccaf6d1486aba679f0ae9a4c9fa97 --- .../src/META-INF/intellij.moduleSets.ssh.xml | 2 ++ platform/plugins/testFramework/src/ModuleSetResolver.kt | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/platform/platform-resources/src/META-INF/intellij.moduleSets.ssh.xml b/platform/platform-resources/src/META-INF/intellij.moduleSets.ssh.xml index 9ca466be01fa..01ff794d6376 100644 --- a/platform/platform-resources/src/META-INF/intellij.moduleSets.ssh.xml +++ b/platform/platform-resources/src/META-INF/intellij.moduleSets.ssh.xml @@ -1,5 +1,7 @@ + + \ No newline at end of file diff --git a/platform/plugins/testFramework/src/ModuleSetResolver.kt b/platform/plugins/testFramework/src/ModuleSetResolver.kt index a086a9383a56..5faef3197aa1 100644 --- a/platform/plugins/testFramework/src/ModuleSetResolver.kt +++ b/platform/plugins/testFramework/src/ModuleSetResolver.kt @@ -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 { 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()) }