ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <ECirame...@emptoris.com>
Subject RE: EJBC Arrrgggg
Date Mon, 24 Feb 2003 15:53:13 GMT
Email me directly if you have questions....

The ejb jarring task can be pretty brutal on ANT newcomers...


  <target name="beans-bl" depends="compile" description="- target to create
ejb jars (both generic and WL specific)">
   <record name="beans-bl-build.log" loglevel="info" action="start"/>
    <echo
message="*******************************************************************
**"/>
    <echo message="********      About to build the Business logic beans
*****"/>
    <echo
message="*******************************************************************
**"/>
  <mkdir dir="${ejbs.dir}" />
   <ejbjar srcdir="${build.dir}"
            destdir="${ejbs.dir}"
            descriptordir="${src.dir}"
	    naming="directory">
            <include
name="com/avinamart/BusinessLogic/Bean/**/ejb-jar.xml"/>
            <exclude
name="com/avinamart/BusinessLogic/Bean/**/weblogic-ejb-jar.xml"/>

      <weblogic destdir="${ejbs.dir}" newCMP="true" keepgeneric="false"
jvmargs="-Xmx256m">
	 <classpath refid="ejb.classpath"/>
         <wlclasspath>
            <pathelement location="${wl.61.home}/lib/weblogic.jar"/>
	    <pathelement path="${ejbclasspath}"/>
         </wlclasspath>
      </weblogic>
     <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
1.1//EN" location="${dtds.dir}/ejb-jar.dtd"/>
     <dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN"
location="${dtds.dir}/weblogic-ejb-jar.dtd"/>
    </ejbjar>

-----Original Message-----
From: Matthew Oatham [mailto:matthewoatham@hotmail.com]
Sent: Monday, February 24, 2003 10:42 AM
To: user@ant.apache.org
Subject: EJBC Arrrgggg


Has anyone got the ejbc task to work and do something useful? 

Do you have an example better than those in the documentation

Rgds.

Matt

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message