build scripts: IntelliJ IDEA Community with open-source plugins only

IJI-2599


(cherry picked from commit 23079811eade22aebae4bc86cc82db2750ce412e)

IJ-MR-168904

GitOrigin-RevId: cf93f5cdba89f5515a91d308bc8f3cca9a695155
This commit is contained in:
Dmitriy.Panov
2025-07-01 16:02:51 +02:00
committed by intellij-monorepo-bot
parent 68e20d9aa8
commit 05ea6ef054
2 changed files with 4 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ class IdeaCommunityBuildTest {
productProperties = productProperties,
buildCrossPlatformDistribution = true,
) {
it.classOutDir = System.getProperty(BuildOptions.PROJECT_CLASSES_OUTPUT_DIRECTORY_PROPERTY) ?: "$homePath/out/classes"
it.classOutDir = it.classOutDir ?: "$homePath/out/classes"
}
}

View File

@@ -209,7 +209,9 @@ private suspend fun prepareConfigurationFiles(nsiConfDir: Path, customizer: Wind
private fun amendVersionNumber(base: String): String = base + ".0".repeat(3 - base.count { it == '.' })
private suspend fun prepareSignTool(nsiConfDir: Path, context: BuildContext, uninstallerCopy: Path): Path {
val toolFile = context.proprietaryBuildTools.signTool.commandLineClient(context, OsFamily.currentOs, JvmArchitecture.currentJvmArch)!!
val toolFile = context.proprietaryBuildTools.signTool
.commandLineClient(context, OsFamily.currentOs, JvmArchitecture.currentJvmArch)
?: error("No command line sign tool is configured")
val scriptFile = Files.writeString(nsiConfDir.resolve("sign-tool.cmd"), when (OsFamily.currentOs) {
// moving the file back and forth is required for NSIS to fail if signing didn't happen
OsFamily.WINDOWS -> """