ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Can we load task into Ant Core classloader
Date Thu, 11 Oct 2007 11:40:33 GMT
Vishal Vishnoi wrote:
> I would like to use loadref attribute of taskdef to load a given task 
> into Ant's Core classloader. Is this possible? I've gone through Ant's 
> manual and also some Google search results, but none of them talk about 
> any predefined loadref for Ant's core loader.

the loadref is there not to patch things into an existing classloader, 
but to let you load tasks and types in the same classloader

patching the running classloader is possible, but not encouraged, 
because you can do bad things to a running IDE.

How to do that? I think someone posted a task to the developer mailing 
list a few months back...

Steve Loughran        
Author: Ant in Action 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message