ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenneth Wood <>
Subject RE: EAR files
Date Fri, 10 Sep 2004 19:43:46 GMT
Just for future reference, both this question and the previous
one you submitted are far more appropriate for the Ant USERS
list. You are posting to the Ant DEVELOPERS list. In other
words, if the question is about how to USE Ant, send it to the
Ant USERS mailing list. If the question is about how to
write tasks for ants, debate new features for Ant, etc, then
send it to the DEVELOPERS list.

-----Original Message-----
From: Travis Quarterman [] 
Sent: Friday, September 10, 2004 2:38 PM
To: Ant developers
Subject: EAR files


I am wanting to create an EAR with the following: 

<!-- **************** JAR *********************************** -->

  ***   jar up web application to a .war file
  <target name="jar">
     <jar jarfile="${build}.war" basedir="${builddir}" update="yes">

<!-- *********************** CREATE EAR FILE ***************** -->

  *** create ear file for weblogic deployment
  <target name="ear">
    <ear earfile="${build}/${build}.ear" appxml="${meta}/application.xml">
      <fileset dir="${base}">
         <include name="*.war"/>
         <include name="${meta}/weblogic-application.xml"/>
    <delete file="${build}/${build}.war"/>

The output:
Buildfile: 1

   [delete] Deleting: /usr/local/build_apps/blah.ear

      [jar] Building jar: /usr/local/build_apps/blah.war

      [ear] Building ear: /usr/local/build_apps/blah.ear
   [delete] Deleting: /usr/local/build_apps/blah.war


Total time: 6 seconds

I am wanting the EAR placed in /usr/local/build_apps/somedir/blah.ear,
what must a change? Basically, I am needing to inside "blah" subdirectory.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message