Thanks for that Eddie, I was actually doing as you say (at least for all of
the 
WARS and the EAR), .... ultimately my problem was that the <EJBJAR> task
documentation does not actually specify that it supports the "manifest"
element
in any way ..... Although I eventually did just try it anyway.

Cheers.
Brian.

-----Original Message-----
From: Eddie Bernard [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 16:32
To: 'Ant Users List'
Subject: RE: ejbjar task and manifest.mf


Brian-

There are several threads very recently about this (one of which I started
several months ago):

http://marc.theaimsgroup.com/?l=ant-user&m=101114295329626&w=2

What I ended up doing is creating a template manifest file and use it in all
of my EJBs and enterprise archives.

Here's a snippet of the target I use to create the EJBs which uses the
template manifest:

    <ejbjar srcdir="${opel.build}"
            descriptordir="${opel.build}"
            classpath="${opel.classpath}"
            naming="ejb-name"
            manifest="${opel.home}/MANIFEST.MF"
            flatdestdir="true">
      <weblogic destdir="${opel.release}"
                keepgeneric="false"
                rebuild="false"
                wlclasspath="${wls.classpath};${opel.build}"
                noEJBC="${opel.noejbc}"
                newCMP="false">
      </weblogic>
      <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
2.0//
EN"
           location="${opel.home}/ejb-jar_2_0.dtd"/>
      <support dir="${opel.build}"
               includes="**/Local*.class"/>
      <include name="**/ejb-jar.xml"/>
      <exclude name="**/*weblogic*.xml"/>
    </ejbjar>

The template manifest has the "Class-Path" attribute needed for the EJBs and
enterprise archives to function properly once deployed.

Hope this helps!


Cheers!
Eddie

-----Original Message-----
From: Dowd, Brian [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 5:01 AM
To: '[EMAIL PROTECTED]'
Cc: Dowd, Brian
Subject: ejbjar task and manifest.mf


HI,
   I am currently attempting to construct an EAR, and as part of
this I need to make all of my contained WARs and EJB jars
MANIFEST.MF files contain a

Class-Path: a.jar b.jar c.jar

line, this is easy to achieve in the <ear> task and the <war> task
however I could not find any way to do this in the <ejbjar> task.

Does anyone have any ideas ?  Cheers.

I'm using ant version 1.4

Thanks,
Brian.




Brian Dowd (mailto:[EMAIL PROTECTED])
Global Volatility Convertible Bonds Technology
phone: 020 7260 1375





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

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



------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.



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

Reply via email to