mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
build scripts: disable default file logging when JPS build is started from our gant scripts because they use custom logging
This commit is contained in:
@@ -26,6 +26,7 @@ import org.apache.tools.ant.Project;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.jps.api.GlobalOptions;
|
||||
import org.jetbrains.jps.build.Standalone;
|
||||
import org.jetbrains.jps.builders.BuildTarget;
|
||||
import org.jetbrains.jps.builders.java.JavaModuleBuildTargetType;
|
||||
@@ -237,6 +238,7 @@ public class JpsGantProjectBuilder {
|
||||
|
||||
private void runBuild(final Set<String> modulesSet, final boolean allModules, boolean includeTests) {
|
||||
if (!myDryRun) {
|
||||
System.setProperty(GlobalOptions.USE_DEFAULT_FILE_LOGGING_OPTION, "false");
|
||||
final AntMessageHandler messageHandler = new AntMessageHandler();
|
||||
//noinspection AssignmentToStaticFieldFromInstanceMethod
|
||||
AntLoggerFactory.ourMessageHandler = new AntMessageHandler();
|
||||
|
||||
Reference in New Issue
Block a user