ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hall, John" <>
Subject RE: More EJBJAR fun
Date Tue, 12 Dec 2000 16:39:12 GMT
Please submit the xml snippet of your ejbjar task target, and I'll take a
look at it.

-----Original Message-----
From: Dhiren Patel []
Sent: Tuesday, December 12, 2000 2:10 AM
Subject: More EJBJAR fun

I have a newbie Ant 1.2 question re: EJBJAR.  I'm following the ejbjar task
docs for building deployment JARs.  I can make it build separate deployment
JARs for each EJB, but the second example, building a single deployment JAR,
fails for me.  I get the following error when specifying a basejarname for
the ejbjar task:
[java] weblogic.utils.compiler.ToolFailureException: ERROR:
weblogic-ejb-jar.xml was not found in the jar file.
When building a single jar, the generic deployment descriptors are all named
ejb-jar.xml and the WebLogic specific ones are named weblogic-ejb-jar.xml.
I'm using the example from the docs pretty much verbatim.  The weblogic
nested task is not adding the weblogic-ejb-jar.xml file to the JAR file, and
I don't see a straightforward way to tell it to so.  Can anyone shed any
light on this behavior?  Any help much appreciated.

View raw message