ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: New Laucher
Date Tue, 08 Jul 2003 15:12:00 GMT
On Tue, 8 Jul 2003, Conor MacNeill <conor@cortexebusiness.com.au>
wrote:

> It turns out this "legacy" code works better than the commented out
> code because it handles spaces in file names (which are otherwise
> rendered as %20)

Yes, the URI handling code in FileUtils is better than the code in the
JDK, at least up to 1.3.  JDK 1.4 with the URI class and File.toURI is
a different beast.

> The first, I intend to replace with (File.pathSeparatorChar ==
> ';'). That should be equivalent except on Netware but I'm not sure
> if Netware should be excluded or not - i.e. is the original code
> based on "dos" correct?

I don't know.  Is Jeff Tulley still around?  Jeff?? 8-)

> 1. Move getClassSource and getResourceSource to Locator from
> LoaderUtils.

Recode them to use Locator + FileUtils.normalize?

would resolve

> 1. getClassSource and getReosurceSource results will not be
> normalized.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message