ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: loaderref attribute in taskdef
Date Thu, 04 Jul 2002 06:06:18 GMT
On Wed, 3 Jul 2002, Nick Southwell <nicks@yomobile.net> wrote:

> I think the loaderref is supposed to refer to an AntClassLoader.

No, it's just a name.  Use the same name for all taskdefs that are
supposed to use the same classloader.

But I think you may not even need loaderref at all if you put together
a properties file that defines all your tasks and use the file or
resource attribute of taskdef.  loaderref is probably only needed if
you want to use custom datatypes together with custom tasks.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message