Re: svn commit: r652271 - /incubator/sling/trunk/scripting/javascript/src/main/java/org/apache/sling/scripting/javascript/wrapper/ScriptableBase.java

2008-04-30 Thread Felix Meschberger
Hi Bertrand, Am Mittwoch, den 30.04.2008, 05:44 + schrieb [EMAIL PROTECTED]: Added: incubator/sling/trunk/scripting/javascript/src/main/java/org/apache/sling/scripting/javascript/wrapper/ScriptableBase.java (with props) +/** @return the Java object that we're wrapping, used

Re: svn commit: r652286 - in /incubator/sling/trunk/sling/core: pom.xml src/main/resources/SLING-INF/nodetypes/content.cnd

2008-04-30 Thread Felix Meschberger
Hi Carsten, Am Mittwoch, den 30.04.2008, 06:18 + schrieb [EMAIL PROTECTED]: Add sling:Folder nodetype. What is the use case for this node type Just curious ;-) Regards Felix PS: Am I picky today ;-) Added:

Re: Should jcr.api export jackrabbit api?

2008-04-30 Thread Felix Meschberger
Hi Carsten, Am Dienstag, den 29.04.2008, 16:51 +0200 schrieb Carsten Ziegeler: I'm wondering why we export the jackrabbit-api in our jcr.api? The jcr api should imho not be tied to any jcr implementation. You are right, of course and we should move the jackrabbit API another bundle, e.g.

Re: svn commit: r652299 - in /incubator/sling/trunk/jcr/contentloader: ./ DISCLAIMER LICENSE LICENSE.kxml2 NOTICE pom.xml src/ src/main/ src/main/java/

2008-04-30 Thread Felix Meschberger
Hi Carsten, Am Mittwoch, den 30.04.2008, 06:29 + schrieb [EMAIL PROTECTED]: Author: cziegeler Date: Tue Apr 29 23:29:30 2008 New Revision: 652299 URL: http://svn.apache.org/viewvc?rev=652299view=rev Log: Start new module for content loading. Great ! We should have a JIRA for that ?

Re: svn commit: r652286 - in /incubator/sling/trunk/sling/core: pom.xml src/main/resources/SLING-INF/nodetypes/content.cnd

2008-04-30 Thread Carsten Ziegeler
Felix Meschberger wrote: Hi Carsten, Am Mittwoch, den 30.04.2008, 06:18 + schrieb [EMAIL PROTECTED]: Add sling:Folder nodetype. What is the use case for this node type Just curious ;-) :) The use case is to create an nt:unstructured node as a child of an nt:folder. I'm putting

Re: Should jcr.api export jackrabbit api?

2008-04-30 Thread Carsten Ziegeler
Felix Meschberger wrote: Hi Carsten, Am Dienstag, den 29.04.2008, 16:51 +0200 schrieb Carsten Ziegeler: I'm wondering why we export the jackrabbit-api in our jcr.api? The jcr api should imho not be tied to any jcr implementation. You are right, of course and we should move the jackrabbit API

Re: svn commit: r652299 - in /incubator/sling/trunk/jcr/contentloader: ./ DISCLAIMER LICENSE LICENSE.kxml2 NOTICE pom.xml src/ src/main/ src/main/java/

2008-04-30 Thread Carsten Ziegeler
Felix Meschberger wrote: Hi Carsten, Am Mittwoch, den 30.04.2008, 06:29 + schrieb [EMAIL PROTECTED]: Author: cziegeler Date: Tue Apr 29 23:29:30 2008 New Revision: 652299 URL: http://svn.apache.org/viewvc?rev=652299view=rev Log: Start new module for content loading. Great ! We should

Re: Should jcr.api export jackrabbit api?

2008-04-30 Thread Felix Meschberger
Hi, Am Mittwoch, den 30.04.2008, 08:35 +0200 schrieb Carsten Ziegeler: Felix Meschberger wrote: Hi Carsten, Am Dienstag, den 29.04.2008, 16:51 +0200 schrieb Carsten Ziegeler: I'm wondering why we export the jackrabbit-api in our jcr.api? The jcr api should imho not be tied to any jcr

Re: [jira] Created: (SLING-400) Separate content loading from resource bundle

2008-04-30 Thread Felix Meschberger
Congratulations to #400 ! ;-) Am Dienstag, den 29.04.2008, 23:36 -0700 schrieb Carsten Ziegeler (JIRA): Separate content loading from resource bundle - Key: SLING-400 URL:

Re: [RT] Cleaning up our modules (Part I)

2008-04-30 Thread Carsten Ziegeler
Felix Meschberger wrote: Hi Carsten, Am Dienstag, den 29.04.2008, 17:28 +0200 schrieb Carsten Ziegeler: Hi, So, wrapping up: a) commons is a place for common code/bundles which is not directly tied to Sling (but used by Sling) b) We move the stuff from the osgi dir to better places c)

Re: svn commit: r652299 - in /incubator/sling/trunk/jcr/contentloader: ./ DISCLAIMER LICENSE LICENSE.kxml2 NOTICE pom.xml src/ src/main/ src/main/java/

2008-04-30 Thread Felix Meschberger
Hi, Am Mittwoch, den 30.04.2008, 08:39 +0200 schrieb Carsten Ziegeler: Felix Meschberger wrote: Great ! We should have a JIRA for that ? Hmm, where was this comment about someone being picky today... :) just kidding. LOL Regards Felix

Re: [RT] Cleaning up our modules (Part I)

2008-04-30 Thread Felix Meschberger
Hi, Am Mittwoch, den 30.04.2008, 08:44 +0200 schrieb Carsten Ziegeler: (2) deploy: deployes bundles into a Sling OBR server. This is related to the obr bundle. If the obr bundle is redone as a console plugin, we might offer this part together with the

Re: Should jcr.api export jackrabbit api?

2008-04-30 Thread Carsten Ziegeler
Felix Meschberger wrote: I was thinking about this option, too. But it has IMO two drawbacks: (1) It mixes API and implementation and requires two bundles to export things. The more problematic drawback is, that consuming bundles wire to either the client or server bundle when using the

Re: [jira] Created: (SLING-400) Separate content loading from resource bundle

2008-04-30 Thread Carsten Ziegeler
Felix Meschberger wrote: Congratulations to #400 ! :) We could start a competition - the person creating #1000 gets a free drink at new ApacheCon :) Carsten -- Carsten Ziegeler [EMAIL PROTECTED]

[jira] Created: (SLING-403) Move jcr.default-rtp to samples

2008-04-30 Thread Carsten Ziegeler (JIRA)
Move jcr.default-rtp to samples --- Key: SLING-403 URL: https://issues.apache.org/jira/browse/SLING-403 Project: Sling Issue Type: Improvement Affects Versions: 2.0.0 Reporter: Carsten Ziegeler

[jira] Updated: (SLING-383) Add simple JavaScript (Rhino) Wrappers for Version and VersionHistory interfaces

2008-04-30 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-383: -- Attachment: SLING-383.patch I'm getting connection reset by peer

Re: [jira] Created: (SLING-400) Separate content loading from resource bundle

2008-04-30 Thread Felix Meschberger
Hi, Am Mittwoch, den 30.04.2008, 08:57 +0200 schrieb Carsten Ziegeler: Felix Meschberger wrote: Congratulations to #400 ! :) We could start a competition - the person creating #1000 gets a free drink at new ApacheCon :) ... or T-Shirt ;-) Regards Felix

[jira] Commented: (SLING-405) Move web-console and obr servlet to Apache Felix

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12593273#action_12593273 ] Carsten Ziegeler commented on SLING-405: And the install part of the sling plugin

[jira] Created: (SLING-405) Move web-console and obr servlet to Apache Felix

2008-04-30 Thread Carsten Ziegeler (JIRA)
Move web-console and obr servlet to Apache Felix Key: SLING-405 URL: https://issues.apache.org/jira/browse/SLING-405 Project: Sling Issue Type: Task Affects Versions: 2.0.0

[RT] Cleaning up our modules (Part II)

2008-04-30 Thread Carsten Ziegeler
Ok, this is part two :) which just covers some of our modules. I think the extensions folder is great as well and it should contain useful extensions new Sling users do not need to worry about. Once they are familiar with the core principles of Sling they can have a look at the extensions and

[jira] Created: (SLING-406) Move osgi/log to commons/log

2008-04-30 Thread Carsten Ziegeler (JIRA)
Move osgi/log to commons/log Key: SLING-406 URL: https://issues.apache.org/jira/browse/SLING-406 Project: Sling Issue Type: Task Affects Versions: 2.0.0 Reporter: Carsten Ziegeler

[jira] Created: (SLING-404) Move assembly stuff to whiteboard

2008-04-30 Thread Carsten Ziegeler (JIRA)
Move assembly stuff to whiteboard - Key: SLING-404 URL: https://issues.apache.org/jira/browse/SLING-404 Project: Sling Issue Type: Improvement Affects Versions: 2.0.0 Reporter: Carsten

Re: [RT] Cleaning up our modules (Part II)

2008-04-30 Thread Bertrand Delacretaz
On Wed, Apr 30, 2008 at 11:24 AM, Carsten Ziegeler [EMAIL PROTECTED] wrote: Ok, this is part two :) ... Hmm..just wondering how many episodes we signed up for ;-) ... I think the extensions folder is great as well and it should contain useful extensions new Sling users do not need to worry

Re: [RT] Cleaning up our modules (Part II)

2008-04-30 Thread Carsten Ziegeler
Bertrand Delacretaz wrote: On Wed, Apr 30, 2008 at 11:24 AM, Carsten Ziegeler [EMAIL PROTECTED] wrote: Ok, this is part two :) ... Hmm..just wondering how many episodes we signed up for ;-) Hehe, until someone gives up...ok, seriously, I don't know; I'm going through all modules during the

Re: [RT] Cleaning up our modules (Part I)

2008-04-30 Thread Bertrand Delacretaz
On Tue, Apr 29, 2008 at 5:28 PM, Carsten Ziegeler [EMAIL PROTECTED] wrote: ... So, wrapping up: a) commons is a place for common code/bundles which is not directly tied to Sling (but used by Sling) b) We move the stuff from the osgi dir to better places c) osgi/assembly - sandbox d)

Re: Should jcr.api export jackrabbit api?

2008-04-30 Thread Carsten Ziegeler
Carsten Ziegeler wrote: Felix Meschberger wrote: I was thinking about this option, too. But it has IMO two drawbacks: (1) It mixes API and implementation and requires two bundles to export things. The more problematic drawback is, that consuming bundles wire to either the client or server

[jira] Updated: (SLING-406) Move osgi/log to commons/log

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-406: --- Component/s: OSGi Move osgi/log to commons/log

[jira] Updated: (SLING-405) Move web-console and obr servlet to Apache Felix

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-405: --- Component/s: OSGi Move web-console and obr servlet to Apache Felix

[jira] Closed: (SLING-400) Separate content loading from resource bundle

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-400. -- Resolution: Fixed Created new contentloader bundle. Separate content loading from resource

[jira] Closed: (SLING-311) Record loaded content to not reload inadvertedly.

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-311. -- Resolution: Fixed Added implementation of content loaded marker Added overwrite and uninstall

Re: Should jcr.api export jackrabbit api?

2008-04-30 Thread Felix Meschberger
Am Mittwoch, den 30.04.2008, 12:03 +0200 schrieb Carsten Ziegeler: Carsten Ziegeler wrote: Felix Meschberger wrote: I was thinking about this option, too. But it has IMO two drawbacks: (1) It mixes API and implementation and requires two bundles to export things. The more problematic

[jira] Commented: (SLING-405) Move web-console and obr servlet to Apache Felix

2008-04-30 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12593298#action_12593298 ] Alexander Klimetschek commented on SLING-405: - Maybe you can consider SLING-398

[jira] Assigned: (SLING-404) Move assembly stuff to whiteboard

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reassigned SLING-404: -- Assignee: Carsten Ziegeler Move assembly stuff to whiteboard

[jira] Created: (SLING-407) SlingServerRepository.copyFile may throw NullPointerException

2008-04-30 Thread Felix Meschberger (JIRA)
SlingServerRepository.copyFile may throw NullPointerException - Key: SLING-407 URL: https://issues.apache.org/jira/browse/SLING-407 Project: Sling Issue Type: Bug

[jira] Created: (SLING-408) Repository service not registered when using Equinox Declarative Services

2008-04-30 Thread Felix Meschberger (JIRA)
Repository service not registered when using Equinox Declarative Services - Key: SLING-408 URL: https://issues.apache.org/jira/browse/SLING-408 Project: Sling Issue

[jira] Updated: (SLING-408) Repository service not registered when using Equinox Declarative Services

2008-04-30 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-408: Description: While trying to run the jcr/jackrabbit-server bundle inside Equinox with the

[jira] Created: (SLING-409) Create own bundle for jackrabbit api and remove the export of jackrabbit classes from the jcr/api bundle

2008-04-30 Thread Carsten Ziegeler (JIRA)
Create own bundle for jackrabbit api and remove the export of jackrabbit classes from the jcr/api bundle Key: SLING-409 URL:

[jira] Closed: (SLING-395) Provide properties of JCR Nodes underlying Resources as Map

2008-04-30 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-395. --- Resolution: Fixed Implemented in Rev. 652385. To get the properties of a resource's node you

[jira] Created: (SLING-410) Add Utility class derived from the JcrResourceUtil

2008-04-30 Thread Carsten Ziegeler (JIRA)
Add Utility class derived from the JcrResourceUtil -- Key: SLING-410 URL: https://issues.apache.org/jira/browse/SLING-410 Project: Sling Issue Type: New Feature Components: API

[jira] Updated: (SLING-387) Simplify script paths and names

2008-04-30 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-387: Attachment: SLING387.patch This patch should implemented the latest decision from [1] As

Re: What are the best practices used in Sling.

2008-04-30 Thread janandith jayawardena
Hi Bertrand , Carsten, Thanks a lot :-). regards, janandith.

[jira] Updated: (SLING-398) [Patch] Separate bundle details page in sling web console

2008-04-30 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-398: Attachment: bundle-details-html-page.patch Updated patch that displays the

Understanding Script Context.

2008-04-30 Thread janandith jayawardena
Hi , According to what i observed from scripting modules in Sling there is a Script Context used in the Script Engine's eval method. Also according to what i understood from the JSR 223 spec a Script context provide a view of host application to the Script Engine. ex: Define Global scope ,

Re: Post Servlet Response Codes

2008-04-30 Thread Alexander Saar
Hi, Am 29.04.2008 um 16:43 schrieb Felix Meschberger: Am Dienstag, den 29.04.2008, 15:47 +0200 schrieb Alexander Saar: and there will be another request parameter which allows to override the response code for special case handling like hidden iframes in forms. This parameter could be

[jira] Commented: (SLING-387) Simplify script paths and names

2008-04-30 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12593369#action_12593369 ] Bertrand Delacretaz commented on SLING-387: --- I haven't found out how to hook a

Continuum

2008-04-30 Thread Carsten Ziegeler
Hi, I removed all projects from continuum so we shouldn't get any annoying mails from there anymore. I'll add all projects once svn is working again and we have done most of the restructuring of sling. Carsten -- Carsten Ziegeler [EMAIL PROTECTED]

[jira] Assigned: (SLING-410) Add Utility class derived from the JcrResourceUtil

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reassigned SLING-410: -- Assignee: Carsten Ziegeler Add Utility class derived from the JcrResourceUtil

[jira] Updated: (SLING-393) default renderer for .xml

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-393: --- Component/s: Default Servlets default renderer for .xml -

[jira] Updated: (SLING-403) Move jcr.default-rtp to samples

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-403: --- Component/s: Core Move jcr.default-rtp to samples ---

[jira] Updated: (SLING-329) cannot access node when node name is a number

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-329: --- Component/s: Scripting cannot access node when node name is a number

[jira] Updated: (SLING-318) UjaxDateValuesTest fails if Sling instance under test has a different timezone setting

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-318: --- Component/s: Testing UjaxDateValuesTest fails if Sling instance under test has a different

[jira] Updated: (SLING-368) Upgrade Dojo Toolkit bundling to Version 1.1

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-368: --- Component/s: Extensions Upgrade Dojo Toolkit bundling to Version 1.1

[jira] Updated: (SLING-386) rules for creating node names should be uniform

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-386: --- Component/s: Post Servlets rules for creating node names should be uniform

[jira] Updated: (SLING-302) Create a bundle providing Dojo as resources

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-302: --- Component/s: Extensions Create a bundle providing Dojo as resources

[jira] Updated: (SLING-45) Sling leaks PermSpace memory on restart of the webapp

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-45: -- Component/s: Core Sling leaks PermSpace memory on restart of the webapp

[jira] Updated: (SLING-353) Script engines need DynamicImport-Package *

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-353: --- Component/s: Scripting Script engines need DynamicImport-Package *

Re: Continuum

2008-04-30 Thread Felix Meschberger
Hi Carsten, Makes sense. Thanks. Regards Felix Am Mittwoch, den 30.04.2008, 19:28 +0200 schrieb Carsten Ziegeler: Hi, I removed all projects from continuum so we shouldn't get any annoying mails from there anymore. I'll add all projects once svn is working again and we have done most of

[jira] Updated: (SLING-249) Allow mapping nodes to internet domains

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-249: --- Component/s: Core Allow mapping nodes to internet domains

[jira] Updated: (SLING-333) Implement object cleanup mechanism

2008-04-30 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-333: --- Component/s: Core I'm not sure if we should do something like this - the Spring project

[jira] Commented: (SLING-387) Simplify script paths and names

2008-04-30 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12593395#action_12593395 ] Felix Meschberger commented on SLING-387: - The correct script path would be

Anyone building with eclipse?

2008-04-30 Thread Craig L. Ching
Hi all, Trying to get mvn eclipse:eclipse to work on the sling project and it's not. Is anyone using eclipse to build? If so, how are you doing it? One of the problems I'm working through is that 'org.apache.sling.api' shows up as just 'api' for the project name and I'm not yet sure why as the

Re: Anyone building with eclipse?

2008-04-30 Thread Bertrand Delacretaz
Hi, On Wed, Apr 30, 2008 at 9:35 PM, Craig L. Ching [EMAIL PROTECTED] wrote: ... Trying to get mvn eclipse:eclipse to work on the sling project and it's not. Is anyone using eclipse to build?... Yes, it works for me, I do mvn eclipse:eclipse then in Eclipse do import existing projects,