I have the following folder structure:
project.ear lib folder ProjectEJBClient.jar META-INF folder projectEJB.jar
My build.xml
contains the following lines to create an EAR package
<ear destfile="${build.dir}/myapp.ear" appxml="${src.dir}/metadata/application.xml"> <fileset dir="${build.dir}" includes="ProjectEJBClient.jar"/> <fileset dir="${build.dir}" includes="projectEJB.jar"/> </ear>
The above code cannot create an EAR package with the lib folder that includes the ProjectEJBClient.jar
file
I want to create a lib folder and copy ProjectEJBClient.jar
to this lib folder.
After this process, I want to create an EAR project with this lib folder.
I do not know how to create the lib folder and copy ProjectEJBClient.jar
to this folder and include this folder in project.ear.
source share