ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "B Manikandan" <manikandan.balasubraman...@wipro.com>
Subject Manifest Entry in Ejb Jar
Date Thu, 07 Mar 2002 11:22:05 GMT
Hi,
    Iam trying to include my own Manifest file in EJB Jar file.I browsed
through ant mail archives and found lot of links.
    But the Jar file that gets generated still contains the one
generated by Ant(that contains all the name of files in the jar) and not
the one specified by me.

My target is

 <ejbjar srcdir="${ejb.classes}"
            descriptordir="${applicationaccess.descriptor}"
            basejarname="applicationaccess"
   manifest="${ejb-modules.home}/MANIFEST.MF">

   <include name="**/ejb-jar.xml" />
      <exclude name="**/weblogic*.xml" />
      <dtd publicId="${ejb-jar-dtd.publicId}"
location="${ejb-jar-dtd.location}" />
      <dtd publicId="${weblogic-ejb-jar-dtd.publicId}"
location="${weblogic-ejb-jar-dtd.location}" />

   <weblogic destdir="${ejb.lib}">
        <classpath>
          <path refid="ejb.classpath" />
        </classpath>
        <wlclasspath>
          <path refid="weblogic.classpath" />
        </wlclasspath>
      </weblogic>
      <classpath>
        <path refid="weblogic.classpath" />
        <path refid="ejb.classpath" />
      </classpath>
   <support dir="${ejb.classes}">
        <include name="**/applicationaccess/**/*.class" />
      </support>
    </ejbjar>


My Manifest file is like ...

Manifest-Version: 1.0
Class-Path: lib/log4j-1.2beta3.jar lib/jakarta-regexp-1.2.jar
 lib/commons-collections.jar lib/commons-beanutils.jar
 lib/commons-digester.jar


TIA,
Mani



Mime
View raw message