mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Delete copyLogXml task which copies a file that no longer exists
GitOrigin-RevId: 6d660ec802e0df9699a3ca9ff3c7d1d9646468a4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
688e81bedb
commit
46f980986e
@@ -278,8 +278,6 @@ idea.fatal.error.notification=disabled
|
||||
buildContext.messages.block("copy files shared among all distributions", new Supplier<Void>() {
|
||||
@Override
|
||||
Void get() {
|
||||
copyLogXml(buildContext)
|
||||
|
||||
Path licenseOutDir = buildContext.paths.distAllDir.resolve("license")
|
||||
BuildHelper buildHelper = BuildHelper.getInstance(buildContext)
|
||||
buildHelper.copyDir(buildContext.paths.communityHomeDir.resolve("license"), licenseOutDir)
|
||||
@@ -325,17 +323,6 @@ idea.fatal.error.notification=disabled
|
||||
return null
|
||||
}
|
||||
|
||||
private static void copyLogXml(BuildContext buildContext) {
|
||||
Path src = buildContext.paths.communityHomeDir.resolve("bin/log.xml")
|
||||
Path dst = buildContext.paths.distAllDir.resolve("bin/log.xml")
|
||||
Files.createDirectories(dst.parent)
|
||||
|
||||
String text = Files.readAllLines(src)
|
||||
.findAll { String line -> !line.contains('appender-ref ref="CONSOLE-WARN"') }
|
||||
.join("\n")
|
||||
Files.writeString(dst, text)
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private static BuildTaskRunnable createDistributionForOsTask(@NotNull OsFamily os,
|
||||
@NotNull Map<OsFamily, Path> result,
|
||||
|
||||
Reference in New Issue
Block a user