Re: Current trunk broken?

2008-04-15 Thread Carsten Ziegeler
Bertrand Delacretaz wrote: On Tue, Apr 15, 2008 at 6:30 AM, paksegu [EMAIL PROTECTED] wrote: I have build errors as well running on Vista... ... [INFO] [INFO] Building Sling - Sample Sling Application [INFO]

Re: Current trunk broken?

2008-04-15 Thread Bertrand Delacretaz
On Tue, Apr 15, 2008 at 9:06 AM, Carsten Ziegeler [EMAIL PROTECTED] wrote: ... Sorry for the problems - I accidentally added the samples to the build again - but due to the unfinished changes with the jsp compilation, the sample module is not working again yet Ah ok - in the meantime,

Re: Current trunk broken?

2008-04-15 Thread Carsten Ziegeler
Bertrand Delacretaz wrote: On Tue, Apr 15, 2008 at 9:06 AM, Carsten Ziegeler [EMAIL PROTECTED] wrote: ... Sorry for the problems - I accidentally added the samples to the build again - but due to the unfinished changes with the jsp compilation, the sample module is not working again yet

Re: Too many open files

2008-04-15 Thread Vidar Ramdal
On Mon, Apr 14, 2008 at 5:32 PM, Bertrand Delacretaz [EMAIL PROTECTED] wrote: On Mon, Apr 14, 2008 at 5:28 PM, Vidar Ramdal [EMAIL PROTECTED] wrote: ...I've done some stress testing on Sling, and I consistently get a Too many open files error after about 850 requests, when I run an ESP

Re: Too many open files

2008-04-15 Thread Bertrand Delacretaz
On Tue, Apr 15, 2008 at 10:03 AM, Vidar Ramdal [EMAIL PROTECTED] wrote: ... OK, I get just about 850 rows of this: java31685 root 175r REG 104,1 16 829481

Re: svn commit: r648165 - in /incubator/sling/trunk: launchpad/app/pom.xml launchpad/jcrapp/pom.xml parent/pom.xml

2008-04-15 Thread Felix Meschberger
Hi, Am Dienstag, den 15.04.2008, 08:16 + schrieb [EMAIL PROTECTED]: Use latest commons-collections release (it's a bundle!) Hurray ! Regards Felix

Re: Too many open files

2008-04-15 Thread Vidar Ramdal
On Tue, Apr 15, 2008 at 10:11 AM, Bertrand Delacretaz [EMAIL PROTECTED] wrote: On Tue, Apr 15, 2008 at 10:03 AM, Vidar Ramdal [EMAIL PROTECTED] wrote: ... OK, I get just about 850 rows of this: java31685 root 175r REG 104,1 16 829481

[jira] Commented: (SLING-354) Better way to define the node name for a newly created node

2008-04-15 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12588991#action_12588991 ] Carsten Ziegeler commented on SLING-354: We don't have a majority yet, it's 2:2

[jira] Created: (SLING-380) DefualtSlingScript does not close the Script Reader

2008-04-15 Thread Felix Meschberger (JIRA)
DefualtSlingScript does not close the Script Reader --- Key: SLING-380 URL: https://issues.apache.org/jira/browse/SLING-380 Project: Sling Issue Type: Bug Components: Scripting

Re: Too many open files

2008-04-15 Thread Felix Meschberger
Hi Vidar, Wow ! You are in fact right. The RhinoJavaScriptEngine.eval() method never closes the reader it receives. Neither does the DefaultSlingScript generating the original reader. IMHO this is clearly a bug in the DefaultSlingScript method, which should ensure closing the reader created to

Where does the name Sling come from?

2008-04-15 Thread Bertrand Delacretaz
Hi, I guess we need an explanation from Uncle Felix on that one ;-) For now, I've added a placeholder at http://cwiki.apache.org/confluence/display/SLINGxSITE/Index to remind us to add the information. Using the word Catapult in this thread is forbidden by the Geneva convention. -Bertrand

[jira] Resolved: (SLING-380) DefualtSlingScript does not close the Script Reader

2008-04-15 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-380. - Resolution: Fixed Fixed in Rev. 648189. Vidar, could you please close this issue, if it

Multiple JcrResourceTypeProviders?

2008-04-15 Thread Carsten Ziegeler
Hi, currently there can only be one JcrResourceTypeProvider (or none). But I think it makes sense to support multiple providers. Simple use case is that several modules running in the same osgi environment might bring separate resource type providers. For my little demo app, I used a

[jira] Closed: (SLING-354) Better way to define the node name for a newly created node

2008-04-15 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-354. -- Resolution: Fixed Implemented with parameter name and nameHint Better way to define the node

Re: Node name generation

2008-04-15 Thread Carsten Ziegeler
Ok, anyonw *against* using name and nameHint? I'll commit a version using these parameter names. If anyone has a good reason for better names, I'm happy to change the impl. Carsten David Nuescheler wrote: hi guys, personally, i don't care too much as long as we keep the simple case namely

Re: Sling boilerplate text proposal

2008-04-15 Thread Bertrand Delacretaz
Hi Sally, Thanks very much for your advice - I have moved the text to http://cwiki.apache.org/confluence/display/SLINGxSITE/Index - will be live at http://incubator.apache.org/sling in a few hours. Incorporated your comment about the JCR acronym, and added a placeholder for us to explain the

[jira] Commented: (SLING-354) Better way to define the node name for a newly created node

2008-04-15 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12588998#action_12588998 ] Bertrand Delacretaz commented on SLING-354: --- IIUC the actual parameter names would

Re: Multiple JcrResourceTypeProviders?

2008-04-15 Thread Bertrand Delacretaz
On Tue, Apr 15, 2008 at 11:09 AM, Carsten Ziegeler [EMAIL PROTECTED] wrote: ... currently there can only be one JcrResourceTypeProvider (or none). But I think it makes sense to support multiple providers WDYT? +1, as long as there's a clear way of specifying priorities (and did I say

[jira] Assigned: (SLING-366) Add copy support to SlingPostServlet

2008-04-15 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reassigned SLING-366: -- Assignee: Carsten Ziegeler Add copy support to SlingPostServlet

Re: Multiple JcrResourceTypeProviders?

2008-04-15 Thread Felix Meschberger
Hi Carsten, Am Dienstag, den 15.04.2008, 11:09 +0200 schrieb Carsten Ziegeler: Hi, currently there can only be one JcrResourceTypeProvider (or none). But I think it makes sense to support multiple providers. Simple use case is that several modules running in the same osgi environment

[jira] Commented: (SLING-354) Better way to define the node name for a newly created node

2008-04-15 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12588985#action_12588985 ] Carsten Ziegeler commented on SLING-354: New proposal: - if nodeName is provided, it

[jira] Commented: (SLING-354) Better way to define the node name for a newly created node

2008-04-15 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12588988#action_12588988 ] Felix Meschberger commented on SLING-354: - +1 except that I do not particularly like

[jira] Assigned: (SLING-381) Support for Multiple JcrResourceTypeProviders

2008-04-15 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reassigned SLING-381: -- Assignee: Carsten Ziegeler Support for Multiple JcrResourceTypeProviders

[jira] Updated: (SLING-361) The sling/sample module fails to compile JSP scripts when run in a reactor build

2008-04-15 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-361: --- Affects Version/s: 2.0.0 Fix Version/s: 2.0.0 The sling/sample module fails to

[jira] Resolved: (SLING-366) Add copy support to SlingPostServlet

2008-04-15 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-366. Resolution: Fixed Fix Version/s: 2.0.0 Hi Tobi, I applied your patch - could you

[jira] Closed: (SLING-380) DefualtSlingScript does not close the Script Reader

2008-04-15 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-380. --- Closing this issue after confirmation. Thanks. DefualtSlingScript does not close the Script

Re: [jira] Commented: (SLING-380) DefualtSlingScript does not close the Script Reader

2008-04-15 Thread Felix Meschberger
Hi Vidar, Thanks for the feedback. I closed the issue. In addition I added you to the contributor's role for the Sling project. This might help (I am not that JIRA guru, though ; Regards Felix Am Dienstag, den 15.04.2008, 04:05 -0700 schrieb Vidar S. Ramdal (JIRA): [

[jira] Created: (SLING-382) VersionHistoryImpl is incorrectly wrapped as a Node in server-side javascript

2008-04-15 Thread Bertrand Delacretaz (JIRA)
VersionHistoryImpl is incorrectly wrapped as a Node in server-side javascript -- Key: SLING-382 URL: https://issues.apache.org/jira/browse/SLING-382 Project: Sling

Re: Accessing the version history

2008-04-15 Thread Bertrand Delacretaz
Hi, On Tue, Apr 15, 2008 at 12:44 PM, Gert Vanthienen [EMAIL PROTECTED] wrote: How can I access a node's version history in ESP? Right now, I have... % history = currentNode.getVersionHistory(); out.println(history); versions = history.getAllVersions(); out.println(versions); %

Re: Accessing the version history

2008-04-15 Thread Bertrand Delacretaz
On Tue, Apr 15, 2008 at 2:05 PM, Bertrand Delacretaz [EMAIL PROTECTED] wrote: ...the easiest way might be for SlingWrapFactory to have a list of interfaces that must be wrapped by the default wrapper instead of our custom ones, and include VersionHistory in that list If you want to

Re: Sling boilerplate text proposal

2008-04-15 Thread Sally Khudairi
Fabulous -- thanks, Bertrand! Glad to be of help. Please do let me (+PRC) know if you have any major announcements coming up. We'd love to support you. Cheers, Sally --- Bertrand Delacretaz [EMAIL PROTECTED] wrote: Hi Sally, Thanks very much for your advice - I have moved the text to

[jira] Commented: (SLING-382) VersionHistoryImpl is incorrectly wrapped as a Node in server-side javascript

2008-04-15 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12589066#action_12589066 ] Bertrand Delacretaz commented on SLING-382: --- That's perfect, and the included test

[jira] Resolved: (SLING-382) VersionHistoryImpl is incorrectly wrapped as a Node in server-side javascript

2008-04-15 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-382. --- Resolution: Fixed Patch committed in revision 648231, thanks! VersionHistoryImpl is

Re: svn commit: r648231 - in /incubator/sling/trunk/scripting/javascript/src: main/java/org/apache/sling/scripting/javascript/helper/SlingWrapFactory.java test/java/org/apache/sling/scripting/wrapper/

2008-04-15 Thread Felix Meschberger
Hi Bertrand, Looks like a usefull approach. You should probably also include the Version interface, which also extends from Node and might also pose problems. Thanks and Regards Felix Am Dienstag, den 15.04.2008, 13:05 + schrieb [EMAIL PROTECTED]: Author: bdelacretaz Date: Tue Apr 15

[jira] Closed: (SLING-381) Support for Multiple JcrResourceTypeProviders

2008-04-15 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-381. -- Resolution: Fixed Support for Multiple JcrResourceTypeProviders

[jira] Closed: (SLING-348) Rename servlets-default to servlets-get

2008-04-15 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-348. -- Resolution: Fixed Rename servlets-default to servlets-get

Re: svn commit: r648236 - in /incubator/sling/trunk/jcr/resource: ./ src/main/java/org/apache/sling/jcr/resource/ src/main/java/org/apache/sling/jcr/resource/internal/ src/main/java/org/apache/sling/j

2008-04-15 Thread Bertrand Delacretaz
On Tue, Apr 15, 2008 at 3:17 PM, [EMAIL PROTECTED] wrote: ... New Revision: 648236 ... SLING-381: Support multiple JcrResourceTypeProviders (incl junit tests)... Two launchpad tests fail now, I think that's related to your change: Failed tests:

Re: svn commit: r648236 - in /incubator/sling/trunk/jcr/resource: ./ src/main/java/org/apache/sling/jcr/resource/ src/main/java/org/apache/sling/jcr/resource/internal/ src/main/java/org/apache/sling/j

2008-04-15 Thread Carsten Ziegeler
Bertrand Delacretaz wrote: On Tue, Apr 15, 2008 at 3:17 PM, [EMAIL PROTECTED] wrote: ... New Revision: 648236 ... SLING-381: Support multiple JcrResourceTypeProviders (incl junit tests)... Two launchpad tests fail now, I think that's related to your change: Yepp, I know - I have no idea

FYI: how to run integration tests quickly

2008-04-15 Thread Bertrand Delacretaz
Hi, In case you need to run specific integration tests, see the Integration tests instructions in http://svn.apache.org/repos/asf/incubator/sling/trunk/launchpad/webapp/README.txt The idea is to leave a Sling launchpad webapp instance running, update bundles using the mvn autoInstallBundle

RE: Current trunk broken?

2008-04-15 Thread Felix Meschberger
Am Montag, den 14.04.2008, 15:50 -0500 schrieb Craig L. Ching: yes, it seems. just comment out those modules in the pom. i get another error that some taglibs are missing. so i commented those conflicting modules as well. This is SLING-361 actually. Regards Felix