buildbot success in ASF Buildbot on sling-trunk-oak

2014-02-21 Thread buildbot
The Buildbot has detected a restored build on builder sling-trunk-oak while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/sling-trunk-oak/builds/247 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: osiris_ubuntu Build Reason: downstream

Re: (SLING-3400) Sling holds resource providers after they have been unregistered

2014-02-21 Thread Carsten Ziegeler
I just gave this a try run with a large application...and it seems that this is causing too much service registration changes as there are many components having a reference to the resource resolver...or in other words the app never finishes its startup I guess the main problem is that now, the

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Carsten Ziegeler
Actually I was wrong, I'm building with a JDK, but there is no tools.jar Carsten 2014-02-21 9:41 GMT+01:00 Carsten Ziegeler cziege...@apache.org: Hi, on my old mac os x (10.7), I'm not able to build latest Sling Engine Bundle: [WARNING] [WARNING] Some problems were encountered while

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Felix Meschberger
Hi Looks like you are building with the Apple JDK which seems to be structured differently. You might want to try with the OpenJDK 7 ? Background: When maven runs the ant targets, it sets JAVA_HOME to the embedded JRE instead of the JDK it is itself running under. The ../lib/tools.jar trick

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Carsten Ziegeler
Yeah, I don't want to change my already fragile setup... If I remove this dependency: dependencies dependency groupIdcom.sun/groupId artifactIdtools/artifactId version1.5.0/version

[jira] [Updated] (SLING-3405) SLING2094Test and ServerSideScriptsTest fail with java 8: JSP compiler does not find java.util.Arrays or java.lang.CharSequence

2014-02-21 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-3405: --- Summary: SLING2094Test and ServerSideScriptsTest fail with java 8: JSP compiler does

RE: [VOTE] Release Apache Sling Resource Merger 1.0.0

2014-02-21 Thread Mike Müller
+1 Checked sigantures Best regards mike -Original Message- From: Carsten Ziegeler [mailto:cziege...@apache.org] Sent: Tuesday, February 18, 2014 11:37 AM To: dev@sling.apache.org Subject: [VOTE] Release Apache Sling Resource Merger 1.0.0 Hi, this vote is about the first

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Carsten Ziegeler
I'm wondering if we need the additional compilation at all? What happens if we set servlet api 3 as the dependency for the project and add the missing methods as stubs to SlingServletContext and ExternalServletContextWrapper? These methods shouldn't be called when in a servlet 2.5 env Carsten

RE: [VOTE] Release Apache Sling Servlets Resolver 2.3.0

2014-02-21 Thread Mike Müller
+1 Checked sigantures Best regards mike -Original Message- From: Carsten Ziegeler [mailto:cziege...@apache.org] Sent: Tuesday, February 18, 2014 1:40 PM To: dev@sling.apache.org Subject: [VOTE] Release Apache Sling Servlets Resolver 2.3.0 Hi, this vote is about the release of

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Carsten Ziegeler
Or can we follow http://maven.apache.org/general.html#tools-jar-dependency which only includes tools.jar for systems where it's not included by default? (I tested this and it works for me) Carsten 2014-02-21 10:21 GMT+01:00 Carsten Ziegeler cziege...@apache.org: I'm wondering if we need

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Bertrand Delacretaz
On Fri, Feb 21, 2014 at 10:28 AM, Carsten Ziegeler cziege...@apache.org wrote: ...Or can we follow http://maven.apache.org/general.html#tools-jar-dependency which only includes tools.jar for systems where it's not included by default?... Sounds reasonable - maybe warn this list once done so

Re: Tenant Implementation in Sling

2014-02-21 Thread Bertrand Delacretaz
Hi, On Fri, Feb 21, 2014 at 7:20 AM, Andreas Schaefer Sr. schaef...@me.com wrote: ...I started to look into how to add tenant support to Sling I haven't looked at the details but my feeling is that tenant means different things to different people, so it would be good to have a list of use

Re: Installation and start order for logging (was: [jira] [Commented] (SLING-3386) Enable support starting bundle in custom oreder at start level 1)

2014-02-21 Thread Bertrand Delacretaz
Hi, On Mon, Feb 17, 2014 at 2:55 PM, Carsten Ziegeler cziege...@apache.org wrote: ...I don't think we need 2 if we have 3. If we have support in list.xml for different boot start levels (that's actually the hard part), then the implementation can just adjust the start level of available

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Carsten Ziegeler
Ok, I've committed the change - so let's see for whom it breaks now... Carsten 2014-02-21 10:32 GMT+01:00 Bertrand Delacretaz bdelacre...@apache.org: On Fri, Feb 21, 2014 at 10:28 AM, Carsten Ziegeler cziege...@apache.org wrote: ...Or can we follow

buildbot failure in ASF Buildbot on sling-trunk

2014-02-21 Thread buildbot
The Buildbot has detected a new failure on builder sling-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/sling-trunk/builds/310 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: osiris_ubuntu Build Reason: scheduler Build Source

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Bertrand Delacretaz
On Fri, Feb 21, 2014 at 10:39 AM, Carsten Ziegeler cziege...@apache.org wrote: ...I've committed the change - so let's see for whom it breaks now... Me ;-) [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (compile) on project org.apache.sling.engine: An Ant

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Carsten Ziegeler
I guess we have to add other properties to activate the profile, right now it checks Sun Microsystems Inc., I guess yours is having a different java.vendor. Carsten 2014-02-21 11:01 GMT+01:00 Bertrand Delacretaz bdelacre...@apache.org: On Fri, Feb 21, 2014 at 11:00 AM, Bertrand Delacretaz

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Bertrand Delacretaz
On Fri, Feb 21, 2014 at 11:06 AM, Carsten Ziegeler cziege...@apache.org wrote: ...I guess we have to add other properties to activate the profile, right now it checks Sun Microsystems Inc., I guess yours is having a different java.vendor... Is that practical? I'm afraid we'll end up chasing

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Carsten Ziegeler
I'm open for any other suggestion which makes this work for everyone. I assume you (and buildbot) are using the Oracle version, so this should just be another one to be added Though I still don't know why we need these two compilations in the first place... Carsten 2014-02-21 11:08 GMT+01:00

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Bertrand Delacretaz
On Fri, Feb 21, 2014 at 11:14 AM, Carsten Ziegeler cziege...@apache.org wrote: ...I assume you (and buildbot) are using the Oracle version, so this should just be another one to be added.. Yes, this says Oracle Corporation: public class X { public static void main(String args[]) {

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Carsten Ziegeler
I reverted the change as it's not possible to check for two values...sigh So I'm out of the game for now :) Carsten 2014-02-21 11:22 GMT+01:00 Bertrand Delacretaz bdelacre...@apache.org: On Fri, Feb 21, 2014 at 11:14 AM, Carsten Ziegeler cziege...@apache.org wrote: ...I assume you (and

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Julian Sedding
Maybe checking if the file exists works, see http://stackoverflow.com/questions/3080437/jdk-tools-jar-as-maven-dependency#answer-3080695 Regards Julian On Fri, Feb 21, 2014 at 11:24 AM, Carsten Ziegeler cziege...@apache.org wrote: I reverted the change as it's not possible to check for two

buildbot success in ASF Buildbot on sling-trunk

2014-02-21 Thread buildbot
The Buildbot has detected a restored build on builder sling-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/sling-trunk/builds/311 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: osiris_ubuntu Build Reason: scheduler Build Source

Re: Replication REST-ful/HTTP API

2014-02-21 Thread Julian Sedding
Hi Marius I like the general direction of your proposal. The only concern I have is that you require properties on the services (sling:friendlyName and maybe sling:resourceType). Since this requires modification of the service implementation this cannot flexibly be used by downstream users of

Using JsonRendererServlet with a custom ResourceProvider

2014-02-21 Thread Marius Petria
Hi, I am trying to implement a custom ResourceProvider and return a resource that can be adapted to a ValueMap and eventually be rendered by JsonRendererServlet. The request will be /etc/myroot/myresource.json. I implemented the resource provider the following way: -It returns a

Re: Using JsonRendererServlet with a custom ResourceProvider

2014-02-21 Thread Carsten Ziegeler
The resource provider returns the resource for the path of the resource, .json is the rendering info - so your provider should return the resource if /etc/myroot/myresource is the path passed into the provider. Everything else is taken care of by Sling Carsten 2014-02-21 12:06 GMT+01:00 Marius

Re: Using JsonRendererServlet with a custom ResourceProvider

2014-02-21 Thread Bertrand Delacretaz
Hi, On Fri, Feb 21, 2014 at 12:06 PM, Marius Petria mpet...@adobe.com wrote: ...I am trying to implement a custom ResourceProvider and return a resource that can be adapted to a ValueMap and eventually be rendered by JsonRendererServlet... This works fine with our test PlanetResourceProvider

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Felix Meschberger
Hi Am 21.02.2014 um 11:37 schrieb Julian Sedding jsedd...@gmail.com: Maybe checking if the file exists works, see http://stackoverflow.com/questions/3080437/jdk-tools-jar-as-maven-dependency#answer-3080695 Thanks alot. This works indeed. I have committed this in Rev. 1570550. Am 21.02.2014

Re: Unable to build Sling Engine Bundle

2014-02-21 Thread Carsten Ziegeler
Right, thanks for explanation, Felix. Confirmed, this works for me now as well. Thanks Carsten 2014-02-21 13:22 GMT+01:00 Felix Meschberger fmesc...@adobe.com: Hi Am 21.02.2014 um 11:37 schrieb Julian Sedding jsedd...@gmail.com: Maybe checking if the file exists works, see

Re: (SLING-3400) Sling holds resource providers after they have been unregistered

2014-02-21 Thread Carsten Ziegeler
I've committed a patch which will now unregister the resource resolver factory if a resource provider factory is unregistered. This is actually very simple as we already have all the code in the right place (ResourceresolverFactoryActivator). I tested this a little bit and it seems too not cause

[jira] [Commented] (SLING-3400) Sling holds resource providers after they have been unregistered

2014-02-21 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13908289#comment-13908289 ] Carsten Ziegeler commented on SLING-3400: - In rev 1570565 I've committed a change

[jira] [Created] (SLING-3408) ReplicationAgent runMode should be controlled by configuration properties

2014-02-21 Thread Tommaso Teofili (JIRA)
Tommaso Teofili created SLING-3408: -- Summary: ReplicationAgent runMode should be controlled by configuration properties Key: SLING-3408 URL: https://issues.apache.org/jira/browse/SLING-3408 Project:

Re: Tenant Implementation in Sling

2014-02-21 Thread Andreas Schaefer Sr.
Hi Carsten First I want to clarify that the Search Path Extension has nothing to do with Tenants per se but is a “per-call” extension of the search path which could be used without tenants.In order to make the overlays work the Search Path Extension must be set early on. For this part the

Re: Tenant Implementation in Sling

2014-02-21 Thread Andreas Schaefer Sr.
Hi Yeah, I can do that. My confluence name is ‘schaefera’. BTW I saw that there is a page called Multitenancy Support” which talks about the Tenant. I would like to create a page called Multitenancy Integration” where I would talk about how to use Tenants within Sling. - Andy On Feb 21,

Re: Tenant Implementation in Sling

2014-02-21 Thread Carsten Ziegeler
Hi Andy, I'm not sure if we need search path extensions which are not related to tenants. The adaption to a tenant does not tie it to the resource resolver module, the adapter factory can live in the tenant module and therefore the resource resolver module is totally unaware of tenant handling.

[jira] [Updated] (SLING-3407) ResourceBundleManager API

2014-02-21 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-3407: - Attachment: SLING-3407.patch Here is a quick patch (compiles tests success, but

Proposed new ResourceBundleManager API

2014-02-21 Thread Alexander Klimetschek
Hi, wdyt about this proposal: https://issues.apache.org/jira/browse/SLING-3407 Patch attached. Some questions open, see issue. Thanks, Alex

Re: [VOTE] Release Apache Sling Resource Merger 1.0.0

2014-02-21 Thread Gilles Knobloch
+1 obviously :) 2014-02-21 10:20 GMT+01:00 Mike Müller mike...@mysign.ch: +1 Checked sigantures Best regards mike -Original Message- From: Carsten Ziegeler [mailto:cziege...@apache.org] Sent: Tuesday, February 18, 2014 11:37 AM To: dev@sling.apache.org Subject: [VOTE]

[jira] [Updated] (SLING-3407) ResourceBundleManager API

2014-02-21 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-3407: - Attachment: (was: SLING-3407.patch) ResourceBundleManager API

[jira] [Updated] (SLING-3407) ResourceBundleManager API

2014-02-21 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-3407: - Attachment: SLING-3407.patch ResourceBundleManager API

[jira] [Resolved] (SLING-3408) ReplicationAgent runMode should be controlled by configuration properties

2014-02-21 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili resolved SLING-3408. Resolution: Fixed fixed in r1570808, all configs are active, only the ones with matching

Re: [VOTE] Release Apache Sling Resource Merger 1.0.0

2014-02-21 Thread Carsten Ziegeler
We're still missing a binding vote, anyone please? 2014-02-21 22:11 GMT+01:00 Gilles Knobloch gilles.knobl...@gmail.com: +1 obviously :) 2014-02-21 10:20 GMT+01:00 Mike Müller mike...@mysign.ch: +1 Checked sigantures Best regards mike -Original Message- From: