EAR build with specific appDirName root path


(htourne) #1

Continuing the discussion from Ear build with specific appDirName path:

Hi, i’m in the same situation that my EAR project has the setup ProjectEAR/META-INF/application.xml.
If i use the solution:
ear {
into(‘META-INF’) {
from(‘META-INF’)
exclude ‘application.xml’
}
}
i’m excluding the application.xml that i want to use and gradle is generating another application.xml that is brong.
How can i tell gradle that uses de existing application.xml?

Thanks!


(htourne) #2

Hello
Someone could solve this problem, gradle keeps generating the application.xml instead of using the one I have in Project / META-INF / application.xml.
Thank you