From fd29bff72610e034f8e8a93f2d2c4fdfd40ec3cd Mon Sep 17 00:00:00 2001 From: Kengo TODA Date: Fri, 16 Nov 2018 12:00:46 +0800 Subject: [PATCH] add log4j2.xml that has the default config, into MANIFEST.MF --- spotbugs/build.gradle | 5 ++++- spotbugs/log4j2.xml | 13 +++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 spotbugs/log4j2.xml diff --git a/spotbugs/build.gradle b/spotbugs/build.gradle index 16273bbf289..0024e1695b6 100644 --- a/spotbugs/build.gradle +++ b/spotbugs/build.gradle @@ -147,7 +147,7 @@ jar { manifest { attributes 'Main-Class': 'edu.umd.cs.findbugs.LaunchAppropriateUI', 'Bundle-Version': project.version, - 'Class-Path': jarInClasspath.join(' ') + 'Class-Path': jarInClasspath.join(' ') + ' config/' } } @@ -234,6 +234,9 @@ distributions { from([jar, project(':spotbugs-ant').jar]) { into 'lib' } + from ('log4j2.xml') { + into 'lib/config' + } from('src/xsl') { into 'src/xsl' include '**/*.xsl' diff --git a/spotbugs/log4j2.xml b/spotbugs/log4j2.xml new file mode 100644 index 00000000000..792602b8b4d --- /dev/null +++ b/spotbugs/log4j2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + +