ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Porter <mpor...@exchangesolutions.net>
Subject Re: EJB packaging with EJBJAR task
Date Fri, 23 Feb 2001 04:06:55 GMT
Hey Conor,

Thanks for the swift response! I've pulled down a copy of ant1.3b and your
suggestion works like a charm ... except in my last situation (stubs/skels
from another ejb). This is a difficult one as these dont hang around on the
filesystem outside of the 'server' beans jar file (at least AFAIK).

Mark

Conor MacNeill wrote:

> 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
> >
> >
> >

--
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