Re: Problems with script execution

2009-05-14 Thread Felix Meschberger
Hi Christian, Christian Sprecher schrieb: > Hi Felix > > I think you mean the *jcr:enconding* property of the respective Ehrm, yes of course. My bad. > jcr:content child node. And this had been set to an empty value. > Changing this to UTF-8 does work. > Now, the file hasn't been created via Sl

Re: Problems with script execution

2009-05-14 Thread Christian Sprecher
Hi Felix I think you mean the *jcr:enconding* property of the respective jcr:content child node. And this had been set to an empty value. Changing this to UTF-8 does work. Now, the file hasn't been created via Sling/http but rather via JCR API, and there I do set jcr:encoding explicitely to ""

[jira] Updated: (SLING-969) /etc/map entries must be applied depth first

2009-05-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-969: Component/s: (was: JCR) JCR Resource > /etc/map entries must be applied

[jira] Closed: (SLING-969) /etc/map entries must be applied depth first

2009-05-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-969. --- Resolution: Fixed Fixed and added testcase in Rev. 774920. > /etc/map entries must be applied

[jira] Created: (SLING-969) /etc/map entries must be applied depth first

2009-05-14 Thread Felix Meschberger (JIRA)
/etc/map entries must be applied depth first Key: SLING-969 URL: https://issues.apache.org/jira/browse/SLING-969 Project: Sling Issue Type: Bug Components: JCR Affects Versions: JCR

Re: Problems with script execution

2009-05-14 Thread Felix Meschberger
Hi Christian, This is kind of unexpected. But lets recap. The DefaultSlingScript.getScriptReader method uses the ResourceMetadata.getCharacterEncoding() to find the encoding of the script file. Now if this is based on a JCR nt:file node, this would be the jcr:mimeType property. To what value is t

Problems with script execution

2009-05-14 Thread Christian Sprecher
Hi all I've tried to trigger a script, both groovy and esp. I am recieving the exception pasted below. Can anybody make any sense out of it? Cheers Christian (500) The requested URL /controlmanagement/rulebook.html resulted in an error in /apps/test/html.esp. Exception: java.io.

[jira] Closed: (SLING-968) Fix support for exact virtual URL mappings

2009-05-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-968. --- Resolution: Fixed Closing with committed unit test in Rev. 774897 > Fix support for exact vir

[jira] Commented: (SLING-968) Fix support for exact virtual URL mappings

2009-05-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709545#action_12709545 ] Felix Meschberger commented on SLING-968: - Implemented this change in Rev. 774890 as

[jira] Created: (SLING-968) Fix support for exact virtual URL mappings

2009-05-14 Thread Felix Meschberger (JIRA)
Fix support for exact virtual URL mappings -- Key: SLING-968 URL: https://issues.apache.org/jira/browse/SLING-968 Project: Sling Issue Type: Improvement Components: JCR Resource Affects V

[jira] Resolved: (SLING-251) Add mapping for user homes

2009-05-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-251. - Resolution: Won't Fix I think we can write off this issue because we can probably not enco

Re: FYI, added some Pax Exam-based tests

2009-05-14 Thread Juan José Vázquez Delgado
> See contrib/extensions/jcrinstall/it - I used Juanjo's whiteboard > example (whiteboard/jvazquez/testing) as a base, thanks! You´re welcome. I hope to continue this stuff soon. > Tests obviously run slower than pure JUnit tests, but not too slow, > and it's fairly easy to assemble some bundles

FYI, added some Pax Exam-based tests

2009-05-14 Thread Bertrand Delacretaz
Hi, See contrib/extensions/jcrinstall/it - I used Juanjo's whiteboard example (whiteboard/jvazquez/testing) as a base, thanks! Tests obviously run slower than pure JUnit tests, but not too slow, and it's fairly easy to assemble some bundles to test services. I have configured debugging so that

[jira] Closed: (SLING-946) jcrinstall integration tests fail on our Hudson build server

2009-05-14 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz closed SLING-946. - Resolution: Fixed Using the latest bnd (revision 774406) fixed the problem. > jcrinstall

Re: Creating a user mailing list? (was: [DISCUSS] Graduation)

2009-05-14 Thread Vidar Ramdal
2009/5/14 Bertrand Delacretaz : > I don't think need a user mailing list right now, IMHO our community > is too small to warrant separate lists. I agree. In other projects, that have two mailing lists, it's sometimes hard to decide which one to write to. Also, the 'user' list sometimes seem less o

Re: Releases in the future

2009-05-14 Thread Bertrand Delacretaz
On Tue, May 12, 2009 at 10:34 PM, Roy T. Fielding wrote: > On May 12, 2009, at 12:40 AM, Bertrand Delacretaz wrote: > >> On Mon, May 11, 2009 at 10:29 PM, Roy T. Fielding >> wrote: >>> >>> On May 11, 2009, at 12:03 PM, Felix Meschberger wrote: >>> Carsten and I have been reasoning about the

Re: Creating a user mailing list? (was: [DISCUSS] Graduation)

2009-05-14 Thread Ian Boston
+1, IMVHO splitting dev and users too early will isolate developers from the users needs, and users from the realities of developers. BTW, "to early" has yet to be defined. Ian On 14 May 2009, at 09:28, Bertrand Delacretaz wrote: On Wed, May 13, 2009 at 8:31 PM, Felix Meschberger wrote: D

[ANN] New Release of Apache Sling 5

2009-05-14 Thread Carsten Ziegeler
Bringing Back the Fun - Reloaded Apache Sling brings back the fun to Java developers and makes the life of a web developer much easier. It combines current state of the art technologies and methods like OSGi, REST, scripting, and JCR. The main focus of Sling deals with the important task of bring

Creating a user mailing list? (was: [DISCUSS] Graduation)

2009-05-14 Thread Bertrand Delacretaz
On Wed, May 13, 2009 at 8:31 PM, Felix Meschberger wrote: > Dominik Süß schrieb: >> ...BTW. at this point a users-mailinglist would really make sense since this >> mailinglist might be really confusing for a sling-rookie;) Is this >> user-mailinglist part of the graduationprocess? > > There is no

Re: [RT] Generic "scriptable" launcher

2009-05-14 Thread Carsten Ziegeler
Bertrand Delacretaz wrote: > On Thu, May 14, 2009 at 8:47 AM, Carsten Ziegeler > wrote: >> ...While I see the value of a launcher - I don't think that this is the >> concern of Sling - we are the framework which should run in every OSGi >> installation; so let's focus on the framework and leverag

Re: [RT] Generic "scriptable" launcher

2009-05-14 Thread Bertrand Delacretaz
On Wed, May 13, 2009 at 9:04 PM, Felix Meschberger wrote: > Hi, > > Bertrand Delacretaz schrieb: >> I'm thinking of creating a generic launcher, using a text file >> definition to load and start jars, allowing a Sling launcher to take >> over and load and start bundles once a main class is started

Re: [RT] Generic "scriptable" launcher

2009-05-14 Thread Bertrand Delacretaz
On Thu, May 14, 2009 at 8:47 AM, Carsten Ziegeler wrote: > ...While I see the value of a launcher - I don't think that this is the > concern of Sling - we are the framework which should run in every OSGi > installation; so let's focus on the framework and leverage other efforts > like pax+runner,