[jira] Commented: (SLING-1023) Allow NonExistant Resources to have a Resource Type

2009-06-26 Thread Ian Boston (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724812#action_12724812 ] Ian Boston commented on SLING-1023: --- BTW if doing something at this level is never going

[jira] Commented: (SLING-1023) Allow NonExistant Resources to have a Resource Type

2009-06-26 Thread Ian Boston (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724719#action_12724719 ] Ian Boston commented on SLING-1023: --- What would make the patch acceptable ? SyntheticReso

[jira] Commented: (SLING-1023) Allow NonExistant Resources to have a Resource Type

2009-06-26 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724616#action_12724616 ] Alexander Klimetschek commented on SLING-1023: -- (arg, I just sent my comment,

RE: Script Context custom Bindings for engines

2009-06-26 Thread Mike Müller
Hi Felix, hi Juanjo > >> If you mean mapping jcr nodes to domain objects you might > want to use > >> OCM [1]. You have an example appying OCM at [2]. > > > > And if you want to hand-craft the adapters you may even want to > > implement an AdapterFactory.. > > Maybe even better than OCM because it

Re: Script Context custom Bindings for engines

2009-06-26 Thread Juan José Vázquez Delgado
>> If you mean mapping jcr nodes to domain objects you might want to use >> OCM [1]. You have an example appying OCM at [2]. > > And if you want to hand-craft the adapters you may even want to > implement an AdapterFactory.. Maybe even better than OCM because it wouldn´t be tied up with JCR. Juan

Re: Script Context custom Bindings for engines

2009-06-26 Thread Felix Meschberger
Hi, Juan José Vázquez Delgado schrieb: > Hi, > >> i want to inject custom objects to our scripts and did not find a solution >> to perform the task. > > If you´re custom class belongs to an exported package from some > bundle, just make: > > (some_script.esp) > > var myCustomObject = new some.

[jira] Updated: (SLING-1024) Correct resource super type handling

2009-06-26 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-1024: Component/s: Servlets Resolver Affects Version/s: Servlets Resolver 2.0.6

[jira] Closed: (SLING-1024) Correct resource super type handling

2009-06-26 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-1024. --- Resolution: Fixed > Correct resource super type handling > --

Re: Script Context custom Bindings for engines

2009-06-26 Thread Juan José Vázquez Delgado
Hi, > i want to inject custom objects to our scripts and did not find a solution > to perform the task. If you´re custom class belongs to an exported package from some bundle, just make: (some_script.esp) var myCustomObject = new some.package.CustomClass(); > The idea is to provide the scripts

[jira] Updated: (SLING-1023) Allow NonExistant Resources to have a Resource Type

2009-06-26 Thread Ian Boston (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ian Boston updated SLING-1023: -- Attachment: (was: SLING-1023.patch) > Allow NonExistant Resources to have a Resource Type > ---

[jira] Updated: (SLING-1023) Allow NonExistant Resources to have a Resource Type

2009-06-26 Thread Ian Boston (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ian Boston updated SLING-1023: -- Attachment: SLING-1023.patch New patch that correctly resolves selectors. > Allow NonExistant Resource

[jira] Updated: (SLING-1024) Correct resource super type handling

2009-06-26 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-1024: Component/s: Engine Affects Version/s: Engine 2.0.4 Fix Version/s: Engine

[jira] Created: (SLING-1024) Correct resource super type handling

2009-06-26 Thread Carsten Ziegeler (JIRA)
Correct resource super type handling Key: SLING-1024 URL: https://issues.apache.org/jira/browse/SLING-1024 Project: Sling Issue Type: Improvement Components: API, JCR Resource Affects Versio

Script Context custom Bindings for engines

2009-06-26 Thread Markus Pallo
i want to inject custom objects to our scripts and did not find a solution to perform the task. The idea is to provide the scripts with modelWrappers for the current node ... Any suggestions ? Markus

Re: Revisiting the resource super type handling

2009-06-26 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: > Felix Meschberger wrote: >> I agree, that the behaviour of the Resource.getResourceType() >> implementation for the bundle resource and filesystem resource >> implementations is inconsistent. >> >> The filesystem provider returns "sling/fs/resource" as its super typ

Re: Revisiting the resource super type handling

2009-06-26 Thread Carsten Ziegeler
Felix Meschberger wrote: > I agree, that the behaviour of the Resource.getResourceType() > implementation for the bundle resource and filesystem resource > implementations is inconsistent. > > The filesystem provider returns "sling/fs/resource" as its super type. > IMHO this is an interesting abst

Re: Revisiting the resource super type handling

2009-06-26 Thread Felix Meschberger
Hi, Carsten Ziegeler schrieb: > Hi, > > while changing the script resolution in the last days a little bit to > make it cacheable, I stumbled across the handling of the resource super > type. > The jcr resource implementation checks if the node has the > sling:resourceSuperType property and retur

Re: Revisiting the resource super type handling

2009-06-26 Thread Felix Meschberger
Hi, Tobias Bocanegra schrieb: > On Fri, Jun 26, 2009 at 10:30 AM, Carsten Ziegeler > wrote: >> Hi, >> >> while changing the script resolution in the last days a little bit to >> make it cacheable, I stumbled across the handling of the resource super >> type. >> The jcr resource implementation che

[jira] Commented: (SLING-1023) Allow NonExistant Resources to have a Resource Type

2009-06-26 Thread Ian Boston (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724495#action_12724495 ] Ian Boston commented on SLING-1023: --- There is a potential problem with this patch in the

Re: Revisiting the resource super type handling

2009-06-26 Thread Tobias Bocanegra
On Fri, Jun 26, 2009 at 10:30 AM, Carsten Ziegeler wrote: > Hi, > > while changing the script resolution in the last days a little bit to > make it cacheable, I stumbled across the handling of the resource super > type. > The jcr resource implementation checks if the node has the > sling:resourceSu

[jira] Closed: (SLING-987) Jobs/Events are purged in an uncontrolled way

2009-06-26 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-987. -- Resolution: Fixed > Jobs/Events are purged in an uncontrolled way >

Re: [Fwd: git://git.apache.org/sling.git]

2009-06-26 Thread Felix Meschberger
Hi, Ok, will do that. Thanks. Regards Felix Tony Stevenson schrieb: > Felix, > > Send this to infrastructure-dev -- Where Jukka and Gregorz will likely > see it and fix it up for you. > > > On 26 Jun 2009, at 10:33, Felix Meschberger wrote: > >> Hi all, >> >> We have move the Sling source

Re: OSGi Compendium

2009-06-26 Thread Carsten Ziegeler
Felix Meschberger schrieb: > > Carsten Ziegeler schrieb: >> Dominik Süß wrote: >>> Wouldn't it be more straight forward to exclude the Compendium Libraries >>> from the Declarative Services as well and have it as seperate bundle in >>> general? >>> I know this thoughts might lead to a big amount o

[jira] Updated: (SLING-1023) Allow NonExistant Resources to have a Resource Type

2009-06-26 Thread Ian Boston (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ian Boston updated SLING-1023: -- Attachment: SLING-1023.patch Here is a patch against r788637 I would also be happy to contribute somet

Re: OSGi Compendium

2009-06-26 Thread Felix Meschberger
Carsten Ziegeler schrieb: > Dominik Süß wrote: >> Wouldn't it be more straight forward to exclude the Compendium Libraries >> from the Declarative Services as well and have it as seperate bundle in >> general? >> I know this thoughts might lead to a big amount of small bundles and some >> might n

[Fwd: git://git.apache.org/sling.git]

2009-06-26 Thread Felix Meschberger
Hi all, We have move the Sling source code to its new top level location http://svn.apache.org/repos/asf/sling. It looks like the GIT mirror setup is still referring to the old incubator location at http://svn.apache.org/repos/asf/incubator/sling. Can someone please take care of this ? Thanks al

git://git.apache.org/sling.git

2009-06-26 Thread Ian Boston
Now that the svn repo has moved, has the git mirror been updated ? I am not getting any updates through. Ian

[jira] Created: (SLING-1023) Allow NonExistant Resources to have a Resource Type

2009-06-26 Thread Ian Boston (JIRA)
Allow NonExistant Resources to have a Resource Type --- Key: SLING-1023 URL: https://issues.apache.org/jira/browse/SLING-1023 Project: Sling Issue Type: Improvement Affects Versions: JCR Re

Snapshot versions in repository.apache.org

2009-06-26 Thread Ian Boston
Hi, We are seeing build failires in our project when we depend on SNAPSHOTs from repositroy.apache.org The error is [INFO] [ERROR] BUILD ERROR [INFO] -

Revisiting the resource super type handling

2009-06-26 Thread Carsten Ziegeler
Hi, while changing the script resolution in the last days a little bit to make it cacheable, I stumbled across the handling of the resource super type. The jcr resource implementation checks if the node has the sling:resourceSuperType property and returns this value if existent. If not, it tries t

Re: OSGi Compendium

2009-06-26 Thread Carsten Ziegeler
Dominik Süß wrote: > Wouldn't it be more straight forward to exclude the Compendium Libraries > from the Declarative Services as well and have it as seperate bundle in > general? > I know this thoughts might lead to a big amount of small bundles and some > might not like this, but in this case I th