weblogic 대응
This commit is contained in:
+4
-5
@@ -48,12 +48,11 @@ compileJava {
|
|||||||
|
|
||||||
war {
|
war {
|
||||||
def profile = project.findProperty("profile") ?: "weblogic"
|
def profile = project.findProperty("profile") ?: "weblogic"
|
||||||
|
|
||||||
if (profile == "weblogic") {
|
if (profile == "weblogic") {
|
||||||
// weblogic-web.xml 파일을 web.xml 이름으로 넣기
|
webXml = file("WEB-INF/weblogic-web.xml")
|
||||||
from("WEB-INF/weblogic-web.xml") {
|
} else {
|
||||||
into "WEB-INF"
|
webXml = file("WEB-INF/web.xml")
|
||||||
rename { "web.xml" }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user