xml-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: What jar file was a class loaded from?
Date Tue, 18 Feb 2003 15:41:30 GMT
On Tue, 18 Feb 2003, Brian Smith <brian-l-smith@uiowa.edu> wrote:

> I know that it doesn't work in NetBeans because NetBeans has a
> complex classloader system that uses some URL scheme "nbres://" or
> similar.

That only means that the code will know it cannot deal with the URL.

Norm wants the name of the jar file, the URL alone is not enough for
him.  I don't see how you'd do that for an URL scheme you don't know
anything about.

> So, any code (e.g. the <antlr> Ant task) that uses [if
> (location.startsWith("jar"))] fails.

Patches more than welcome 8-)


View raw message