Hi Felix,

On 9/15/07, Felix Meschberger <[EMAIL PROTECTED]> wrote:
> Let me see, whether I understand it correctly...

You do, your description matches what I'm trying to do.

> ...Probably, you will setup a class loader in whose parent is the class
> loader loading the hammer.jar. This private classloader, will know the
> Felix framework (and osgi) libraries, which you load in the Hammer....

Exactly.

> ... the
> private class loader must be able to be setup from jar files embedded in
> jar files, which is AFAIK not possible with the standard URLClassLoader...

That's what I found out as well. http://one-jar.sourceforge.net/ uses
a JarClassLoader which demonstrates one way to solve this.

> ...You might want to have a look at the ClassWorlds project for a solution
> to this problem...

Cool, thanks for the pointer. Classworlds looks very interesting, and
the uberjar plugin could help as well.

-Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to