ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [Patch] trying solve w2k command line length limitations
Date Mon, 07 Apr 2003 15:58:03 GMT
On Mon, 7 Apr 2003, Ignacio J. Ortega <nacho@siapi.es> wrote:

>> Which also implies that we'll need to go through Ant's codebase and
>> replace all Class.forName() calls (we better do that anyway 8-).
> 
> I didnt understand this, why?

Class.forName will use the system classloader and not the nice little
URLClassLoader your Launcher provides.  Many places inside Ant use
Class.forName, thereby assuming that everything from ANT_HOME/lib will
be available on the system classloader.

Stefan

Mime
View raw message