From d5ebf680162a0408028b9d831e55bc15db5be046 Mon Sep 17 00:00:00 2001 From: Rinjae Date: Mon, 13 Oct 2025 17:18:12 +0900 Subject: [PATCH] =?UTF-8?q?gradle=20weblogic=20=EB=B9=8C=EB=93=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.gradle b/build.gradle index 50e4c78..729e017 100644 --- a/build.gradle +++ b/build.gradle @@ -46,6 +46,15 @@ compileJava { } war { + // 2025.10.13 - weblogic 대응 (weblogic-web.xml -> web.xml 강제 사용) + def profile = project.findProperty("profile") ?: "tomcat" + + if (profile == "weblogic") { + webXml = file("WebContent/WEB-INF/weblogic-web.xml") + } + archiveFileName = "eapim-admin.war" + duplicatesStrategy = DuplicatesStrategy.WARN + exclude '**/persistence.xml' exclude '**/context.xml' }