ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: classloader for 1.7
Date Tue, 12 Sep 2006 22:06:18 GMT
In this case you could try the classloader task.

Peter


On 9/12/06, Antoine Levy-Lambert <antoine@gmx.de> wrote:
>
> Hello Peter,
>
> I had a problem with a custom task which I had written which was using
> JNDI. This task had a runtime dependency on a JNDI driver for MQ Series.
> Adding the JNDI driver to the classpath of the taskdef never worked, the
> only thing that worked was to start ant with a -lib fullpathtoMQJNDI.jar.
> I assumed that the reason is that the JNDI driver is loaded by the JDK
> runtime, so only indirectly from my custom task.
>
> Regards,
>
> Antoine
> -------- Original-Nachricht --------
> Datum: Tue, 12 Sep 2006 21:24:30 +0100
> Von: "Peter Reilly" <peter.kitt.reilly@gmail.com>
> An: "Ant Developers List" <dev@ant.apache.org>
> Betreff: Re: classloader for 1.7
>
> > On 9/12/06, Antoine Levy-Lambert <antoine@gmx.de> wrote:
> > >
> > > Hi Peter,
> > >
> > > I would add another question : does this appendcomponentpath task
> allow
> > to
> > > add stuff to the classpath where we are normally hit by the delegating
> > > classloader problem ? Such as JDBC/JNDI drivers for instance.
> >
> >
> > For JDBC,  it will not help as the SLQ task is not an optional task and
> > thus will not be loaded by the extension/component classloader.
> > I do not know about JNDI drivers.
> >
> > For SQLTask, the <classpath> element seems to work for me (i.e. load
> > in drivers) {at least the one time I have used it!).
> >
> > Peter
> >
> >
> > Regards,
> > >
> > > Antoine
> > > -------- Original-Nachricht --------
> > > Datum: Tue, 12 Sep 2006 07:29:37 -0700 (PDT)
> > > Von: Matt Benson <gudnabrsam@yahoo.com>
> > > An: Ant Developers List <dev@ant.apache.org>
> > > Betreff: Re: classloader for 1.7
> > >
> > > > The subject line is manually entered b/c I no longer
> > > > have the mails from the original thread; I'm hoping
> > > > the mail archive will do the right thing anyway.  So
> > > > (and I make no pretense that this isn't DIRECTLY
> > > > related to my other thread)...
> > > >
> > > > Peter, what's the status of your simplified extension
> > > > task prototype described here:
> > > >
> > > > http://marc.theaimsgroup.com/?l=ant-dev&m=115695299516537&w=2
> > > >
> > > > ?
> > > >
> > > > Thanks,
> > > > Matt
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> > > For additional commands, e-mail: dev-help@ant.apache.org
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

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