ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: ejbjar for weblogic - location of META-INF/weblogic-ejb-jar.xml
Date Sun, 25 Feb 2001 22:08:01 GMT
Uma,

Please try the latest beta (not sure if you are already).  If so, ejbjar
will tell you when it cannot find the weblogic descriptor and where it is
expecting to find it.

> From: Uma Shanker [mailto:asdf834@yahoo.com]
>
> Hello,
> I am new to ant.
> I am not sure where ant is looking for the META-INF directory and xml
> descriptor's.
> Q1. Its not a ${build.dir}   ??

There should be no need to copy the deszcriptors around. Just put them in
${descriptor.dir},
wherever that may be.

You will need the weblogic file to be names
User-weblogic-ejb-jar.xml

>
> Q2. What about include and exclude, as weblogic-ejb-jar is required always
> why in examples it exclude?

ejbjar only processes the generic descriptor files directly. The weblogic
descriptor are picked up by association with a generic descriptor. If you
don't exclude the weblogic descriptors (and any other files), ejbjar will
try to process them as generic EJB descriptors which will undoubtedly fail.

Conor


Mime
View raw message