Buildnig an ear file with ant

Hi I want to create an ear file that will contain just the following:
My.jar --> which contains all the ejbs, user libraries etc
manifest --> file
application.xml
weblogic.xml

After building I also want to get the ear file deployed to the weblogic(10) instance, what is required to do all of the above?
imramaAsked:
Who is Participating?
 
BeckyConnect With a Mentor Commented:
<ear update="true"
    destfile="<folder and name of your ear file>.ear"
    appxml="<path to application.xml>application.xml"
    manifest="<path to manifeset file>MANIFEST.MF">
            <fileset dir="<directory where your jar is>" includes="*.jar"/>
</ear>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.