Hello how are you?
I am building a build.gradle for multiprojects and I have a problem with the ejb project, since I have the following structure:
EjbProject
ejbModule
logic
ejbStateless.java
META-INF
ejb-jar.xml
ibm-ejb-jar.xml
MANIFEST.MF
But the * .xml files I have in the ejbModule / META-INF directory when I see the generated jar are not being left in the META-INF directory.
EjbProject.jar
ejb
ejbStateless.class
META-INF
MANIFEST.MF
ejb-jar.xml
ibm-ejb-jar.xml
How can you customize the settings to get the xml files in the META-INF directory?
This is part of my build.gradle
project(’:EjbProject’) {
sourceSets {
main {
java {
srcDirs ‘ejbModule’
include ‘/*.java’
}
resources {
srcDirs 'ejbModule/META-INF’
include '/*.xml’
}
}
}
dependencies {
compile project(’:Logic’)
compile project(’:EjbClient’)
compile name: ‘.common.business’
}
}
Thanks!