Re: Adding a "usage" service property to BindingsValuesProvider ?

2013-08-06 Thread Felix Meschberger
Hi Am 06.08.2013 um 20:26 schrieb Justin Edelson: > Hi Carsten, > I can't speak for exactly what Bertrand is thinking, but when I was > thinking about it, the scope/usage was an orthogonal concern to which > engine is selected. > > Whereas today you do: > ScriptEngineManager.getEngineByExtension

[jira] [Created] (SLING-2999) JMX Resource Provider

2013-08-06 Thread Carsten Ziegeler (JIRA)
Carsten Ziegeler created SLING-2999: --- Summary: JMX Resource Provider Key: SLING-2999 URL: https://issues.apache.org/jira/browse/SLING-2999 Project: Sling Issue Type: New Feature

Re: Time to release Sling 6 update 1 ? ( Was : Re: Time to release Sling 7? )

2013-08-06 Thread Carsten Ziegeler
I definitely agree that we should try to get Sling 6 out asap - and I think we're pretty close to that. Apart maybe from a release of one or two additional bundles, we need to release the discovery stuff (I plan to do this end of this week/early next week) and the new admin login stuff Felix is wor

Re: Adding a "usage" service property to BindingsValuesProvider ?

2013-08-06 Thread Carsten Ziegeler
I'm not totally against this, but just adhoc adding this property without a complete concept seems wrong to me. Defining the technical selection process (e.g. as you describe it) is one part, but the other equally important part, how to select from a script dev point of view. How can I write a JSP

Time to release Sling 6 update 1 ? ( Was : Re: Time to release Sling 7? )

2013-08-06 Thread Robert Munteanu
Sorry to resurrect such an old thread, but I started this conversation 3 months ago and we aren't close to releasing Sling 7. IMO the build server flakiness contributes to this uncertainty, but so do a few or our tests, being unstable as well. What I'd like to propose now is to make a very minor,

Build failed in Jenkins: sling-trunk-1.7 #165

2013-08-06 Thread Apache Jenkins Server
See Changes: [justin] SLING-2997 - setting sling.java.version to 6 for resource access gate due to use of @Override -- [...truncated 26672 lines...] Aug 06, 2013 6:53:06 PM org.apache.maven.cli.e

Re: Adding a "usage" service property to BindingsValuesProvider ?

2013-08-06 Thread Justin Edelson
Hi Carsten, I can't speak for exactly what Bertrand is thinking, but when I was thinking about it, the scope/usage was an orthogonal concern to which engine is selected. Whereas today you do: ScriptEngineManager.getEngineByExtension("ecma") You could do ScriptEngineManager.getEngineByExtension("e

Build failed in Jenkins: sling-trunk-1.6 #1793

2013-08-06 Thread Apache Jenkins Server
See Changes: [justin] SLING-2997 - setting sling.java.version to 6 for resource access gate due to use of @Override -- [...truncated 23649 lines...] Aug 6, 2013 6:09:21 PM org.apache.maven.cli.e

Re: JIRA Access

2013-08-06 Thread Felix Meschberger
Hi Dan I made you an administrator of the Sling project. Should work now, I hope. Regards Felix Am 06.08.2013 um 18:33 schrieb Daniel Klco: > All, > > My JIRA user 'klcodanr' does not seem to have sufficient permissions to > manage versions in JIRA, can I be granted sufficient permissions? >

Re: Adding a "usage" service property to BindingsValuesProvider ?

2013-08-06 Thread Carsten Ziegeler
Ok, just to make it clear, as long as there is no support in all script engines, I'm -1 Carsten 2013/8/6 Justin Edelson > Hi Bertrand, > FWIW, I was thinking about something very similar (although I was thinking > of calling it 'scope', not 'usage'), but never got around to implementing > it.

[jira] [Commented] (SLING-2997) ResourceAccessSecurityImpl uses @Override for interface methods, but does not declare compiler version as Java 6

2013-08-06 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730956#comment-13730956 ] Justin Edelson commented on SLING-2997: --- I think so, but right now the parent pom on

Re: Adding a "usage" service property to BindingsValuesProvider ?

2013-08-06 Thread Justin Edelson
Hi Bertrand, FWIW, I was thinking about something very similar (although I was thinking of calling it 'scope', not 'usage'), but never got around to implementing it. +1 for me. Justin On Tue, Aug 6, 2013 at 10:58 AM, Bertrand Delacretaz wrote: > Hi, > > I'd like to use BindingsValuesProvider

JIRA Access

2013-08-06 Thread Daniel Klco
All, My JIRA user 'klcodanr' does not seem to have sufficient permissions to manage versions in JIRA, can I be granted sufficient permissions? Thanks, Dan

Build failed in Jenkins: sling-trunk-1.7 #164

2013-08-06 Thread Apache Jenkins Server
See Changes: [cziegeler] SLING-2996 : use project.* properties instead of pom.* properties . Apply patch from Oliver Lietz -- [...truncated 23503 lines...] Aug 06, 2013 4:19:35 PM org.apache.mav

[jira] [Commented] (SLING-2997) ResourceAccessSecurityImpl uses @Override for interface methods, but does not declare compiler version as Java 6

2013-08-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730884#comment-13730884 ] Carsten Ziegeler commented on SLING-2997: - So could we simply set source fixed to

Re: Adding a "usage" service property to BindingsValuesProvider ?

2013-08-06 Thread Carsten Ziegeler
And forgot to mention :) I think your current approach is fine, as these objects are special objects for health checks, you have special execution code and can handle it there. Carsten 2013/8/6 Carsten Ziegeler > I think if we would be in the jsp world, you would do a taglib for this - > of co

[jira] [Commented] (SLING-2997) ResourceAccessSecurityImpl uses @Override for interface methods, but does not declare compiler version as Java 6

2013-08-06 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730881#comment-13730881 ] Justin Edelson commented on SLING-2997: --- I personally like having the @Override anno

Re: Adding a "usage" service property to BindingsValuesProvider ?

2013-08-06 Thread Carsten Ziegeler
I think if we would be in the jsp world, you would do a taglib for this - of course taglibs are not usable within other scripting languages - so depending on your script language you would have to come up with the equivalent. Taglibs in JSP allow exactly what you want - the BVP is more a way to mak

Re: Adding a "usage" service property to BindingsValuesProvider ?

2013-08-06 Thread Bertrand Delacretaz
On Tue, Aug 6, 2013 at 5:39 PM, Carsten Ziegeler wrote: > I guess this only works as you have a special script engine for health > check, right? Not really a special script engine, but I'm using the ScriptEngineManager directly instead of going through SlingScript. See code at [1] where bindings

Re: Adding a "usage" service property to BindingsValuesProvider ?

2013-08-06 Thread Carsten Ziegeler
I guess this only works as you have a special script engine for health check, right? What if people want to use the same functionality if they write lets say workflow scripts or wcm scripts etc? As long as there is no way to make use of this in every script engine, I don't see the point of adding

Build failed in Jenkins: sling-trunk-1.6 #1792

2013-08-06 Thread Apache Jenkins Server
See Changes: [cziegeler] SLING-2996 : use project.* properties instead of pom.* properties . Apply patch from Oliver Lietz -- [...truncated 26767 lines...] Aug 6, 2013 3:34:22 PM org.apache.mav

Re: Adding a "usage" service property to BindingsValuesProvider ?

2013-08-06 Thread Bertrand Delacretaz
On Tue, Aug 6, 2013 at 5:13 PM, Carsten Ziegeler wrote: > I'm not sure if I understand this 100% - from a scripting pov, how could I > set the usage value, let's say in a JSP (or any other script)? You set the usage property when you create a BindingsValuesProvider, so for my jmx example I'd do:

[jira] [Comment Edited] (SLING-2987) Simplified health check services

2013-08-06 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730854#comment-13730854 ] Bertrand Delacretaz edited comment on SLING-2987 at 8/6/13 3:20 PM:

[jira] [Comment Edited] (SLING-2987) Simplified health check services

2013-08-06 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725058#comment-13725058 ] Bertrand Delacretaz edited comment on SLING-2987 at 8/6/13 3:19 PM:

[jira] [Updated] (SLING-2987) Simplified health check services

2013-08-06 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-2987: --- Attachment: webconsole-is-back.jpg The webconsole plugin works again at revision 1510

[security issue] Re: authentication with anonymous access enabled

2013-08-06 Thread Oliver Lietz
Am Freitag, 2. August 2013 schrieb Oliver Lietz: > Am Freitag, 2. August 2013 schrieb Felix Meschberger: > > Hi hello all, > hello Felix, > > > I would assume the Sling Authentication Service has HTTP Basic > > Authentication enabled with preemptive support. This means a 401 response > > is neve

[jira] [Updated] (SLING-2998) SlingAuthenticator fails because of pathInfo being null

2013-08-06 Thread Oliver Lietz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated SLING-2998: Attachment: SLING-2998.patch > SlingAuthenticator fails because of pathInfo being null > --

[jira] [Commented] (SLING-2997) ResourceAccessSecurityImpl uses @Override for interface methods, but does not declare compiler version as Java 6

2013-08-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730855#comment-13730855 ] Carsten Ziegeler commented on SLING-2997: - Do we really want to require java 6 jus

[jira] [Created] (SLING-2998) SlingAuthenticator fails because of pathInfo being null

2013-08-06 Thread Oliver Lietz (JIRA)
Oliver Lietz created SLING-2998: --- Summary: SlingAuthenticator fails because of pathInfo being null Key: SLING-2998 URL: https://issues.apache.org/jira/browse/SLING-2998 Project: Sling Issue Typ

Re: Adding a "usage" service property to BindingsValuesProvider ?

2013-08-06 Thread Carsten Ziegeler
I'm not sure if I understand this 100% - from a scripting pov, how could I set the usage value, let's say in a JSP (or any other script)? Carsten 2013/8/6 Bertrand Delacretaz > Hi, > > I'd like to use BindingsValuesProvider services in my health check > module, to provide bindings like "jmx" f

Adding a "usage" service property to BindingsValuesProvider ?

2013-08-06 Thread Bertrand Delacretaz
Hi, I'd like to use BindingsValuesProvider services in my health check module, to provide bindings like "jmx" for scripted health checks, which should be ignored for general Sling scripting (or not - some providers might apply to both general scripting and health checks). I'm thinking of adding a

[jira] [Resolved] (SLING-2997) ResourceAccessSecurityImpl uses @Override for interface methods, but does not declare compiler version as Java 6

2013-08-06 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-2997. --- Resolution: Fixed fixed in 1510969 by setting sling.java.version to 6 > Reso

[jira] [Updated] (SLING-2997) ResourceAccessSecurityImpl uses @Override for interface methods, but does not declare compiler version as Java 6

2013-08-06 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-2997: -- Fix Version/s: Resource Access Gate 1.0.0 > ResourceAccessSecurityImpl uses @Override for i

[jira] [Assigned] (SLING-2997) ResourceAccessSecurityImpl uses @Override for interface methods, but does not declare compiler version as Java 6

2013-08-06 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson reassigned SLING-2997: - Assignee: Justin Edelson > ResourceAccessSecurityImpl uses @Override for interface me

[jira] [Created] (SLING-2997) ResourceAccessSecurityImpl uses @Override for interface methods, but does not declare compiler version as Java 6

2013-08-06 Thread Justin Edelson (JIRA)
Justin Edelson created SLING-2997: - Summary: ResourceAccessSecurityImpl uses @Override for interface methods, but does not declare compiler version as Java 6 Key: SLING-2997 URL: https://issues.apache.org/jira/bro

Jenkins build became unstable: sling-contrib-1.6 #1030

2013-08-06 Thread Apache Jenkins Server
See

Jenkins build became unstable: sling-contrib-1.6 » Apache Sling Launchpad Contrib Testing #1030

2013-08-06 Thread Apache Jenkins Server
See

Build failed in Jenkins: sling-samples-1.6 #426

2013-08-06 Thread Apache Jenkins Server
See Changes: [cziegeler] SLING-2996 : use project.* properties instead of pom.* properties . Apply patch from Oliver Lietz -- [...truncated 1177 lines...] Downloaded: http://repo.maven.apache

Build failed in Jenkins: sling-samples-1.6 » Apache Sling Sample Application #426

2013-08-06 Thread Apache Jenkins Server
See Changes: [cziegeler] SLING-2996 : use project.* properties instead of pom.* properties . Apply patch from Oliver Lietz -- Aug

[jira] [Resolved] (SLING-2996) use project.* properties instead of pom.* properties

2013-08-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-2996. - Resolution: Fixed Thanks for your patch, I've applied it > use project.*

[jira] [Assigned] (SLING-2996) use project.* properties instead of pom.* properties

2013-08-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reassigned SLING-2996: --- Assignee: Carsten Ziegeler > use project.* properties instead of pom.* properties

[jira] [Updated] (SLING-2996) use project.* properties instead of pom.* properties

2013-08-06 Thread Oliver Lietz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated SLING-2996: Attachment: SLING-2996.patch > use project.* properties instead of pom.* properties > -

[jira] [Created] (SLING-2996) use project.* properties instead of pom.* properties

2013-08-06 Thread Oliver Lietz (JIRA)
Oliver Lietz created SLING-2996: --- Summary: use project.* properties instead of pom.* properties Key: SLING-2996 URL: https://issues.apache.org/jira/browse/SLING-2996 Project: Sling Issue Type:

[RT] Logging and Logback

2013-08-06 Thread Carsten Ziegeler
Hi, i've the need for a custom log append not logging into a file. This is something our current logging bundles do not support. By looking around using logback could be an answer and I also found [1] where moving to logback has already been discussed. So I'm wondering what/how to this. One solut

[jira] [Resolved] (SLING-2988) Support primitive types for ValueMap.get()

2013-08-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-2988. - Resolution: Won't Fix > Support primitive types for ValueMap.get() >

[jira] [Commented] (SLING-2988) Support primitive types for ValueMap.get()

2013-08-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730645#comment-13730645 ] Carsten Ziegeler commented on SLING-2988: - We discussed this in SLING-2712, throwi

[jira] [Closed] (SLING-2988) Support primitive types for ValueMap.get()

2013-08-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-2988. --- > Support primitive types for ValueMap.get() > -- > >

Build failed in Jenkins: sling-trunk-1.6 #1791

2013-08-06 Thread Apache Jenkins Server
See Changes: [cziegeler] SLING-2995 : Update Maven Plugins to latest version [cziegeler] SLING-2994 : Update to latest SCR pljugin -- [...truncated 23642 lines...] Aug 6, 2013 10:19:42 AM org.ap

Build failed in Jenkins: sling-trunk-1.7 #163

2013-08-06 Thread Apache Jenkins Server
See Changes: [cziegeler] SLING-2995 : Update Maven Plugins to latest version [cziegeler] SLING-2994 : Update to latest SCR pljugin -- [...truncated 25588 lines...] Aug 06, 2013 9:58:22 AM org.apa

Re: [GSoC2013] Unsatisfied dependencies.

2013-08-06 Thread Ian Boston
Hi, On 6 August 2013 10:24, Robert Munteanu wrote: > On Tue, Aug 6, 2013 at 12:10 PM, Dishara Wijewardana > wrote: >> >> com.google.common.base -- Cannot be resolved >> com.google.common.collect -- Cannot be resolved > > > These are coming from Guava and Guava is a proper OSGi bundle. > @Robert

RE: [VOTE] Release Apache Sling JCR Jackrabbit Server 2.1.2

2013-08-06 Thread Mike Müller
+1 best regards mike > -Original Message- > From: Felix Meschberger [mailto:fmesc...@adobe.com] > Sent: Monday, August 05, 2013 2:47 PM > To: dev@sling.apache.org > Subject: [VOTE] Release Apache Sling JCR Jackrabbit Server 2.1.2 > > Hi, > > This vote is to release the Apache Sling JCR J

Re: [GSoC2013] Unsatisfied dependencies.

2013-08-06 Thread Robert Munteanu
On Tue, Aug 6, 2013 at 12:10 PM, Dishara Wijewardana wrote: > > com.google.common.base -- Cannot be resolved > com.google.common.collect -- Cannot be resolved These are coming from Guava and Guava is a proper OSGi bundle. Robert -- Sent from my (old) computer

Re: [GSoC2013] Unsatisfied dependencies.

2013-08-06 Thread Dishara Wijewardana
Hi Ian, I did so. But then I am facing more dependencies to be resolved. In import package I have only *. Which means all importing (will have to change that also, but hard to figure out which can be removed.). I added hector dependency and added Transitive =true. Doesn't this Transitive =true add

[jira] [Commented] (SLING-2944) Replace administrative login by service-based login

2013-08-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730490#comment-13730490 ] Carsten Ziegeler commented on SLING-2944: - I'm wondering if we shouldn't remove th