ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject Re: Using EJBJAR to create one Jar file
Date Mon, 01 Jan 2001 02:06:15 GMT

I've never dealt with TopLink stuff myself, but I think you will need to
get a recent nightly build of ant to do this. The version of ejbjar in ant
1.2 could not handle more than one CMP descriptor in a file. It did not
parse the weblogic deployment descriptor to discover the CMP descriptors
but simply determined any CMP descriptor by assuming it used the same
naming convention. Thus it was limited to one CMP descriptor per ejb-jar
descriptor. That limitation has been removed now.

Also you will need to ensure that ejbjar does not attempt to process the
Toplink descriptors by using an appropriate exclude clause. You should only
pass the generic ejb-jar descriptor to ejbjar for processing.

If you don't have any luck with the nightly build, get back to me and I'll
see what I can do.


----- Original Message -----
From: "Collin Gordema" <>
To: <>
Sent: Monday, January 01, 2001 7:48 AM
Subject: Using EJBJAR to create one Jar file

> I am trying to use the Ant "ejbjar" tool to create one jar file which
> contain 3 entity EJBS using 3 different TOPLink for WebLogic CMP
> descriptors. I intend to have one ejb-jar.xml file and one
> weblogic-ejb-jar.xml file but 3 different TOPLink descriptors. I need for
> the "ejbjar" tool to create only one deployable JAR file, but it seems
> the tool keeps trying to create a jar file for each differently named
> TOPLink CMP descriptor.
> Has anyone successfully used the "ejbjar" tool to create one file for
> multiple related beans?
> Collin Goredema

View raw message