ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Cody <paul.c...@lucidainc.com>
Subject RE: Ant & EJB
Date Thu, 01 Nov 2001 20:03:22 GMT
Another <ejbjar> example, very similar to Tony Mercado's...

  <!-- build ejb jars -->
  <target name="ejbjar" depends="compile,jar" >
    <ejbjar srcdir="${build.classes}" 
            descriptordir="${home.src}/conf" 
            manifest="${home.src}/conf/ejb-manifest.mf">
      <classpath refid="build.classpath"/>
      <weblogic destdir="${build}/deploy" newCMP="true" compiler="default"
keepgeneric="false">
        <wlclasspath>
	  <fileset dir="${home.lib}">
	    <include name="**/*.jar"/>
	    <include name="**/*.zip"/>
	  </fileset>
	  <fileset dir="${build.lib}">
	    <include name="**/*.jar"/>
	  </fileset>
	  <pathelement location="${weblogic.home.server}/lib/weblogic.jar"/>

	</wlclasspath>
      </weblogic>
      <include name="**/*-ejb-jar.xml"/>
      <exclude name="**/*weblogic*.xml"/>
      <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
1.1//EN"
           location="${home.src}/dtd/ejb-jar-1.1.dtd"/>
      <dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN"
           location="${home.src}/dtd/weblogic-ejb-jar-6.0.0.dtd"/>
    </ejbjar>
  </target>

> -----Original Message-----
> From: Rafal Kedziorski [mailto:rafcio@polonium.de]
> Sent: Thursday, November 01, 2001 4:33 AM
> To: ant-user@jakarta.apache.org
> Subject: Ant & EJB
> 
> 
> Hallo,
> 
> bevor I try this, a short question. We have much EJB, which will be
> compiled and created with Makefile's. After compiling we call
> weblogic.ebc for creating the EJB's. It's possible to make this with
> ant?
> 
> 
> Best Regards,
> Rafal
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-user-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message