ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: DO NOT REPLY [Bug 28228] - <classloader> task
Date Wed, 08 Jun 2005 07:28:46 GMT
On Mon, 6 Jun 2005, Rainer Noack <rainer@noacks.net> wrote:

> From: Stefan Bodewig [mailto:bodewig@apache.org] 

>> Well, at least it compiles on Kaffe, so those classes seem to 
>> get used by others as well.
> 
> Do they work?

No idea.  The Kaffe Gump runs (currently disabled) used to build them,
but don't have any unit tests so it's hard to tell.

> However, referring sun.* classes is not a good practice in general.

Absolutely.

>> > 2) the task could check if a jar or directort is already in 
>> > a in the 
>> > classpath
>> 
>> Yep.
> 
> +1 but IMHO this behaviour should be switchable as there a
> imaginable cases
> where it is not desired.
> However, if we want to have this feature, we should use the
> getBootstrapClasspathUrls-functionality (see 1) for this
> feature too.

I see.  On Sun VMs using sun.boot.classpath is probably as reliable as
using the sun.* classes.

>> The should state that this task will cause many issues no 
>> matter how you run Ant - unless you really know what you do ;-)
> 
> "... sometimes it is helpful to know what you do ..." (A former
> collegue) ;-)

Let me stretch the "really" in my sentence above.  8-)

Stefan

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


Mime
View raw message