|
Re: classloading error after defining package prefixes [message #146210 is a reply to message #145790] |
Sat, 18 October 2003 14:20 |
Eclipse User |
|
|
|
Originally posted by: daniel.megert.gmx.net
Christian Sell wrote:
> Hello,
>
>
> I began adding
>
> <packages prefixes="my.package.prefix"/>
>
> elements to certain libraries in my plugin.xml. after doing this,
> classes from those libraries that did *not* have these elememts
> declared could not be loaded any longer.
>
> is this a bug or a feature, or am I missing something?
A feature to improve class loading: you have to list all package
prefixes of the library. Those not being declared are not found.
Dani
>
> thanks,
> Christian
>
|
|
|
|
Re: classloading error after defining package prefixes [message #146416 is a reply to message #146364] |
Mon, 20 October 2003 08:13 |
Eclipse User |
|
|
|
Originally posted by: daniel.megert.gmx.net
Christian Sell wrote:
> Daniel Megert wrote:
>
>> Christian Sell wrote:
>>
>>> Hello,
>>>
>>>
>>> I began adding
>>>
>>> <packages prefixes="my.package.prefix"/>
>>>
>>> elements to certain libraries in my plugin.xml. after doing this,
>>> classes from those libraries that did *not* have these elememts
>>> declared could not be loaded any longer.
>>>
>>> is this a bug or a feature, or am I missing something?
>>
>>
>>
>> A feature to improve class loading: you have to list all package
>> prefixes of the library. Those not being declared are not found.
>>
>> Dani
>
>
> did you get what I meant? Let me give an example
From your original post it was not clear (at least to me) whether the
*not* belongs to the classes or library. It would have been clearer with
the example attached along with the first posting ;-).
>
> <library file="bla.jar"/>
> <library file="another.jar">
> <packages prefixes="com.mycomp.dada"/>
> </library>
>
>
> after declaring the prefixes for library "another.jar", the classes
> from library "bla.jar" were no longer found. Feature?
No, this would clearly be a bug. Looks like the class loader uses
prefixes for all libs if prefixes are given for one lib. Please file a
bug report against Platform Core.
>
>
> thanks,
> Christian
>
>>
>>>
>>> thanks,
>>> Christian
>>>
>>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03532 seconds