Re: Trying to convert Sling Logging - Logback. How much backwards compatibility do we need?

2012-11-27 Thread Bertrand Delacretaz
On Tue, Nov 27, 2012 at 2:36 AM, Justin Edelson jus...@justinedelson.com wrote: ...I'm taking a run at replacing the internals of the Sling Logging bundle with Logback... Interesting - I've been working on adding marker support to the Sling logging recently, but got sidetracked and haven't

Re: using jdk 6 class in a sling patch

2012-11-27 Thread Carsten Ziegeler
+1 to Felix suggestion but we should reduce the use of Java 6 to a minimum, e.g. SLING-2575 is about our commons osgi bundle which is used in a lot of places. If we require this to use Java 6 this will require all bundles using this one to be Java 6. Carsten 2012/11/27 Chetan Mehrotra

[jira] [Commented] (SLING-2575) Utility for tracking a multi-cardinality OSGi service reference

2012-11-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504464#comment-13504464 ] Carsten Ziegeler commented on SLING-2575: - So we don't need to implement anything

Re: Trying to convert Sling Logging - Logback. How much backwards compatibility do we need?

2012-11-27 Thread Bertrand Delacretaz
On Tue, Nov 27, 2012 at 2:36 AM, Justin Edelson jus...@justinedelson.com wrote: ...WDYT about a much simpler structure where: 1) On startup, a config file in a location relative to sling.home is consulted. If it does not exist, some default configuration is used I like that - being able to

[jira] [Resolved] (SLING-2299) Consolidate constants and utility methods

2012-11-27 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-2299. -- Resolution: Fixed I think this is complete for now. Lets resolve it and have other

Re: Trying to convert Sling Logging - Logback. How much backwards compatibility do we need?

2012-11-27 Thread Felix Meschberger
Hi, Am 27.11.2012 um 02:36 schrieb Justin Edelson: I'm taking a run at replacing the internals of the Sling Logging bundle with Logback. I'm having some trouble mapping our existing configuration structure to Logback. And I'm wondering how useful an exercise it is in the first place as one

Re: Trying to convert Sling Logging - Logback. How much backwards compatibility do we need?

2012-11-27 Thread Bertrand Delacretaz
On Tue, Nov 27, 2012 at 10:47 AM, Felix Meschberger fmesc...@adobe.com wrote: ...Therefore, I would really prefer to continue leveraging configuration admin (and a small handfull of framework properties for basic setup)... Me too - I wasn't explicit on that but in my previous message but I

Re: using jdk 6 class in a sling patch

2012-11-27 Thread Chetan Mehrotra
+1 to Felix suggestion but we should reduce the use of Java 6 to a minimum, e.g. SLING-2575 is about our commons osgi bundle which is used in a lot of places. Agreed ... it should preferably be used for new bundles. Old bundles should not make use of JDK 6 unless really required. As for

[jira] [Commented] (SLING-2575) Utility for tracking a multi-cardinality OSGi service reference

2012-11-27 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504503#comment-13504503 ] Chetan Mehrotra commented on SLING-2575: Yup ... unless there is some issue with

Re: Trying to convert Sling Logging - Logback. How much backwards compatibility do we need?

2012-11-27 Thread Bertrand Delacretaz
On Tue, Nov 27, 2012 at 11:20 AM, Felix Meschberger fmesc...@adobe.com wrote: ...We could fork logback into the Sling Whiteboard (or github for that matter) for prototyping and contribute the changes back to logback +1, I assume we need to avoid introducing more dependencies than currently

[jira] [Created] (SLING-2681) Support Java 8 as a platform

2012-11-27 Thread Felix Meschberger (JIRA)
Felix Meschberger created SLING-2681: Summary: Support Java 8 as a platform Key: SLING-2681 URL: https://issues.apache.org/jira/browse/SLING-2681 Project: Sling Issue Type: Improvement

Re: Trying to convert Sling Logging - Logback. How much backwards compatibility do we need?

2012-11-27 Thread Bertrand Delacretaz
On Tue, Nov 27, 2012 at 11:31 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: On Tue, Nov 27, 2012 at 11:20 AM, Felix Meschberger fmesc...@adobe.com wrote: +1, I assume we need to avoid introducing more dependencies than currently exist for the non-OSGi case in logback, but apart from

[jira] [Resolved] (SLING-2575) Utility for tracking a multi-cardinality OSGi service reference

2012-11-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-2575. - Resolution: Won't Fix Looks good to, so let's close this one Utility

[jira] [Commented] (SLING-2681) Support Java 8 as a platform

2012-11-27 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504510#comment-13504510 ] Felix Meschberger commented on SLING-2681: -- Committed an interim solution in Rev.

[jira] [Commented] (SLING-2681) Support Java 8 as a platform

2012-11-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504512#comment-13504512 ] Carsten Ziegeler commented on SLING-2681: - Java 8 is not released yet, so do we

[jira] [Commented] (SLING-2681) Support Java 8 as a platform

2012-11-27 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504518#comment-13504518 ] Felix Meschberger commented on SLING-2681: -- [~cziegeler] Even though it has not

Re: Trying to convert Sling Logging - Logback. How much backwards compatibility do we need?

2012-11-27 Thread Felix Meschberger
Hi, Am 27.11.2012 um 11:32 schrieb Bertrand Delacretaz: On Tue, Nov 27, 2012 at 11:31 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: On Tue, Nov 27, 2012 at 11:20 AM, Felix Meschberger fmesc...@adobe.com wrote: +1, I assume we need to avoid introducing more dependencies than

[jira] [Updated] (SLING-1298) Update Authentication Documentation with Impersonation support info

2012-11-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-1298: Fix Version/s: (was: Auth Core 1.1.0) Auth Core 1.1.2 Update

[VOTE] New Sling Releases

2012-11-27 Thread Carsten Ziegeler
Hi, This vote is about eleven new releases, some of them contain important fixes, some of them are overdue :) Settings 1.2.2 https://issues.apache.org/jira/browse/SLING/fixforversion/12323513 Auth Core 1.1.0 https://issues.apache.org/jira/browse/SLING/fixforversion/12316097 Commons Log Service

Re: [VOTE] New Sling Releases

2012-11-27 Thread Carsten Ziegeler
+1 Carsten 2012/11/27 Carsten Ziegeler cziege...@apache.org: Hi, This vote is about eleven new releases, some of them contain important fixes, some of them are overdue :) Settings 1.2.2 https://issues.apache.org/jira/browse/SLING/fixforversion/12323513 Auth Core 1.1.0

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

2012-11-27 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/1530/changes Changes: [cziegeler] Use released version [cziegeler] Prepare for release [cziegeler] Prepare for release -- [...truncated 11093 lines...] [INFO] META-INF/LICENSE already added, skipping

[jira] [Commented] (SLING-490) SlingStatusServlet - find out whether a Sling application is ready after startup

2012-11-27 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504596#comment-13504596 ] Bertrand Delacretaz commented on SLING-490: --- Revisiting that once again - we're

[jira] [Commented] (SLING-490) SlingStatusServlet - find out whether a Sling application is ready after startup

2012-11-27 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504600#comment-13504600 ] Felix Meschberger commented on SLING-490: - a) and b) sounds ok. I think c) goes

[jira] [Commented] (SLING-490) SlingStatusServlet - find out whether a Sling application is ready after startup

2012-11-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504603#comment-13504603 ] Carsten Ziegeler commented on SLING-490: I think a) is enough, b) could be simpy

[jira] [Commented] (SLING-490) SlingStatusServlet - find out whether a Sling application is ready after startup

2012-11-27 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504612#comment-13504612 ] Bertrand Delacretaz commented on SLING-490: --- Let's discuss the use case for c) on

Re: SLING-490, content upgrade use case

2012-11-27 Thread Bertrand Delacretaz
On Tue, Nov 27, 2012 at 2:44 PM, Felix Meschberger fmesc...@adobe.com wrote: Am 27.11.2012 um 14:33 schrieb Bertrand Delacretaz: ... 4. All this can happen during the first startup with a new version of a Sling-based application, where several services might behave like this bundle A and

Re: SLING-490, content upgrade use case

2012-11-27 Thread Carsten Ziegeler
2012/11/27 Felix Meschberger fmesc...@adobe.com: Hi, Am 27.11.2012 um 14:33 schrieb Bertrand Delacretaz: Hi, We've just restarted the SLING-490 (Sling readyness check at startup) discussion in the issue, and Felix+Carsten are asking about this requirement: I wasn't asking for a

Re: Trying to convert Sling Logging - Logback. How much backwards compatibility do we need?

2012-11-27 Thread Bertrand Delacretaz
On Tue, Nov 27, 2012 at 3:11 PM, Justin Edelson jus...@justinedelson.com wrote: ...Any of the attempts I've made to use ConfigAdmin have been insufficient to capture to scope of what you can do with logback. And even if they could, they wouldn't handle any custom extensions, e.g. a custom

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

2012-11-27 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/1531/changes Changes: [cziegeler] Adjust snapshot after release [cziegeler] Adjust snapshot after release [cziegeler] [maven-release-plugin] prepare for next development iteration [cziegeler] [maven-release-plugin] prepare release

[jira] [Updated] (SLING-2441) AuthenticationInfo.put() throws if method is null

2012-11-27 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-2441: -- Fix Version/s: (was: Auth Core 1.1.0) AuthenticationInfo.put() throws if method is

[jira] [Commented] (SLING-550) Support for background servlets

2012-11-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504653#comment-13504653 ] Carsten Ziegeler commented on SLING-550: I think it's time to look at the api of

Re: SLING-490, content upgrade use case

2012-11-27 Thread Bertrand Delacretaz
On Tue, Nov 27, 2012 at 3:25 PM, Carsten Ziegeler cziege...@apache.org wrote: ...as Felix pointed out, a bundle activator is the best place to do this, as this works ootb and doesn't require any additional complicated stuff... Except that BundleActivator.start(...) should return in a timely

Re: SLING-490, content upgrade use case

2012-11-27 Thread Carsten Ziegeler
2012/11/27 Bertrand Delacretaz bdelacre...@apache.org: On Tue, Nov 27, 2012 at 3:25 PM, Carsten Ziegeler cziege...@apache.org wrote: ...as Felix pointed out, a bundle activator is the best place to do this, as this works ootb and doesn't require any additional complicated stuff... Except

Re: SLING-490, content upgrade use case

2012-11-27 Thread Bertrand Delacretaz
On Tue, Nov 27, 2012 at 4:12 PM, Carsten Ziegeler cziege...@apache.org wrote: 2012/11/27 Bertrand Delacretaz bdelacre...@apache.org: ...Except that BundleActivator.start(...) should return in a timely manner... Now, this statement is clearly there to have a quick/smooth startup - but we're

[jira] [Created] (SLING-2682) JarExecutor should take java.home into account

2012-11-27 Thread Bertrand Delacretaz (JIRA)
Bertrand Delacretaz created SLING-2682: -- Summary: JarExecutor should take java.home into account Key: SLING-2682 URL: https://issues.apache.org/jira/browse/SLING-2682 Project: Sling

[jira] [Commented] (SLING-2682) JarExecutor should take java.home into account

2012-11-27 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504681#comment-13504681 ] Robert Munteanu commented on SLING-2682: See also SLING-2551

[jira] [Resolved] (SLING-2682) JarExecutor should take java.home into account

2012-11-27 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-2682. Resolution: Fixed Assignee: Bertrand Delacretaz Fixed in revision 1414230

[jira] [Updated] (SLING-2682) JarExecutor should take java.home into account

2012-11-27 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-2682: --- Fix Version/s: org.apache.sling.testing.tools 1.0.6 JarExecutor should take

[jira] [Commented] (SLING-2682) JarExecutor should take java.home into account

2012-11-27 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504693#comment-13504693 ] Bertrand Delacretaz commented on SLING-2682: [~rombert] sorry I was too quick,

[jira] [Resolved] (SLING-2551) JarExecutor should obey JAVA_HOME

2012-11-27 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu resolved SLING-2551. Resolution: Won't Fix Won't fix , see discussion on SLING-2682

[jira] [Commented] (SLING-2682) JarExecutor should take java.home into account

2012-11-27 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504695#comment-13504695 ] Robert Munteanu commented on SLING-2682: Yes, this is fine for me.

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

2012-11-27 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/1532/changes Changes: [bdelacretaz] SLING-2682 - use java.home in JarExecutor -- [...truncated 5377 lines...] [INFO] --- maven-antrun-plugin:1.6:run (default) @ org.apache.sling.engine --- mojoSucceeded

Re: [VOTE] New Sling Releases

2012-11-27 Thread Ian Boston
+1, staging checks out ok. Ian On 27 November 2012 22:47, Carsten Ziegeler cziege...@apache.org wrote: +1 Carsten 2012/11/27 Carsten Ziegeler cziege...@apache.org: Hi, This vote is about eleven new releases, some of them contain important fixes, some of them are overdue :) Settings