Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Felix Meschberger
Hi Torgeir, Torgeir Veimo schrieb: On 25 Jul 2008, at 23:53, Felix Meschberger (JIRA) wrote: The filesystem resource provider is your friend: Create a configuration mapping sling.home into the resource tree and start looking at it. Can someone provide the exact details of what to change

[jira] Closed: (SLING-605) Extend RequestDispatcherOptions support for requests without extension

2008-08-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-605. --- Resolution: Won't Fix Assignee: Felix Meschberger This needs nothing to change.

Re: Sling-Initial-Content and WebDav with custom node type

2008-08-12 Thread Marc Speck
1. Is it possible to load files with Sling-Initial-Content into a custom node type? When I try it with foo.png and foo.xml (which contains the definitions), jcr:data is always 0. Which version of the contentloader are you using? This functionality has been added after the 2.0.2-incubator

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
On 12 Aug 2008, at 16:00, Felix Meschberger wrote: Nothing needs to be changed to the sling.properties file. Just create a configuration object with the Provider Root set to the location where you want to hook (mount) the filesystem provider in the resource tree and set the Filesystem

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Felix Meschberger
Hi Torgeir, Torgeir Veimo schrieb: On 12 Aug 2008, at 16:00, Felix Meschberger wrote: Nothing needs to be changed to the sling.properties file. Just create a configuration object with the Provider Root set to the location where you want to hook (mount) the filesystem provider in the

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
On 12 Aug 2008, at 19:43, Felix Meschberger wrote: Ok, I found it and tried configuring with eg. provider.roots = test and provider.file = . I still cannot seem to trigger that this one is being used when trying to access localhost/sling/test/. Any ideas? Could it be that the

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Felix Meschberger
Hi Torgeir, Torgeir Veimo schrieb: Starting with a fresh org.apache.sling.launchpad.webapp-4-incubator-SNAPSHOT.war (from trunk) deployed as sling.war into a tomcat instance. Also deploying FsResourceProvider bundle using mangement console. ok, freshly built FsResourceProvider from

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
On 12 Aug 2008, at 20:30, Felix Meschberger wrote: Torgeir Veimo schrieb: Starting with a fresh org.apache.sling.launchpad.webapp-4-incubator- SNAPSHOT.war (from trunk) deployed as sling.war into a tomcat instance. Also deploying FsResourceProvider bundle using mangement console. ok,

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Felix Meschberger
Hi, Torgeir Veimo schrieb: Macintosh-3:fsresource torgeir$ cat ~/java/apache-tomcat-6.0.14/sling/config/org/apache/sling/fsprovider/FsResourceProvider.config service.pid=org.apache.sling.fsprovider.FsResourceProvider provider.roots=/test provider.file=. Ah ! That is the point. The

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
On 12 Aug 2008, at 21:19, Felix Meschberger wrote: Ah ! That is the point. The FsResourceProvider is a component factory. The configuration you are showing is not one which causes FsResourceProvider to activate. If you are using the old (I think this is default) 1.0 release of the Felix

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Felix Meschberger
Hi, Torgeir Veimo schrieb: On 12 Aug 2008, at 21:19, Felix Meschberger wrote: Ah ! That is the point. The FsResourceProvider is a component factory. The configuration you are showing is not one which causes FsResourceProvider to activate. If you are using the old (I think this is

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
On 12 Aug 2008, at 21:43, Felix Meschberger wrote: Hi, Torgeir Veimo schrieb: On 12 Aug 2008, at 21:19, Felix Meschberger wrote: Ah ! That is the point. The FsResourceProvider is a component factory. The configuration you are showing is not one which causes FsResourceProvider to

[jira] Created: (SLING-607) org.apache.log4j.CategoryKey is missing

2008-08-12 Thread Oliver Lietz (JIRA)
org.apache.log4j.CategoryKey is missing --- Key: SLING-607 URL: https://issues.apache.org/jira/browse/SLING-607 Project: Sling Issue Type: Bug Components: Commons Log Affects Versions:

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Felix Meschberger
Hi, Torgeir Veimo schrieb: On 12 Aug 2008, at 21:43, Felix Meschberger wrote: Hi, Torgeir Veimo schrieb: On 12 Aug 2008, at 21:19, Felix Meschberger wrote: Ah ! That is the point. The FsResourceProvider is a component factory. The configuration you are showing is not one which causes

[jira] Commented: (SLING-607) org.apache.log4j.CategoryKey is missing

2008-08-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12621799#action_12621799 ] Felix Meschberger commented on SLING-607: - Hmm, I don't think our logging bundle is

[jira] Commented: (SLING-607) org.apache.log4j.CategoryKey is missing

2008-08-12 Thread Oliver Lietz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12621807#action_12621807 ] Oliver Lietz commented on SLING-607: Yes, I can confirm - same exception. I'm rebuilding

[jira] Closed: (SLING-607) org.apache.log4j.CategoryKey is missing

2008-08-12 Thread Oliver Lietz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz closed SLING-607. -- Resolution: Won't Fix removing logging classes from causing bundle helped

[jira] Commented: (SLING-591) NoSuchMethodError exception in javax.script.Bindings when running on Java 5

2008-08-12 Thread Oliver Lietz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12621855#action_12621855 ] Oliver Lietz commented on SLING-591: I would like to see this handled more gracefully.

Scripts for Basic Versioning

2008-08-12 Thread Outta Sight
I'm looking for an example of how to perform versioned POSTs (POST.esp) and also how to access a list of these versions (versions.esp) for any node. It seems that this sort of capability must be scripted using Sling scripts. Does anybody have examples using Javascript? Because Sling is built on

Using java annotations for servlet resolution mapping

2008-08-12 Thread Tobias Bocanegra
hi, currently sling uses @scr javadoc comments to specify the bindings from the request infos to servlets. for example: /** * @scr.service * @scr.property name=sling.servlet.resourceTypes values=bin/test * @scr.property name=sling.servlet.extensions values=txt, html */ public class

Create New UserID?

2008-08-12 Thread Outta Sight
I looked at Day's notes application and I understand a bit more about how to do versioning when posting. http://dev.day.com/microsling/content/blogs/main/anothersampleapp.html http://dev.day.com/microsling/content/blogs/main/anothersampleapp/notes.zip In my new POST script, I am also setting a

[jira] Created: (SLING-608) Provide Authentication Control

2008-08-12 Thread Marvin Phelps (JIRA)
Provide Authentication Control -- Key: SLING-608 URL: https://issues.apache.org/jira/browse/SLING-608 Project: Sling Issue Type: Improvement Components: Documentation, JCR, Launchpad Affects

[jira] Commented: (SLING-608) Provide Authentication Control

2008-08-12 Thread Rory Douglas (JIRA)
[ https://issues.apache.org/jira/browse/SLING-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12622098#action_12622098 ] Rory Douglas commented on SLING-608: One way of improving the authentication aspect is

[jira] Commented: (SLING-607) org.apache.log4j.CategoryKey is missing

2008-08-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12622101#action_12622101 ] Felix Meschberger commented on SLING-607: - Thanks for the feedback.

[jira] Commented: (SLING-591) NoSuchMethodError exception in javax.script.Bindings when running on Java 5

2008-08-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12622102#action_12622102 ] Felix Meschberger commented on SLING-591: - I would like to see this handled more

[jira] Commented: (SLING-608) Provide Authentication Control

2008-08-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12622108#action_12622108 ] Felix Meschberger commented on SLING-608: - @Marvin: You are right. We don't have