Re: ResourceProviderEntry Tree structure

2009-10-01 Thread Ian Boston
Further to this, I have done a first pass at a re-factored impl at http://codereview.appspot.com/124094 This is not integrated yet, and I haven't ported any of the unit tests to see if it *really* a) works b) is faster. Ian On 1 Oct 2009, at 21:12, Ian Boston wrote: I have been looking at

[jira] Created: (SLING-1133) Unable to Build Sling source code with Maven 2

2009-10-01 Thread Federico Arriola (JIRA)
Unable to Build Sling source code with Maven 2 -- Key: SLING-1133 URL: https://issues.apache.org/jira/browse/SLING-1133 Project: Sling Issue Type: Bug Components: Installer Envir

ResourceProviderEntry Tree structure

2009-10-01 Thread Ian Boston
I have been looking at the way that Resources are resolved in Sling and noticed 2 things. The resource resolution process used a lot, and perhaps the structure of the tree is not optimal. Below is a quick dump of the tree in psudo json. IIUC, during resolution of say a resource from a path lik

Re: Doing a query based on partial nodenames.

2009-10-01 Thread Alexander Klimetschek
On Thu, Oct 1, 2009 at 16:06, Simon Gaeremynck wrote: > I am trying to do a query where I want to get a set of nodes by matching > their names to a string. > For example: > Repository: > /sites/mysite/_files/WeekI_Day1 > /sites/mysite/_files/WeekI_Day2 > /sites/mysite/_files/WeekII_Day1 > /sites/m

Re: ResourceProvider binding.

2009-10-01 Thread Ian Boston
On 1 Oct 2009, at 13:52, Felix Meschberger wrote: If so, this would be another argument for your proposal. I will try and prove that this will work, so the full impact is known. http://codereview.appspot.com/124090 I have put a patch set up here, with some unit tests. It will work for

Re: [VOTE] Release API, Commons Classloader/Scheduler/HTML, Servlets Get

2009-10-01 Thread Felix Meschberger
+1 to all Regards Felix Carsten Ziegeler schrieb: > Hi, > > we did a lot of work in several modules, so I think it's time to get > this stuff released. My idea is to do this in some rounds. In each round > we can release a number of bundles. The first round consists of the > following five bundl

Re: ResourceProvider binding.

2009-10-01 Thread Ian Boston
On 1 Oct 2009, at 13:52, Felix Meschberger wrote: Hi, Ian Boston schrieb: On 1 Oct 2009, at 09:02, Felix Meschberger wrote: Hi, Ian Boston schrieb: I may be missing something basic, so please tell me if I am. IIUC, ResourceProvider implementations are bound by the JcrResourceResolverFac

Doing a query based on partial nodenames.

2009-10-01 Thread Simon Gaeremynck
Hi, I am trying to do a query where I want to get a set of nodes by matching their names to a string. For example: Repository: /sites/mysite/_files/WeekI_Day1 /sites/mysite/_files/WeekI_Day2 /sites/mysite/_files/WeekII_Day1 /sites/mysite/_files/WeekII_Day2 I would like to be able to do a query so

Re: ResourceProvider binding.

2009-10-01 Thread Felix Meschberger
Hi, Ian Boston schrieb: > > On 1 Oct 2009, at 09:02, Felix Meschberger wrote: > >> Hi, >> >> Ian Boston schrieb: >>> I may be missing something basic, so please tell me if I am. >>> >>> IIUC, ResourceProvider implementations are bound by the >>> JcrResourceResolverFactory.bindResourceProvider(..

[jira] Commented: (SLING-1127) Typo on start page: remmber -> remember

2009-10-01 Thread Andreas Kuckartz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761166#action_12761166 ] Andreas Kuckartz commented on SLING-1127: - Strange. I had accessed the page on diff

[jira] Commented: (SLING-1127) Typo on start page: remmber -> remember

2009-10-01 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761164#action_12761164 ] Alexander Klimetschek commented on SLING-1127: -- The typo is fixed. I guess you

[jira] Commented: (SLING-1127) Typo on start page: remmber -> remember

2009-10-01 Thread Andreas Kuckartz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761154#action_12761154 ] Andreas Kuckartz commented on SLING-1127: - More than a few hours have passed but th

Re: [jira] Commented: (SLING-1132) JCR Server Bundle has wrong bundle version

2009-10-01 Thread Ian Boston
You could use the maven to process the resource and replace maven properties as part of the build. IIRC the maven resources plugin has this feature. [1] Ian 1 http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html On 1 Oct 2009, at 08:56, Felix Meschberger (JIRA) wrote

Re: ResourceProvider binding.

2009-10-01 Thread Ian Boston
On 1 Oct 2009, at 09:02, Felix Meschberger wrote: Hi, Ian Boston schrieb: I may be missing something basic, so please tell me if I am. IIUC, ResourceProvider implementations are bound by the JcrResourceResolverFactory.bindResourceProvider(...) into a tree of ResourceProviderEntries where the

Re: [VOTE] Release API, Commons Classloader/Scheduler/HTML, Servlets Get

2009-10-01 Thread Ian Boston
On 29 Sep 2009, at 18:19, Carsten Ziegeler wrote: Ian Boston wrote: I am getting some gpg errors validating some of the artifacts where I would expect to see signatures. Strange - I don't see this; everything works fine. Do you have my key imported? my fault, key not imported, all Ok +1 Ia

Re: ResourceProvider binding.

2009-10-01 Thread Felix Meschberger
Hi, Ian Boston schrieb: > I may be missing something basic, so please tell me if I am. > > IIUC, ResourceProvider implementations are bound by the > JcrResourceResolverFactory.bindResourceProvider(...) into a tree of > ResourceProviderEntries where there is only one ResourceProvider bound > to an

[jira] Commented: (SLING-1132) JCR Server Bundle has wrong bundle version

2009-10-01 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761123#action_12761123 ] Felix Meschberger commented on SLING-1132: -- We might want to choose a combined app