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


**************************Disclaimer************************************
      


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 ********************************************************************

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to