Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 761
  • Last Modified:

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?
0
imrama
Asked:
imrama
1 Solution
 
BeckyCommented:
<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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now