Article:
  Using Ant and WebLogic EJBs
Subject:   Ant ejbjar for MDB task failing to create jar
Date:   2003-09-18 00:29:36
From:   anonymous2
Response to: Ant

Hi,
tried creating a ejbjar with ant 1.5 ...
task is failing ..any idea y ?



<ejbjar descriptordir="${wl.src.dir}" srcdir="${wl.classes.dir}" destdir="${build.lib.dir}" basejarname="${wl.basename}">
<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" location="${build.dtd.dir}/ejb-jar_2_0.dtd" />
<dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" location="${build.dtd.dir}/weblogic-ejb20-jar.dtd" />
<include name="**/ejb-jar.xml"/>
<exclude name="**/weblogic-ejb-jar.xml,${wl.exclude}"/>
<support dir="${wl.classes.dir}">
<include name="${wl.include}"/>
<exclude name="${wl.exclude}"/>
</support>
<weblogic destdir="${build.lib.dir}" rebuild="false" newCMP="true">
<classpath>
<pathelement path="${ejbsb.classpath}"/>
</classpath>
<wlclasspath>
<pathelement path="${wlsb.classpath}"/>
</wlclasspath>
</weblogic>
</ejbjar>