Jackrabbit Backup

2009-02-18 Thread Nitesh Ambuj
Hi All, We are working on an application which is using Sling Framework and Jackrabbit repository. Everything is working fine and now we are considering to implement security / backup procedures. We wanted to take a backup of Jackrabbit repository, may be in XML format or something which is avai

[jira] Commented: (SLING-571) JspServletWrapper swallows jsp exceptions if root cause is null

2009-02-18 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674822#action_12674822 ] Alexander Klimetschek commented on SLING-571: - @Felix: I think I removed the "St

[jira] Closed: (SLING-775) Use consistent labeling for Sling components

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-775. -- Resolution: Fixed I think Felix has cleaned up all the naming some weeks ago, so I'll close this

[jira] Updated: (SLING-377) Make troubleshooting of initial content loading easier

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-377: --- Component/s: (was: JCR Resource) JCR Contentloader > Make troubleshooting

[jira] Closed: (SLING-766) Initial Content should not be removed on bundle stop

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-766. -- Resolution: Fixed No further comments, so I'll close this bug. If any problems arise please open

[jira] Updated: (SLING-587) JcrBundlesManager

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-587: --- Component/s: (was: OSGi) JCR Install > JcrBundlesManager > --

[jira] Closed: (SLING-563) Allow non-bundle jars to be loaded as bundles using external metadata

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-563. -- Resolution: Won't Fix I think we should close this bug. Above are enough reasons against this fe

[jira] Updated: (SLING-646) jcrinstall - take two

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-646: --- Component/s: (was: OSGi) JCR Install > jcrinstall - take two > --

[jira] Updated: (SLING-590) Add resource.adaptTo(ValueMap.class) to page context attributes

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-590: --- Affects Version/s: Scripting JSP-Taglib 2.0.2 Fix Version/s: Scripting JSP-Taglib 2.0.4

[jira] Commented: (SLING-571) JspServletWrapper swallows jsp exceptions if root cause is null

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674800#action_12674800 ] Carsten Ziegeler commented on SLING-571: Hi Alex, the patch is not up to date anymor

Re: Compilation failure: org.osgi.framework.Constants stuff

2009-02-18 Thread Vidar Ramdal
On Wed, Feb 18, 2009 at 9:01 PM, John Langley wrote: > I ran into something similar yesterday, however in my case a command > line driven maven build was fine, whereas a maven build from within > eclipse was failing in the way that Vidar describes. In my (failing) case I was already running maven

[jira] Updated: (SLING-517) Improve i18n node types

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-517: --- Affects Version/s: Extensions i18n 2.0.2 Fix Version/s: Extensions i18n 2.0.2 > Improv

[jira] Closed: (SLING-517) Improve i18n node types

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-517. -- Assignee: Carsten Ziegeler I've removed the unused nodetype in rev. 745640 > Improve i18n node

[jira] Closed: (SLING-686) Change i18n storage structure for less redundancy

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-686. -- Resolution: Won't Fix > Change i18n storage structure for less redundancy >

Re: felix.service.urlhandlers disabled?

2009-02-18 Thread John Langley
In order to get the new felix functionality, I've been building from their source (trunk) and then in turn building sling from the trunk. Is there a better way? How soon are their artifacts likely to show up in a network accessible maven repository (or perhaps I just missed something). Thanks in

Re: Compilation failure: org.osgi.framework.Constants stuff

2009-02-18 Thread John Langley
I ran into something similar yesterday, however in my case a command line driven maven build was fine, whereas a maven build from within eclipse was failing in the way that Vidar describes. I considered it an unfortunate eclipse idiosyncrasy and moved on using just command line based maven builds

[jira] Reopened: (SLING-857) Support XSL transformations when importing XML for initial-content

2009-02-18 Thread Vidar S. Ramdal (JIRA)
[ https://issues.apache.org/jira/browse/SLING-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vidar S. Ramdal reopened SLING-857: --- Assignee: Felix Meschberger (was: Vidar S. Ramdal) Ooops, shouldn't have marked this as 're

Re: Compilation failure: org.osgi.framework.Constants stuff

2009-02-18 Thread Vidar Ramdal
> Vidar Ramdal schrieb: >> I'm unable to build Sling at the moment (fresh checkout, clean install): >> INFO] Compilation failure >> [...] >> I see Felix (Meschberger) has updated the dependency to (Apache) Felix >> Framework 1.5.0-SNAPSHOT - maybe something has changed in >> 1.5.0-SNAPSHOT since th

Re: Servlet handling POST/PUT for non-existing resources?

2009-02-18 Thread Alexander Klimetschek
On Thu, Feb 12, 2009 at 8:39 AM, Felix Meschberger wrote: > Using the absolute path mechanism you can do that: just register the > servlet for two paths, say: > >/apps/sling/nonexisting/i18n.servlet >/apps/i18n/dictionary.servlet > > This should do the trick. I fear, though, that selectors

Re: Compilation failure: org.osgi.framework.Constants stuff

2009-02-18 Thread Felix Meschberger
Hi Vidar, This is strange and never has been reported... But it may be related to how maven resolves dependencies :-( The point is that this property is rather new, so Framework 1.5-SNAPSHOT has it. But the property is in the org.osgi.framework.Constants interface which is both in the Apache Feli

[jira] Closed: (SLING-863) Bundle stop does not clear field causing NullPointerException on bundle restart

2009-02-18 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-863. --- Resolution: Fixed Applied fix (setting the field to null in the stop and start methods) in Rev

[jira] Created: (SLING-863) Bundle stop does not clear field causing NullPointerException on bundle restart

2009-02-18 Thread Felix Meschberger (JIRA)
Bundle stop does not clear field causing NullPointerException on bundle restart --- Key: SLING-863 URL: https://issues.apache.org/jira/browse/SLING-863 Project: Sling

[jira] Closed: (SLING-752) JcrResourceResolver2 resolve(String) method not API conform

2009-02-18 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-752. --- Resolution: Fixed Fix Version/s: JCR Resource 2.0.4 This can be closed by now. > JcrRe

Re: felix.service.urlhandlers disabled?

2009-02-18 Thread Vidar Ramdal
On Wed, Feb 18, 2009 at 3:22 PM, Felix Meschberger wrote: > As of Rev. 745521 I have enabled the URLHandlers by default again. See > also SLING-862 [1] Great, thanks -- Vidar S. Ramdal - http://www.idium.no Akersgata 16, N-0158 Oslo, Norway

[jira] Resolved: (SLING-862) Reenable URLHandlers support by default

2009-02-18 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-862. - Resolution: Fixed Enabled URLHandlers support by default in Rev. 745521 by setting the fe

Re: felix.service.urlhandlers disabled?

2009-02-18 Thread Felix Meschberger
As of Rev. 745521 I have enabled the URLHandlers by default again. See also SLING-862 [1] Regards Felix [1] https://issues.apache.org/jira/browse/SLING-862 Vidar Ramdal schrieb: > Is there a reason for felix.service.urlhandlers=false in sling.properties? > > I had another case with this earlier

[jira] Created: (SLING-862) Reenable URLHandlers support by default

2009-02-18 Thread Felix Meschberger (JIRA)
Reenable URLHandlers support by default --- Key: SLING-862 URL: https://issues.apache.org/jira/browse/SLING-862 Project: Sling Issue Type: Improvement Components: Launchpad Launcher Affects V

[jira] Resolved: (SLING-517) Improve i18n node types

2009-02-18 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek resolved SLING-517. - Resolution: Fixed The most important change, using the node name for the key if sl

[jira] Commented: (SLING-861) Add HTTP PUT support for maven-sling-plugin

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674621#action_12674621 ] Carsten Ziegeler commented on SLING-861: I agree and renamed it in revision: 745515

[jira] Commented: (SLING-861) Add HTTP PUT support for maven-sling-plugin

2009-02-18 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674620#action_12674620 ] Felix Meschberger commented on SLING-861: - Thanks for the patch, I think this is a v

[jira] Closed: (SLING-859) option overwrite:=true

2009-02-18 Thread Vladislav Krejcirik (JIRA)
[ https://issues.apache.org/jira/browse/SLING-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladislav Krejcirik closed SLING-859. - Resolution: Fixed Now, it seems that it works. I change primaryType in my nodes from nt:u

[jira] Updated: (SLING-861) Add HTTP PUT support for maven-sling-plugin

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-861: --- Affects Version/s: Maven Sling Plugin 2.0.2 > Add HTTP PUT support for maven-sling-plugin > --

[jira] Resolved: (SLING-861) Add HTTP PUT support for maven-sling-plugin

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-861. Resolution: Fixed Thanks for your patch - I've applied it in revision:745510. Please cross c

Re: AccessControlUtil.addEntry(), @scr private=, deactivate bundles in mvn?

2009-02-18 Thread Juan José Vázquez Delgado
> Thanks for the answer, Juanjo. You´re welcome. > I want to add restrictions to nodes > (isAllow=false) . Is this possible with addAccessControlEntry()? I´m sorry Marc, for the time being this feature is not supported. There are some problems with building a jackrabbit-core osgizied bundle [1].

[jira] Assigned: (SLING-861) Add HTTP PUT support for maven-sling-plugin

2009-02-18 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reassigned SLING-861: -- Assignee: Carsten Ziegeler > Add HTTP PUT support for maven-sling-plugin > -

Re: AccessControlUtil.addEntry(), @scr private=, deactivate bundles in mvn?

2009-02-18 Thread Marc Speck
Thanks for the answer, Juanjo. I use acl.addAccessControlEntry(userPrincipal, supportedPrivileges); in other places and it works fine. However, I want to add restrictions to nodes (isAllow=false) . Is this possible with addAccessControlEntry()? Marc On Wed, Feb 18, 2009 at 1:44 PM, Juan José Váz

Re: AccessControlUtil.addEntry(), @scr private=, deactivate bundles in mvn?

2009-02-18 Thread Juan José Vázquez Delgado
Hi Marc, > 1. AccessControlUtil.addEntry() throws "java.lang.NoSuchMethodException: > org.apache.jackrabbit.core.security.authorization.acl.ACLTemplate.addEntry()" > as rootCause. I use *;resolution:=optional > for that bundle and the following code. > > accessController = AccessControlUtil.getAcc

[jira] Updated: (SLING-861) Add HTTP PUT support for maven-sling-plugin

2009-02-18 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-861: Attachment: sling-install-PUT-support.patch Here is the patch against rev 745474 to

[jira] Created: (SLING-861) Add HTTP PUT support for maven-sling-plugin

2009-02-18 Thread Alexander Klimetschek (JIRA)
Add HTTP PUT support for maven-sling-plugin --- Key: SLING-861 URL: https://issues.apache.org/jira/browse/SLING-861 Project: Sling Issue Type: New Feature Components: Maven Plugins

AccessControlUtil.addEntry(), @scr private=, deactivate bundles in mvn?

2009-02-18 Thread Marc Speck
1. AccessControlUtil.addEntry() throws "java.lang.NoSuchMethodException: org.apache.jackrabbit.core.security.authorization.acl.ACLTemplate.addEntry()" as rootCause. I use *;resolution:=optional for that bundle and the following code. accessController = AccessControlUtil.getAccessControlManager(ses

[jira] Updated: (SLING-859) option overwrite:=true

2009-02-18 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado updated SLING-859: "no definition found in parent node's node type for new node: no matching child

Re: [VOTE] Source Tree Restructuring

2009-02-18 Thread Tobias Bocanegra
On 2/18/09, Carsten Ziegeler wrote: > Tobias Bocanegra wrote: > > just out of curiosity: why is jcrinstall not in "jcr" ? i find it > > awkward, that a JCR based framework keeps a JCR based bundle/config > > loading in "contrib" :-) > > :) > > Actually I agree that jcrinstall should be moved i

Re: [VOTE] Source Tree Restructuring

2009-02-18 Thread Juan José Vázquez Delgado
> we recently discussed the new structure for our source tree. To finalize > this, I'll start this vote (lazy consensus applies). +1 BR; Juanjo.