Hi all,

I was wondering if anyones managed to get CLAP resources working under an
OSGi environment?

I have two bundles - (A) provides Restlet (and dynamically imports *) and
(B) provides a Directory finder, and resources inside its bundle (the
directory/package containing html is exported).

The problem is that Bundle A doesn't want to find the resources in B ( at
least, the Directory isn't dishing it up to the browser).

I see this in my logs:

8/05/2008 5:19:22 PM com.noelios.restlet.local.DirectoryResource getVariants
INFO: Getting variants for : clap://thread/admin/index
[btpool3-1 - /admin/index.html] INFO org.restlet.Component - Getting
variants for : clap://thread/admin/index
8/05/2008 5:19:22 PM com.noelios.restlet.local.DirectoryResource <init>
INFO: Converted target URI: clap://thread/admin/index
[btpool3-1 - /admin/index.html] INFO org.restlet.Component - Converted
target URI: clap://thread/admin/index
8/05/2008 5:19:22 PM com.noelios.restlet.local.DirectoryResource <init>
INFO: Converted base name : index
[btpool3-1 - /admin/index.html] INFO org.restlet.Component - Converted base
name : index

I've tried using thread, system, and class clap prefixes to no avail.

Anyone with any ideas I could look at?

-- 
"It is easier to optimize correct code than to correct optimized code." --
Bill Harlan

Reply via email to