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" <[EMAIL PROTECTED]>
An: "Ant Developers List" <dev@ant.apache.org>
Betreff: Re: classloader for 1.7

> On 9/12/06, Antoine Levy-Lambert <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
> > 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to