You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Gotaparthy, Pradeep" <Pr...@FMR.COM> on 2001/03/22 23:37:35 UTC

ejbjar

Hi,
iam using ant 1.3.when i am trying to build ejab jar using ejabjar task iam
getting this message
[ejbjar] building Test.jar with 5 files
     [ejbc] Java Result: 1
 and when i unjar the jar file it is not includes stubs and skeleton
classes. what might be the reason and below is my xml
 

<target name="ejbjar">
    <ejbjar srcdir="${destdir}"
        descriptordir="${build}/META-INF"
	basejarname="Test">
        <include name="**/*ejb-jar.xml" />
        <exclude name="**/*weblogic*.xml"/>
        <weblogic destdir="${destdir}/jars"
                  args="-g -keepgenerated ${ejbc.compiler}"
                  classpath="${classpath};${destdir}"
                  keepgeneric="true"
                  oldCMP="false"> 
                  
	</weblogic>
	<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
1.1//EN"
	
location="c:/welogic/classes/weblogic/ejb/deployment/xml/ejb-jar.dtd"/>
	<dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN"
 
location="c:/welogic/classes/weblogic/ejb/deployment/xml/weblogic-ejb-jar.dt
d"/>
    </ejbjar>
  </target>