build - Gradle - Suppress gradle to create application.xml -


i trying build ear using gradle.

i use meta-inf/application.xml present in project. , not have gradle generate 1 me.

i tried following code snippet , archive(ear) has 2 application.xml files in meta-inf instead of copied one.

ear {      into("meta-inf") {         from("meta-inf")      } } 

any appreciated.

you can put existing application.xml under meta-inf in source folder. if gradle find file won't generate one. can read more behavior in gradle user guide.


Comments

Popular posts from this blog

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -