On Mon, 19 Nov 2001, Don Taylor <[EMAIL PROTECTED]> wrote:
> --- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
>
>
>
>> Everything you have in your CLASSPATH or in ANT_HOME/lib will end
>> up in your system classloader when you run Ant. If your task
>> implementation can be loaded via this class
At least i got it and - shame on me - the error wasn't in ant but in my
build-file, where i am using an external property-file, where inside i
defined a property by using double-quotes :-(
>
> > the taskdef, where i am having the problem is quite complex and is
> > using several own libs.
>
> T
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> Everything you have in your CLASSPATH or in ANT_HOME/lib will end up
> in your system classloader when you run Ant. If your task
> implementation can be loaded via this classloader, it *will* be
> loaded
> via this classloader, no matter what.
On Sat, 17 Nov 2001, Michael Remme <[EMAIL PROTECTED]> wrote:
> the taskdef, where i am having the problem is quite complex and is
> using several own libs.
The most common reason for classloader problems with taskdefs is that
the task implementing class itself can be loaded from the system
clas
me <[EMAIL PROTECTED]> wrote:
>
> > Here the problem is residing in an own taskdef, where i want to
> > instantiate a class by calling Class.forName( ), which is
> > always throwing a ClassNotFoundException.
>
> Could you show us the taskdef please - is the class you
On Sat, 17 Nov 2001 01:47, Mark Claassen wrote:
> > The class you are looking up should be in the same classloader or
> > a parent
> > classloader of your task. So if your task is loaded from ant/lib then the
> > other class must also be in ant/lib etc.
>
> Does ant use a different class loader fo
On Fri, 16 Nov 2001, Michael Remme <[EMAIL PROTECTED]> wrote:
> Here the problem is residing in an own taskdef, where i want to
> instantiate a class by calling Class.forName( ), which is
> always throwing a ClassNotFoundException.
Could you show us the taskdef please - i
> The class you are looking up should be in the same classloader or
> a parent
> classloader of your task. So if your task is loaded from ant/lib then the
> other class must also be in ant/lib etc.
>
Does ant use a different class loader for every task definition? Why?
> Cheers,
>
> Pe
On Sat, 17 Nov 2001 01:16, Michael Remme wrote:
> in ant 1.4 i have the problem, that the Class.forName() is throwing an
> exception. I saw in the archive, that there was a similar request, but did
> not find any reply.
>
> Here the problem is residing in an own taskdef,
sounds like a classloader issue... but I am not an expert
there. Anyone else?
-jason
--- Michael Remme <[EMAIL PROTECTED]> wrote:
> Hi,
>
> in ant 1.4 i have the problem, that the Class.forName()
> is throwing an
> exception. I saw in the archive, that there was a simil
Hi,
in ant 1.4 i have the problem, that the Class.forName() is throwing an
exception. I saw in the archive, that there was a similar request, but did
not find any reply.
Here the problem is residing in an own taskdef, where i want to instantiate
a class by calling Class.forName( ), which
11 matches
Mail list logo