ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: EAR task
Date Wed, 12 Mar 2003 20:26:17 GMT
Edward,

May be you should read this warning message :
      [ear] Warning: selected ear files include a META-INF/application.xml
which will be ignored (please use appxml attribute to ear ta
sk)

Antoine

----- Original Message -----
From: "Moynihan, Edward (Everett)" <EMoynihan@russellmellon.com>
To: <user@ant.apache.org>
Sent: Wednesday, March 12, 2003 8:18 PM
Subject: EAR task


Hi,
   I've recently upgraded from Ant 1.4 to Ant 1.5.2 and I've noticed that my
EAR task is no longer bundling my application.xml file to the meta-inf/
directory of the ear file.  I ran the task in verbose mode and here are the
output messages;  You'll note the Warning at the end of the build.  The
target is included at the bottom aswell;

C:\dev\bin>ant -verbose reference_ear
Apache Ant version 1.5.2 compiled on February 28 2003
Buildfile: build.xml
Detected Java version: 1.3 in: c:\dev\java\jdk\jre
Detected OS: Windows 2000
parsing buildfile build.xml with URI = file:C:/dev/bin/build.xml
Project base dir set to: C:\dev\java\src
 [property] Loading C:\dev\bin\referenceGlobalBuild.properties
Build sequence for target `reference_ear' is [reference_ear]
Complete build sequence is [reference_ear, init, compile_all_files]

reference_ear:
   [delete] Deleting:
C:\dev\weblogic\config\reference\applications\reference.ear
      [ear] Building ear:
C:\dev\weblogic\config\reference\applications\reference.ear
      [ear] adding directory META-INF/
      [ear] adding entry META-INF/MANIFEST.MF
      [ear] adding entry account_auth.jar
      [ear] adding entry calculate_bo.jar
      [ear] adding entry composite_bo.jar
      [ear] adding entry indexDataComponent_sb.jar
      [ear] adding entry indexgroup_bo.jar
      [ear] adding entry index_bo.jar
      [ear] adding entry individual_bo.jar
      [ear] adding entry organization_auth.jar
      [ear] adding entry organization_bo.jar
      [ear] adding entry performance_bo.jar
      [ear] adding entry portfolioBenchmark_sb.jar
      [ear] adding entry portfolioHoldings_bo.jar
      [ear] adding entry portfolioSubmissions_bo.jar
      [ear] adding entry portfolio_bo.jar
      [ear] adding entry relation_bo.jar
      [ear] adding entry report_bo.jar
      [ear] adding entry segment_bo.jar
      [ear] adding entry universeaccount_bo.jar
      [ear] adding entry universemembership_bo.jar
      [ear] adding entry universe_auth.jar
      [ear] adding entry universe_bo.jar
      [ear] Warning: selected ear files include a META-INF/application.xml
which will be ignored (please use appxml attribute to ear ta
sk)

BUILD SUCCESSFUL
Total time: 2 seconds



  <target name="reference_ear">
    <delete file="${application.destination.dir}/${ear.name}"/>

    <ear
      earfile="${application.destination.dir}/${ear.name}"
      appxml="${rootsrc.dir}/application.xml"
      basedir="${build.dir}"
      includes="*.jar"
      excludes="appclasses.jar,weblogicclasses.jar">
    </ear>
  </target>



Ed Moynihan
Contractor - Hall Kinion
Russell Mellon Analytical Services
Phone (617) 382-6679
Fax (617) 382-9540
emoynihan@russellmellon.com

Sun Certified Java 2 Programmer
Sun Certified Java 1.1 Developer
Sun Certified Java 1.1 Programmer




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



Mime
View raw message