Re: Searching class spaces - noob

2008-06-06 Thread Richard S. Hall
Bhaskar Maddala wrote: I frequently (seem to) run into issues that result in Class loading related exceptions, doing a manual inspection of the manifest headers, I often come to the conclusion that the class should have been in the class space of the bundle that is causing the exception, at this

Re: Searching class spaces - noob

2008-06-06 Thread Bhaskar Maddala
>> Yes, if he has the class. However, I thought his original question on users@ >> said that he wanted to be able to list all class available in a class space. Yes this is my goal-plated requirement, and what I ultimately would want to do, but partially reimplementing the OSGi class loader search

Re: Searching class spaces - noob

2008-06-06 Thread Richard S. Hall
Niclas Hedhman wrote: On Friday 06 June 2008 01:47, Richard S. Hall wrote: In some cases, this won't be so easy, because you might have to look into the contents of embedded JAR files... Well, if he has the class (which I believe was the initial question), then I think the process wou

Re: Searching class spaces - noob

2008-06-06 Thread Karl Pauls
On Fri, Jun 6, 2008 at 6:40 AM, Niclas Hedhman <[EMAIL PROTECTED]> wrote: > On Friday 06 June 2008 01:47, Richard S. Hall wrote: >> In some >> cases, this won't be so easy, because you might have to look into the >> contents of embedded JAR files... > > Well, if he has the class (which I believe wa

Re: Searching class spaces - noob

2008-06-05 Thread Niclas Hedhman
On Friday 06 June 2008 01:47, Richard S. Hall wrote: > In some > cases, this won't be so easy, because you might have to look into the > contents of embedded JAR files... Well, if he has the class (which I believe was the initial question), then I think the process would be much easier. 1) Get t

Re: Searching class spaces - noob

2008-06-05 Thread Richard S. Hall
Bhaskar Maddala wrote: Got it thank you, all I care about is bundle 15 (for now at least), do not see why I care about the jar (since we are not using fragments at this time, using the bundle id should be sufficient). That will be all for now, until I get stuck again ;) Ok, well, you should

Re: Searching class spaces - noob

2008-06-05 Thread Bhaskar Maddala
Got it thank you, all I care about is bundle 15 (for now at least), do not see why I care about the jar (since we are not using fragments at this time, using the bundle id should be sufficient). That will be all for now, until I get stuck again ;) On Thu, Jun 5, 2008 at 10:31 AM, Richard S. Hall

Re: Searching class spaces - noob

2008-06-05 Thread Richard S. Hall
Bhaskar Maddala wrote: Richard : I am not entirely certain I understand the distinction between logical bundle and physical JAR (I get physical JAR but have no idea what a logical bundle means - noob in subject). As a second attempt in case I find the information I get from public classes to be i

Re: Searching class spaces - noob

2008-06-05 Thread Bhaskar Maddala
Thank you Niclas and Richard for the responses. Niclas : I think for the initial attempt I think I would like to have the public classes (Exported/Imported packages), and I can code something that retrieves this from PackageAdmin, that should solve 80% of my requirements. Richard : I am not entir

Re: Searching class spaces - noob

2008-06-04 Thread Richard S. Hall
Niclas Hedhman wrote: On Thursday 05 June 2008 04:44, Bhaskar Maddala wrote: Question : Does anyone know of a way to search class spaces for the location (bundle/jar file) from which a specified class is being loaded? If you are talking about Exported/Imported (i.e. public classes) p

Re: Searching class spaces - noob

2008-06-04 Thread Niclas Hedhman
On Thursday 05 June 2008 04:44, Bhaskar Maddala wrote: > Question : Does anyone know of a way to search class spaces for the > location (bundle/jar file) from which a specified class is being > loaded? If you are talking about Exported/Imported (i.e. public classes) packages, then you should be a

Searching class spaces - noob

2008-06-04 Thread Bhaskar Maddala
Hello, Couple of days back I sent the email with the same subject to the users mailing list, to which Richard Hall did reply, I gather Richard is also part of this mailing list, so firstly thanks for the reply Richard. I summarize the question and Richard's response below [1] I had a couple