RE: How to debug adapterfactory?

2012-06-25 Thread Robert Munteanu
Hi Robert, > -Original Message- > From: Robert A. Decker [mailto:dec...@robdecker.com] > Sent: Tuesday, June 26, 2012 1:35 AM > To: users@sling.apache.org > Subject: How to debug adapterfactory? > > Hi, > > I've written an AdapterFactory that appears to be set up correctly. It > shows up

Re: problem with partialbundlelist and trunk version of launchpad plugin

2012-06-25 Thread Justin Edelson
Reto- I believe you are missing true from the maven-launchpad-plugin block (as a direct child of NOT in the plugin configuration). Without this, Maven doesn't know how to handle partial bundle list artifacts. Regards, Justin On Jun 25, 2012, at 10:38 AM, Reto Bachmann-Gmür wrote: > Hello, >

Re: How to debug adapterfactory?

2012-06-25 Thread Robert A. Decker
I've since implemented Adaptable in my api and extended SlingAdaptable in my implementation of my class but I'm still not able to adaptTo from Resource to my class. Rob On Jun 26, 2012, at 12:34 AM, Robert A. Decker wrote: > Hi, > > I've written an AdapterFactory that appears to be set up cor

How to debug adapterfactory?

2012-06-25 Thread Robert A. Decker
Hi, I've written an AdapterFactory that appears to be set up correctly. It shows up in my services and has adaptables and adapters. And when I look under the System Console 'Sling Adapters' tab it shows up as well with the proper values under the Adaptable Class column and under the AdapterClas

Re: Plugging an external jackrabbit repository to Sling Launchpad

2012-06-25 Thread Bhathiya Jayasekara
Hi, I just built the Launchpad from the trunk and configured external repository home and xml path. Seems now it works for some extent. Now I don't see the previous exception but some new ones as follows. Any thoughts on this please? Exception 1) 25.06.2012 12:19:16.985 *INFO* [FelixStartLevel]

Re: Querying non-JCR resources using ResourceResolver.findResources

2012-06-25 Thread Carsten Ziegeler
Hi Craig, with the released versions of Sling there is no search support for resource providers other than the default jcr resource provider. However, if you checkout latest trunk, there is a new interface QueriableResourceProvider. Your custom resource provider should implement this to support qu

Querying non-JCR resources using ResourceResolver.findResources

2012-06-25 Thread Craig S. Dickson
Hi, I have a custom ResourceProvider that is surfacing resources under a path like /data/external for example and it appears to be working as expected if I attempt to resolve a specific path like /data/external/users/1 for example. However, I would now like to run queries for resources across t

problem with partialbundlelist and trunk version of launchpad plugin

2012-06-25 Thread Reto Bachmann-Gmür
Hello, I'm having troubles with partialbundlelists and the trunk version of the maven-launchpad-plugin and would be gratefull for some help. I'm getting: [ERROR] Failed to execute goal on project sample-jar: Could not resolve dependencies for project sample:sample-jar:jar:1-SNAPSHOT: Could not f