Re: FYI, org.apache.sling.scripting.api does not embed and export javax.script anymore

2013-09-06 Thread Felix Meschberger
Hi Makes sense to me. How about adding the Bundle-RequiredExecutionEnvironment header to the bundle (see my comment to the issue). Regards Felix Am 06.09.2013 um 04:54 schrieb Bertrand Delacretaz: > See https://issues.apache.org/jira/browse/SLING-3042 - this might > break compatibility with JD

[jira] [Commented] (SLING-3042) org.apache.sling.scripting.api should not export javax.script anymore

2013-09-06 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760606#comment-13760606 ] Felix Meschberger commented on SLING-3042: -- That change makes sense to me (nowada

Jenkins build is still unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing #1875

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Sample Integration Tests #1875

2013-09-06 Thread Apache Jenkins Server
See

[jira] [Commented] (SLING-3043) Allow regexp filtering of vanity paths

2013-09-06 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760625#comment-13760625 ] Felix Meschberger commented on SLING-3043: -- -.7 I am only lukewarm with such a f

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

2013-09-06 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760624#comment-13760624 ] Felix Meschberger commented on SLING-2944: -- [~cziegeler] Why did you remove the g

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

2013-09-06 Thread Felix Meschberger
Hmm, why not turning this around and ammed the BindingsValueProvider interface ? > public interface BindingsValuesProvider2 extends BindingsValueProvider { > void addBindings(Bindings bindings, ScriptEngineFactory, String context); > } > The BindingsValuesProvider2 is a marker interface to t

Re: [ANN] New committer: Oliver Lietz

2013-09-06 Thread Felix Meschberger
Welcome and Congratulations. Regards Felix Am 06.09.2013 um 05:58 schrieb Carsten Ziegeler: > The Project Management Committee (PMC) for Apache Slinghas asked > Oliver Lietz to become a committer and we are pleased to announce that > he has accepted. > > So please welcome Oliver as a committer!

Maven Bundle Plugin 2.4 causing problems

2013-09-06 Thread Carsten Ziegeler
Hi, I updated today to the new parent pom 18 which is using latest Maven Bundle Plugin 2.4.0. Unfortunately this is now causing problems if DymamicImport-Package is used, you can see this in the auth.core bundle for example. With previous versions of the plugin, the Import-Package was calculated w

Re: Maven Bundle Plugin 2.4 causing problems

2013-09-06 Thread Felix Meschberger
Hi It looks like the auth.core bundle has a uses constraint: > org.apache.sling.engine.auth; >version="2.0.6"; >uses:="javax.jcr,javax.servlet.http,org.apache.sling.api" I could imagine that due to this uses constraint, the import is hard. Can we fix this constraint ? Regards F

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

2013-09-06 Thread Apache Jenkins Server
See Changes: [cziegeler] Revert to old maven bundle plugin if DynamicImport-Package is used -- [...truncated 35374 lines...] at org.junit.internal.runners.statements.RunBefores.evaluate(

Build failed in Jenkins: sling-contrib-1.6 » Apache Sling Google Web Toolkit Servlet Library #1070

2013-09-06 Thread Apache Jenkins Server
See -- Sep 6, 2013 2:57:32 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO:

Jenkins build is still unstable: sling-trunk-1.7 #250

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Sample Integration Tests #250

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is still unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing #250

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Launchpad Base #250

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is unstable: sling-contrib-1.6 » Apache Sling Launchpad Karaf - Integration Tests #1071

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is back to normal : sling-contrib-1.6 » Apache Sling Google Web Toolkit Servlet Library #1071

2013-09-06 Thread Apache Jenkins Server
See

LogBack Support : Adding an appender without changing the log level

2013-09-06 Thread Carsten Ziegeler
Hi, I'm having a look at the new logging support for logback appenders and it seems that I can only attach an Appender to a logger if I specify a log level as well. I have a use case where I just want to add an additional Appender to a logger - without influencing the log level. Is that possible?

Jenkins build is still unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing WAR version #250

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is still unstable: sling-trunk-1.6 #1874

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is still unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing #249

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is still unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing WAR version #249

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build became unstable: sling-trunk-1.7 » Apache Sling Launchpad Base #249

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build became unstable: sling-trunk-1.7 » Apache Sling Sample Integration Tests #249

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is still unstable: sling-trunk-1.7 #249

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Installer Integration Tests #1874

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is still unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing #1874

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is still unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing WAR version #1874

2013-09-06 Thread Apache Jenkins Server
See

Build failed in Jenkins: sling-contrib-1.6 #1070

2013-09-06 Thread Apache Jenkins Server
See Changes: [bdelacretaz] SLING-3034 - avoid NPE [bdelacretaz] SLING-3034 - rename JmxScriptBindingsProvider [bdelacretaz] SLING-3034 - move OsgiScriptBindingsProvider to samples module [bdelacretaz] SLING-3034 - use BindingsValue

Jenkins build is back to normal : sling-contrib-1.6 » Apache Sling Dojo JavaScript Library #1070

2013-09-06 Thread Apache Jenkins Server
See

Re: [ANN] New committer: Oliver Lietz

2013-09-06 Thread Bertrand Delacretaz
On Fri, Sep 6, 2013 at 2:58 PM, Carsten Ziegeler wrote: > The Project Management Committee (PMC) for Apache Sling has asked > Oliver Lietz to become a committer and we are pleased to announce that > he has accepted Welcome and congrats Oliver! -Bertrand

[jira] [Commented] (SLING-2989) [Tooling] integrate with vlt once available

2013-09-06 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760232#comment-13760232 ] Robert Munteanu commented on SLING-2989: More changes: * Fixed directory creation

Re: [ANN] New committer: Oliver Lietz

2013-09-06 Thread Robert Munteanu
On Fri, 2013-09-06 at 14:58 +0200, Carsten Ziegeler wrote: > The Project Management Committee (PMC) for Apache Slinghas asked > Oliver Lietz to become a committer and we are pleased to announce that > he has accepted. > > So please welcome Oliver as a committer! > > Being a committer enables easi

Jenkins build is unstable: sling-trunk-1.7 #248

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is back to normal : sling-trunk-1.7 » Apache Sling (Parent) #248

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing #248

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is unstable: sling-trunk-1.7 » Apache Sling Launchpad Testing WAR version #248

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing WAR version #1873

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is unstable: sling-trunk-1.6 » Apache Sling Installer Integration Tests #1873

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is unstable: sling-trunk-1.6 » Apache Sling Launchpad Testing #1873

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is unstable: sling-trunk-1.6 #1873

2013-09-06 Thread Apache Jenkins Server
See

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

2013-09-06 Thread Carsten Ziegeler
The constants should really be defined in the BVP class, this is the service declaring them I don't understand what you mean by "changes to existing code" - this is new, isn't it? Carsten 2013/9/6 Bertrand Delacretaz > On Thu, Sep 5, 2013 at 1:28 PM, Bertrand Delacretaz > wrote: > > ...Maybe

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

2013-09-06 Thread Bertrand Delacretaz
On Thu, Sep 5, 2013 at 1:28 PM, Bertrand Delacretaz wrote: > ...Maybe > > addContextBindings(Bindings b, ScriptEngineFactory f, String context) > ... FYI I didn't do it like that in the end, as that would have caused more changes than I like to existing code. The new service API is at https://s

[jira] [Resolved] (SLING-3038) Take "context" service property into account when using BindingsValuesProvider

2013-09-06 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-3038. Resolution: Fixed Implemented in http://svn.apache.org/r1520565 , the SlingScriptAd

[ANN] New committer: Oliver Lietz

2013-09-06 Thread Carsten Ziegeler
The Project Management Committee (PMC) for Apache Slinghas asked Oliver Lietz to become a committer and we are pleased to announce that he has accepted. So please welcome Oliver as a committer! Being a committer enables easier contribution to theproject since there is no need to go via the patchs

Build failed in Jenkins: sling-trunk-1.7 » Apache Sling (Parent) #247

2013-09-06 Thread Apache Jenkins Server
See -- Sep 06, 2013 12:54:22 PM org.apache.maven.cli.event.ExecutionEventLogger projectStarted INFO: Sep 06,

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

2013-09-06 Thread Apache Jenkins Server
See Changes: [cziegeler] Update to parent pom 18 [bdelacretaz] SLING-3042 - do not export javax.script from org.apache.sling.scripting.api anymore -- [...truncated 611 lines...] Sep 06, 2013 12

Re: Managing Queues based on Topology ?

2013-09-06 Thread Carsten Ziegeler
Sorry, not slightly correct - if you create the configuration for the first time, make sure to set the property "org.apache.sling.installer.configuration.persist" to the value "false" Carsten 2013/9/6 Carsten Ziegeler > In general yes, but not for the Job Consumer Manager - the configuration >

Re: Managing Queues based on Topology ?

2013-09-06 Thread Carsten Ziegeler
In general yes, but not for the Job Consumer Manager - the configuration has a special property set which excludes it from writing back to the repository and therefore distributing it Carsten 2013/9/6 Ian Boston > If the config is stored in the repository, wont that propagate from > master to

Re: Managing Queues based on Topology ?

2013-09-06 Thread Ian Boston
If the config is stored in the repository, wont that propagate from master to slave and visa versa ? The JavaDocs on Configuration.update(Dictionary) say changes are stored. On 6 September 2013 13:40, Carsten Ziegeler wrote: > Hmm, I would rather get the configuration dictionary from the config a

FYI, org.apache.sling.scripting.api does not embed and export javax.script anymore

2013-09-06 Thread Bertrand Delacretaz
See https://issues.apache.org/jira/browse/SLING-3042 - this might break compatibility with JDK 1.5 but I think dropping that is fine now. -Bertrand

[jira] [Resolved] (SLING-3042) org.apache.sling.scripting.api should not export javax.script anymore

2013-09-06 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-3042. Resolution: Fixed Fixed in http://svn.apache.org/r1520551 by having the scripting.a

[jira] [Updated] (SLING-3042) org.apache.sling.scripting.api should not export javax.script anymore

2013-09-06 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-3042: --- Affects Version/s: Scripting API 2.1.4 Fix Version/s: Scripting API 2.1.6

Re: Managing Queues based on Topology ?

2013-09-06 Thread Carsten Ziegeler
Hmm, I would rather get the configuration dictionary from the config admin and update that Carsten 2013/9/6 Ian Boston > I meant serviceRegistration not serviceReference, but I cant get it > seems like its not possible to get hold of a serviceRegistration from > another bundle. > > On 6 Septem

Re: Managing Queues based on Topology ?

2013-09-06 Thread Ian Boston
I meant serviceRegistration not serviceReference, but I cant get it seems like its not possible to get hold of a serviceRegistration from another bundle. On 6 September 2013 13:31, Ian Boston wrote: > Hi, > Just to be clear you are saying programatically manipulate the OSGi > configuration of the

Re: Managing Queues based on Topology ?

2013-09-06 Thread Ian Boston
Hi, Just to be clear you are saying programatically manipulate the OSGi configuration of the JobConsumerManager when an instance initialises or transitions from master<->slave ? eg on a topology change get a serviceReference to the JobConsumerManager using serviceReference.setPrope

[jira] [Commented] (SLING-3028) Support for progress tracking of jobs

2013-09-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760141#comment-13760141 ] Carsten Ziegeler commented on SLING-3028: - This depends :) If I understand you cor

Jenkins build is back to stable : sling-trunk-1.7 #245

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Event Support #245

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is back to stable : sling-trunk-1.7 » Apache Sling Sample Integration Tests #245

2013-09-06 Thread Apache Jenkins Server
See

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

2013-09-06 Thread Apache Jenkins Server
See Changes: [bdelacretaz] SLING-3044 - ignore .idea folder in git [cziegeler] SLING-2944 : Replace administrative login by service-based login [cziegeler] Add ProviderType and ConsumerType annotations --

Re: Managing Queues based on Topology ?

2013-09-06 Thread Ian Boston
Cool, thanks, I'll go down the route you suggest. Ian On 6 September 2013 11:45, Carsten Ziegeler wrote: > Hi Ian, > > no, you don't implement a PropertyProvider for this - this is done by the > job implementation for you (JobConsumerManager). > The JobConsumerManager collects all active JobConsu

[jira] [Updated] (SLING-3028) Support for progress tracking of jobs

2013-09-06 Thread Victor Saar (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Victor Saar updated SLING-3028: --- Attachment: SLING-3028.patch I think the biggest issue of the current version is, that ETA and steps

[jira] [Resolved] (SLING-2779) Support for default properties values of a resource

2013-09-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-2779. - Resolution: Fixed > Support for default properties values of a resource > ---

[jira] [Resolved] (SLING-3044) Add exclusion rule to .gitignore for IntelliJ projects

2013-09-06 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-3044. Resolution: Fixed Fixed in http://svn.apache.org/r1520523, thanks!

[jira] [Updated] (SLING-3044) Add exclusion rule to .gitignore for IntelliJ projects

2013-09-06 Thread Gilles Knobloch (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gilles Knobloch updated SLING-3044: --- Attachment: SLING-3044.patch Attached a patch > Add exclusion rule to .gitig

[jira] [Created] (SLING-3044) Add exclusion rule to .gitignore for IntelliJ projects

2013-09-06 Thread Gilles Knobloch (JIRA)
Gilles Knobloch created SLING-3044: -- Summary: Add exclusion rule to .gitignore for IntelliJ projects Key: SLING-3044 URL: https://issues.apache.org/jira/browse/SLING-3044 Project: Sling Issu

Re: Managing Queues based on Topology ?

2013-09-06 Thread Carsten Ziegeler
Hi Ian, no, you don't implement a PropertyProvider for this - this is done by the job implementation for you (JobConsumerManager). The JobConsumerManager collects all active JobConsumer queries their supported topics and provides this information through the topology by registering the PropertyPro

Jenkins build is back to stable : sling-trunk-1.6 » Apache Sling Installer Integration Tests #1870

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build is back to normal : sling-trunk-1.6 #1870

2013-09-06 Thread Apache Jenkins Server
See

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

2013-09-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760085#comment-13760085 ] Carsten Ziegeler commented on SLING-2944: - I've removed the header stuff in rev 15

Jenkins build became unstable: sling-trunk-1.7 » Apache Sling Sample Integration Tests #244

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build became unstable: sling-trunk-1.7 » Apache Sling Event Support #244

2013-09-06 Thread Apache Jenkins Server
See

Jenkins build became unstable: sling-trunk-1.7 #244

2013-09-06 Thread Apache Jenkins Server
See

[jira] [Created] (SLING-3043) Allow regexp filtering of vanity paths

2013-09-06 Thread Carsten Ziegeler (JIRA)
Carsten Ziegeler created SLING-3043: --- Summary: Allow regexp filtering of vanity paths Key: SLING-3043 URL: https://issues.apache.org/jira/browse/SLING-3043 Project: Sling Issue Type: Bug

[jira] [Updated] (SLING-2076) Make MapEntries more dynamic

2013-09-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-2076: Fix Version/s: Resource Resolver 1.1.0 > Make MapEntries more dynamic > ---

[jira] [Created] (SLING-3042) Latest org.apache.sling.scripting.api breaks Groovy script engine

2013-09-06 Thread Bertrand Delacretaz (JIRA)
Bertrand Delacretaz created SLING-3042: -- Summary: Latest org.apache.sling.scripting.api breaks Groovy script engine Key: SLING-3042 URL: https://issues.apache.org/jira/browse/SLING-3042 Project:

Managing Queues based on Topology ?

2013-09-06 Thread Ian Boston
Hi, (Probably a question for Carsten). Is the right way to implement topology based queue exclusion by implementing a topology discovery PropertyProvider that provides the property: org.apache.sling.event.jobs.consumer.topics containing a , separated list of topics the instance can handle. If s

[jira] [Resolved] (SLING-3037) IllegalArgumentException in logback Logger

2013-09-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-3037. - Resolution: Fixed Thanks Chetan, I've applied your patch and reverted the change to scrip

[jira] [Updated] (SLING-3037) IllegalArgumentException in logback Logger

2013-09-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-3037: Fix Version/s: (was: Scripting Core 2.0.26) Commons Log 4.0.0 >

[jira] [Updated] (SLING-3037) IllegalArgumentException in logback Logger

2013-09-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-3037: Affects Version/s: (was: Scripting Core 2.0.24) > IllegalArgumentException in logba

[jira] [Updated] (SLING-3037) IllegalArgumentException in logback Logger

2013-09-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-3037: Component/s: (was: Engine) Commons > IllegalArgumentException in l

[jira] [Commented] (SLING-3028) Support for progress tracking of jobs

2013-09-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760055#comment-13760055 ] Carsten Ziegeler commented on SLING-3028: - The JobExecutionContext is more than ju

Re: [Cassandra Resource] Create Update Sling Resource

2013-09-06 Thread Ian Boston
Hi, Thanks, now I see how you're doing it. Its good. So to do a Write (CUD[1]) test, create another class that extends HttpBaseTest and write a test method that invokes testClient.createNode(...) with an appropriate set of properties and a collection managed by the CassandraProvider. You will pro

[VOTE RESULT] Parent POM 18

2013-09-06 Thread Carsten Ziegeler
The vote was successful with 5 binding +1 votes No other votes have been cast Thanks for voting Regards Carsten -- Carsten Ziegeler cziege...@apache.org