mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Maybe if we don't reset the root, eventually it will pick the subfolders up
(cherry picked from commit aae201038e8d2e677f5c947aa66e81198bc50899) IJ-MR-176799 GitOrigin-RevId: b1d814ca2f505ed5852d178d75e6067ecc47caf4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b5d651a066
commit
f960251fb0
@@ -128,13 +128,13 @@ private suspend fun buildResourcesForHelpPlugin(resourceRoot: Path, classPath: L
|
||||
}
|
||||
|
||||
writeNewZipWithoutIndex(file = assetJar, compress = true) { zipCreator ->
|
||||
val archiver = ZipArchiver()
|
||||
archiver.setRootDir(resourceRoot)
|
||||
|
||||
supportedLanguages.forEach { (lang, descriptor) ->
|
||||
val rootDir = resourceRoot.resolve(descriptor.resPath)
|
||||
if (rootDir.exists()) {
|
||||
val archiver = ZipArchiver()
|
||||
archiver.setRootDir(rootDir)
|
||||
Span.current().addEvent("adding \"${lang}\" to the resulting ZIP.")
|
||||
|
||||
descriptor.resList.forEach { resDir ->
|
||||
archiveDir(
|
||||
startDir = rootDir,
|
||||
|
||||
Reference in New Issue
Block a user