ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: EJB packaging with EJBJAR task
Date Fri, 23 Feb 2001 03:00:49 GMT
Mark,

Under Ant 1.3 you can use a <support> tag as follows:

    <ejbjar descriptordir="${dd.dir}" srcdir="${build.classes.server}">
       <include name="**/*-ejb-jar.xml"/> 
       <exclude name="**/*-weblogic-ejb-jar.xml"/>
       <support dir="${build.classes.server}">
            <include name="**/*.class"/> 
       </support>
       <weblogic destdir="${deployment.dir}" 
                 keepgeneric="true"
                 suffix=".jar"
                 rebuild="false">
         <classpath>
            <pathelement path="${build.classes.server}"/>
         </classpath>
         <wlclasspath>
            <pathelement path="${weblogic.classes}"/>
         </wlclasspath>
       </weblogic>
    </ejbjar>

Conor


--
Conor MacNeill
conor@cortexebusiness.com.au
Cortex eBusiness 
http://www.cortexebusiness.com.au

> -----Original Message-----
> From: Mark Porter [mailto:mporter@exchangesolutions.net]
> Sent: Friday, 23 February 2001 12:07
> To: ant-user@jakarta.apache.org
> Subject: EJB packaging with EJBJAR task
> 
> 
> Hi Folks!
> 
> I'm wondering how/if I can use ejbjar to package other class files with
> my beans. I need to package up some exception classes as well as some
> stubs/skels from another bean along with my regular bean classes.
> 
> Thanks
> 
> Mark
> 
> --
> Mark D. Porter
> Exchange Solutions Inc.
> mporter@exchangesolutions.net
> www.exchangesolutions.net
> p.416.815.8010 x224
> f.416.815.8013
> 
> 
> 

Mime
View raw message