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 Sun, 25 Feb 2001 22:12:39 GMT
Conor,

In using your tip for ejbjar, i've noticed that only the first <support> tagset
is included ... anything further to the first set is ignored by the task. Is
this expected behaviour?

Mark

Conor MacNeill wrote:

> Mark,
>
> I think you'll have to extract them to disk from the jar file and then
> include them. Perhaps later we can use a zipfileset but I need to think
> about how that works as some aspects of that concern me at the moment.
>
> Conor
>
> > -----Original Message-----
> > From: Mark Porter [mailto:mporter@exchangesolutions.net]
> > Sent: Friday, 23 February 2001 15:07
> > To: ant-user@jakarta.apache.org
> > Subject: Re: EJB packaging with EJBJAR task
> >
> >
> > 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
> >
> >
> >

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