weblogic 대응
This commit is contained in:
@@ -47,6 +47,16 @@ compileJava {
|
||||
}
|
||||
|
||||
war {
|
||||
def profile = project.findProperty("profile") ?: "weblogic"
|
||||
if (profile == "weblogic") {
|
||||
// weblogic-web.xml 파일을 web.xml 이름으로 넣기
|
||||
from("WEB-INF/weblogic-web.xml") {
|
||||
into "WEB-INF"
|
||||
rename { "web.xml" }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
rootSpec.exclude '**/persistence.xml'
|
||||
exclude '**/context.xml'
|
||||
archiveFileName = "eapim-admin.war"
|
||||
|
||||
Reference in New Issue
Block a user