[wsm] IJPL-178632 Get rid of double options directory conversion

GitOrigin-RevId: b03fa59b810d4b2ee5c14e09122e5adeca43d146
This commit is contained in:
Alexander Koshevoy
2025-10-14 00:22:42 +00:00
committed by intellij-monorepo-bot
parent 20e45655eb
commit 702c2e5a2b
@@ -34,7 +34,7 @@ import org.jdom.Element
import org.jetbrains.annotations.ApiStatus
import org.jetbrains.annotations.TestOnly
import org.jetbrains.annotations.VisibleForTesting
import kotlin.io.path.Path
import java.nio.file.Path
import kotlin.time.Duration
import kotlin.time.Duration.Companion.seconds
@@ -275,7 +275,7 @@ open class JpsGlobalModelSynchronizerImpl(private val coroutineScope: CoroutineS
private fun createSerializers(): List<JpsFileEntityTypeSerializer<WorkspaceEntity>> {
if (isSerializationProhibited) return emptyList()
val sortedRootTypes = OrderRootType.getSortedRootTypes().mapNotNull { it.sdkRootName }
return JpsGlobalEntitiesSerializers.createApplicationSerializers(virtualFileUrlManager, sortedRootTypes, Path(PathManager.getOptionsPath()))
return JpsGlobalEntitiesSerializers.createApplicationSerializers(virtualFileUrlManager, sortedRootTypes, PathManager.getOptionsDir())
}
private fun bridgesInitializationCallback(