Build failed in Jenkins: sling-launchpad-testing-war-1.8 #1434

2017-04-11 Thread Apache Jenkins Server
See 


--
Started by upstream project "sling-launchpad-builder-1.8" build number 10454
originally caused by:
 Started by upstream project "sling-bundles-extensions-event-api-1.7" build 
number 2
 originally caused by:
  Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-1 (ubuntu trusty) in workspace 

Updating https://svn.apache.org/repos/asf/sling/trunk/launchpad/testing-war at 
revision '2017-04-11T16:18:36.552 +'
At revision 1790997

No changes for 
https://svn.apache.org/repos/asf/sling/trunk/launchpad/testing-war since the 
previous build
Parsing POMs
ERROR: Failed to parse POMs
java.io.IOException: remote file operation failed: 
 at 
hudson.remoting.Channel@6b635627:ubuntu-1: java.io.IOException: Remote call on 
ubuntu-1 failed
at hudson.FilePath.act(FilePath.java:992)
at hudson.FilePath.act(FilePath.java:974)
at hudson.FilePath.exists(FilePath.java:1439)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:746)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1728)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Caused by: java.io.IOException: Remote call on ubuntu-1 failed
at hudson.remoting.Channel.call(Channel.java:830)
at hudson.FilePath.act(FilePath.java:985)
... 8 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:322)
at java.io.ObjectStreamClass.(ObjectStreamClass.java:464)
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:365)
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:602)
at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1622)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at hudson.remoting.UserRequest.deserialize(UserRequest.java:217)
at hudson.remoting.UserRequest.perform(UserRequest.java:131)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:336)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at ..remote call to ubuntu-1(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1537)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:822)
... 9 more
Archiving artifacts
Compressed 5.08 MB of artifacts by 25.9% relative to #1433
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: Test reports were found 
but none of them are new. Did tests run? 
For example, 

 is 11 days old




Build failed in Jenkins: sling-launchpad-testing-1.8 #1500

2017-04-11 Thread Apache Jenkins Server
See 


--
Started by upstream project "sling-launchpad-builder-1.8" build number 10454
originally caused by:
 Started by upstream project "sling-bundles-extensions-event-api-1.7" build 
number 2
 originally caused by:
  Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-1 (ubuntu trusty) in workspace 

Updating https://svn.apache.org/repos/asf/sling/trunk/launchpad/testing at 
revision '2017-04-11T16:18:32.103 +'
At revision 1790997

No changes for https://svn.apache.org/repos/asf/sling/trunk/launchpad/testing 
since the previous build
Parsing POMs
ERROR: Failed to parse POMs
java.io.IOException: remote file operation failed: 
 at 
hudson.remoting.Channel@6b635627:ubuntu-1: java.io.IOException: Remote call on 
ubuntu-1 failed
at hudson.FilePath.act(FilePath.java:992)
at hudson.FilePath.act(FilePath.java:974)
at hudson.FilePath.exists(FilePath.java:1439)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:746)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1728)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Caused by: java.io.IOException: Remote call on ubuntu-1 failed
at hudson.remoting.Channel.call(Channel.java:830)
at hudson.FilePath.act(FilePath.java:985)
... 8 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:322)
at java.io.ObjectStreamClass.(ObjectStreamClass.java:464)
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:365)
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:602)
at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1622)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at hudson.remoting.UserRequest.deserialize(UserRequest.java:217)
at hudson.remoting.UserRequest.perform(UserRequest.java:131)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:336)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at ..remote call to ubuntu-1(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1537)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:822)
... 9 more
Archiving artifacts
Compressed 5.20 MB of artifacts by 37.2% relative to #1499
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: Test reports were found 
but none of them are new. Did tests run? 
For example, 

 is 6 days 1 hr old




svn commit: r1790997 - /sling/trunk/bundles/extensions/event/api/pom.xml

2017-04-11 Thread stefanegli
Author: stefanegli
Date: Tue Apr 11 16:08:16 2017
New Revision: 1790997

URL: http://svn.apache.org/viewvc?rev=1790997=rev
Log:
SLING-6739 : removed unnecessary properties

Modified:
sling/trunk/bundles/extensions/event/api/pom.xml

Modified: sling/trunk/bundles/extensions/event/api/pom.xml
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/api/pom.xml?rev=1790997=1790996=1790997=diff
==
--- sling/trunk/bundles/extensions/event/api/pom.xml (original)
+++ sling/trunk/bundles/extensions/event/api/pom.xml Tue Apr 11 16:08:16 2017
@@ -44,12 +44,6 @@
 
 
 12315369
-4.4.0
-2.4.5
-${basedir}/target
-
${bundle.build.dir}/${project.build.finalName}.jar
-37000
-37999
 
 
 




Build failed in Jenkins: sling-bundles-extensions-caconfig-integration-tests-1.8 #9811

2017-04-11 Thread Apache Jenkins Server
See 


--
Started by upstream project "sling-launchpad-builder-1.8" build number 10454
originally caused by:
 Started by upstream project "sling-bundles-extensions-event-api-1.7" build 
number 2
 originally caused by:
  Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-1 (ubuntu trusty) in workspace 

Updating 
https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/caconfig/integration-tests
 at revision '2017-04-11T16:14:36.502 +'
At revision 1790997

No changes for 
https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/caconfig/integration-tests
 since the previous build
Parsing POMs
ERROR: Failed to parse POMs
java.io.IOException: remote file operation failed: 

 at hudson.remoting.Channel@6b635627:ubuntu-1: java.io.IOException: Remote call 
on ubuntu-1 failed
at hudson.FilePath.act(FilePath.java:992)
at hudson.FilePath.act(FilePath.java:974)
at hudson.FilePath.exists(FilePath.java:1439)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:746)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1728)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Caused by: java.io.IOException: Remote call on ubuntu-1 failed
at hudson.remoting.Channel.call(Channel.java:830)
at hudson.FilePath.act(FilePath.java:985)
... 8 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:322)
at java.io.ObjectStreamClass.(ObjectStreamClass.java:464)
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:365)
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:602)
at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1622)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at hudson.remoting.UserRequest.deserialize(UserRequest.java:217)
at hudson.remoting.UserRequest.perform(UserRequest.java:131)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:336)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at ..remote call to ubuntu-1(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1537)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:822)
... 9 more
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: Test reports were found 
but none of them are new. Did tests run? 
For example, 

 is 3 hr 27 min old




Build failed in Jenkins: sling-bundles-extensions-healthcheck-api-1.7 #1

2017-04-11 Thread Apache Jenkins Server
See 


--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on qnode2 (ubuntu) in workspace 

Checking out a fresh workspace because there's no workspace at 

Cleaning local Directory .
Checking out 
https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/healthcheck/api 
at revision '2017-04-11T06:22:49.451 +'
A src
A src/test
A src/test/java
A src/test/java/org
A src/test/java/org/apache
A src/test/java/org/apache/sling
A src/test/java/org/apache/sling/hc
A src/test/java/org/apache/sling/hc/util
AU
src/test/java/org/apache/sling/hc/util/SimpleConstraintCheckerTest.java
A src/test/java/org/apache/sling/hc/api
AUsrc/test/java/org/apache/sling/hc/api/ResultTest.java
A src/test/java/org/apache/sling/hc/api/ResultLogTest.java
A src/main
A src/main/java
A src/main/java/org
A src/main/java/org/apache
A src/main/java/org/apache/sling
A src/main/java/org/apache/sling/hc
A src/main/java/org/apache/sling/hc/util
A src/main/java/org/apache/sling/hc/util/HealthCheckFilter.java
A src/main/java/org/apache/sling/hc/util/FormattingResultLog.java
AUsrc/main/java/org/apache/sling/hc/util/SimpleConstraintChecker.java
AUsrc/main/java/org/apache/sling/hc/util/HealthCheckMetadata.java
A src/main/java/org/apache/sling/hc/util/package-info.java
A src/main/java/org/apache/sling/hc/api
AUsrc/main/java/org/apache/sling/hc/api/Result.java
A src/main/java/org/apache/sling/hc/api/ResultLog.java
AUsrc/main/java/org/apache/sling/hc/api/HealthCheck.java
A src/main/java/org/apache/sling/hc/api/execution
AUsrc/main/java/org/apache/sling/hc/api/execution/package-info.java
AU
src/main/java/org/apache/sling/hc/api/execution/HealthCheckExecutionResult.java
AU
src/main/java/org/apache/sling/hc/api/execution/HealthCheckExecutor.java
A 
src/main/java/org/apache/sling/hc/api/execution/HealthCheckExecutionOptions.java
A src/main/java/org/apache/sling/hc/api/package-info.java
A pom.xml
At revision 1790929

Parsing POMs
ERROR: Failed to parse POMs
java.io.IOException: remote file operation failed: 

 at hudson.remoting.Channel@5b57159c:qnode2: hudson.remoting.ProxyException: 
hudson.maven.MavenModuleSetBuild$MavenExecutionException: 
org.apache.maven.project.ProjectBuildingException: Some problems were 
encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact 
org.apache.sling:org.apache.sling.hc.reactor:pom:1.0.3-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 23, column 13

at hudson.FilePath.act(FilePath.java:992)
at hudson.FilePath.act(FilePath.java:974)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:980)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:692)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1728)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Caused by: hudson.remoting.ProxyException: 
hudson.maven.MavenModuleSetBuild$MavenExecutionException: 
org.apache.maven.project.ProjectBuildingException: Some problems were 
encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact 
org.apache.sling:org.apache.sling.hc.reactor:pom:1.0.3-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 23, column 13

at 
hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1384)
at 
hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1118)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:336)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 

svn commit: r1790929 - /sling/trunk/tooling/jenkins/create_jobs.groovy

2017-04-11 Thread rombert
Author: rombert
Date: Tue Apr 11 06:12:12 2017
New Revision: 1790929

URL: http://svn.apache.org/viewvc?rev=1790929=rev
Log:
SLING-6773 - separate HC API from Core

Add Jenkins build job for HC Api

Modified:
sling/trunk/tooling/jenkins/create_jobs.groovy

Modified: sling/trunk/tooling/jenkins/create_jobs.groovy
URL: 
http://svn.apache.org/viewvc/sling/trunk/tooling/jenkins/create_jobs.groovy?rev=1790929=1790928=1790929=diff
==
--- sling/trunk/tooling/jenkins/create_jobs.groovy (original)
+++ sling/trunk/tooling/jenkins/create_jobs.groovy Tue Apr 11 06:12:12 2017
@@ -145,6 +145,9 @@ def modules = [
 location: 'bundles/extensions/fsresource'
 ],
 [
+location: 'bundles/extensions/healthcheck/api'
+],
+[
 location: 'bundles/extensions/healthcheck/annotations'
 ],
 [




Build failed in Jenkins: sling-bundles-extensions-healthcheck-api-1.8 #1

2017-04-11 Thread Apache Jenkins Server
See 


--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-eu2 (ubuntu trusty) in workspace 

Checking out a fresh workspace because there's no workspace at 

Cleaning local Directory .
Checking out 
https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/healthcheck/api 
at revision '2017-04-11T06:28:08.599 +'
A src
A src/test
A src/test/java
A src/test/java/org
A src/test/java/org/apache
A src/test/java/org/apache/sling
A src/test/java/org/apache/sling/hc
A src/test/java/org/apache/sling/hc/api
AUsrc/test/java/org/apache/sling/hc/api/ResultTest.java
A src/test/java/org/apache/sling/hc/api/ResultLogTest.java
A src/test/java/org/apache/sling/hc/util
AU
src/test/java/org/apache/sling/hc/util/SimpleConstraintCheckerTest.java
A src/main
A src/main/java
A src/main/java/org
A src/main/java/org/apache
A src/main/java/org/apache/sling
A src/main/java/org/apache/sling/hc
A src/main/java/org/apache/sling/hc/api
AUsrc/main/java/org/apache/sling/hc/api/Result.java
A src/main/java/org/apache/sling/hc/api/ResultLog.java
AUsrc/main/java/org/apache/sling/hc/api/HealthCheck.java
A src/main/java/org/apache/sling/hc/api/execution
AU
src/main/java/org/apache/sling/hc/api/execution/HealthCheckExecutor.java
A 
src/main/java/org/apache/sling/hc/api/execution/HealthCheckExecutionOptions.java
AUsrc/main/java/org/apache/sling/hc/api/execution/package-info.java
AU
src/main/java/org/apache/sling/hc/api/execution/HealthCheckExecutionResult.java
A src/main/java/org/apache/sling/hc/api/package-info.java
A src/main/java/org/apache/sling/hc/util
AUsrc/main/java/org/apache/sling/hc/util/HealthCheckMetadata.java
A src/main/java/org/apache/sling/hc/util/package-info.java
A src/main/java/org/apache/sling/hc/util/HealthCheckFilter.java
A src/main/java/org/apache/sling/hc/util/FormattingResultLog.java
AUsrc/main/java/org/apache/sling/hc/util/SimpleConstraintChecker.java
A pom.xml
At revision 1790929

Parsing POMs
ERROR: Failed to parse POMs
java.io.IOException: remote file operation failed: 

 at hudson.remoting.Channel@14c0e6b4:ubuntu-eu2: 
hudson.remoting.ProxyException: 
hudson.maven.MavenModuleSetBuild$MavenExecutionException: 
org.apache.maven.project.ProjectBuildingException: Some problems were 
encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact 
org.apache.sling:org.apache.sling.hc.reactor:pom:1.0.3-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 23, column 13

at hudson.FilePath.act(FilePath.java:992)
at hudson.FilePath.act(FilePath.java:974)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:980)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:692)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1728)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Caused by: hudson.remoting.ProxyException: 
hudson.maven.MavenModuleSetBuild$MavenExecutionException: 
org.apache.maven.project.ProjectBuildingException: Some problems were 
encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact 
org.apache.sling:org.apache.sling.hc.reactor:pom:1.0.3-SNAPSHOT and 
'parent.relativePath' points at wrong local POM @ line 23, column 13

at 
hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1384)
at 
hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1118)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:336)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 

svn commit: r1790944 - in /sling/trunk/contrib/scripting/framework-extension-nashorn: ./ pom.xml

2017-04-11 Thread bdelacretaz
Author: bdelacretaz
Date: Tue Apr 11 09:26:29 2017
New Revision: 1790944

URL: http://svn.apache.org/viewvc?rev=1790944=rev
Log:
SLING-6763 - add Nashorn API fragment bundle

Added:
sling/trunk/contrib/scripting/framework-extension-nashorn/   (with props)
sling/trunk/contrib/scripting/framework-extension-nashorn/pom.xml

Propchange: sling/trunk/contrib/scripting/framework-extension-nashorn/
--
--- svn:ignore (added)
+++ svn:ignore Tue Apr 11 09:26:29 2017
@@ -0,0 +1,5 @@
+target
+.settings
+.classpath
+.project
+

Added: sling/trunk/contrib/scripting/framework-extension-nashorn/pom.xml
URL: 
http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/framework-extension-nashorn/pom.xml?rev=1790944=auto
==
--- sling/trunk/contrib/scripting/framework-extension-nashorn/pom.xml (added)
+++ sling/trunk/contrib/scripting/framework-extension-nashorn/pom.xml Tue Apr 
11 09:26:29 2017
@@ -0,0 +1,83 @@
+
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
+
+4.0.0
+
+org.apache.sling
+sling
+26
+
+
+
+org.apache.sling.fragment.nashorn
+0.0.1-SNAPSHOT
+jar
+
+Apache Sling System Bundle Extension: Nashorn Scripting API
+
+Adds the Nashorn Scripting API package to the system bundle exports.
+
+
+
+0.0.0.1
+
+
+
+
+
+org.apache.felix
+maven-bundle-plugin
+
+
+bundle-manifest
+process-classes
+
+manifest
+
+
+
+
+
+
+system.bundle;extension:=framework
+
+
+
+
+
+maven-jar-plugin
+
+true
+
+
+
${project.build.outputDirectory}/META-INF/MANIFEST.MF
+
+
+
+
jdk.nashorn.api.scripting;version="${nashorn.export.version}"
+
+
+
+
+
+
+
+




svn commit: r1790948 - /sling/trunk/contrib/scripting/esx/README.md

2017-04-11 Thread bdelacretaz
Author: bdelacretaz
Date: Tue Apr 11 09:33:35 2017
New Revision: 1790948

URL: http://svn.apache.org/viewvc?rev=1790948=rev
Log:
SLING-6763 - suggest the new org.apache.sling.fragment.nashorn fragment bundle 
instead of editing sling.properties + tweaks

Modified:
sling/trunk/contrib/scripting/esx/README.md

Modified: sling/trunk/contrib/scripting/esx/README.md
URL: 
http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/esx/README.md?rev=1790948=1790947=1790948=diff
==
--- sling/trunk/contrib/scripting/esx/README.md (original)
+++ sling/trunk/contrib/scripting/esx/README.md Tue Apr 11 09:33:35 2017
@@ -25,18 +25,16 @@ This module is considered **experimental
 ## Description
 This module implements a Nashorn Apache Sling Script Engine for the "esx" 
extension.
 
-It requires a function named `render` in the `esx` script that processes the 
request.
+It requires a function named `render` in the `esx` script that processes the 
+request.
 
-To activate this script engine you must first **enable Nashorn support** in the
-`sling.properties` file of your Sling instance:
+## Installation
+The `org.apache.sling.fragment.nashorn` bundle must be installed before this 
bundle, to export the `jdk.nashorn.api.scripting` package.
 
-```
-jre-1.8=jdk.nashorn.api.scripting;version\="0.0.0.1_008_JavaSE"
-```
-**attention**
-> currently this implementation only works with java version "1.8.0_92" and 
higher
+Currently this implementation requires **java version "1.8.0_92"** or higher
 
-Once the bundle is active, you can try the engine with this minimal (and not 
very interesting) example:
+## Usage
+Once this bundle is active you can try the engine with this minimal (and not 
very interesting) example:
 
 First create a node with some content:
 




svn commit: r1790952 - in /sling/trunk/testing/junit/scriptable: pom.xml src/main/java/org/apache/sling/junit/scriptable/ScriptableTestsProvider.java

2017-04-11 Thread pauls
Author: pauls
Date: Tue Apr 11 10:58:38 2017
New Revision: 1790952

URL: http://svn.apache.org/viewvc?rev=1790952=rev
Log:
Update testing to work with without the deprecated resource api (SLING-5983).

Modified:
sling/trunk/testing/junit/scriptable/pom.xml

sling/trunk/testing/junit/scriptable/src/main/java/org/apache/sling/junit/scriptable/ScriptableTestsProvider.java

Modified: sling/trunk/testing/junit/scriptable/pom.xml
URL: 
http://svn.apache.org/viewvc/sling/trunk/testing/junit/scriptable/pom.xml?rev=1790952=1790951=1790952=diff
==
--- sling/trunk/testing/junit/scriptable/pom.xml (original)
+++ sling/trunk/testing/junit/scriptable/pom.xml Tue Apr 11 10:58:38 2017
@@ -55,6 +55,7 @@
 true
 
 
+
org.apache.sling.junit.scriptable;version="2.0.0"
 
org.apache.sling.junit.scriptable.*
 
SLING-INF/nodetypes/slingtest.cnd
 
@@ -80,7 +81,7 @@
 
 org.apache.sling
 org.apache.sling.api
-2.1.0
+2.16.2
 provided
 
 
@@ -102,7 +103,7 @@
 
 org.apache.sling
 org.apache.sling.jcr.resource
-2.0.6
+2.9.3-SNAPSHOT
 provided
 
 
@@ -120,6 +121,7 @@
 
 javax.servlet
 servlet-api
+2.4
 
 
 org.slf4j

Modified: 
sling/trunk/testing/junit/scriptable/src/main/java/org/apache/sling/junit/scriptable/ScriptableTestsProvider.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/testing/junit/scriptable/src/main/java/org/apache/sling/junit/scriptable/ScriptableTestsProvider.java?rev=1790952=1790951=1790952=diff
==
--- 
sling/trunk/testing/junit/scriptable/src/main/java/org/apache/sling/junit/scriptable/ScriptableTestsProvider.java
 (original)
+++ 
sling/trunk/testing/junit/scriptable/src/main/java/org/apache/sling/junit/scriptable/ScriptableTestsProvider.java
 Tue Apr 11 10:58:38 2017
@@ -18,8 +18,10 @@ package org.apache.sling.junit.scriptabl
 
 import java.util.ArrayList;
 import java.util.Arrays;
+import java.util.HashMap;
 import java.util.LinkedList;
 import java.util.List;
+import java.util.Map;
 
 import javax.jcr.NodeIterator;
 import javax.jcr.RepositoryException;
@@ -33,10 +35,12 @@ import org.apache.felix.scr.annotations.
 import org.apache.felix.scr.annotations.Reference;
 import org.apache.felix.scr.annotations.Service;
 import org.apache.sling.api.resource.ResourceResolver;
+import org.apache.sling.api.resource.ResourceResolverFactory;
 import org.apache.sling.engine.SlingRequestProcessor;
 import org.apache.sling.jcr.api.SlingRepository;
-import org.apache.sling.jcr.resource.JcrResourceResolverFactory;
+import org.apache.sling.jcr.resource.api.JcrResourceConstants;
 import org.apache.sling.junit.TestsProvider;
+import org.apache.sling.spi.resource.provider.ResourceProvider;
 import org.osgi.framework.Constants;
 import org.osgi.service.component.ComponentContext;
 import org.slf4j.Logger;
@@ -93,7 +97,7 @@ public class ScriptableTestsProvider imp
 private SlingRequestProcessor requestProcessor;
 
 @Reference
-private JcrResourceResolverFactory resolverFactory;
+private ResourceResolverFactory resolverFactory;
 
 // Need one listener per root path
 private List listeners = new ArrayList();
@@ -114,7 +118,9 @@ public class ScriptableTestsProvider imp
 protected void activate(ComponentContext ctx) throws Exception {
 pid = (String)ctx.getProperties().get(Constants.SERVICE_PID);
 session = 
repository.loginAdministrative(repository.getDefaultWorkspace());
-resolver = resolverFactory.getResourceResolver(session);
+Map auth = new HashMap();
+auth.put(JcrResourceConstants.AUTHENTICATION_INFO_SESSION, session);
+resolver = resolverFactory.getResourceResolver(auth);
 
 // Copy resource resolver paths and make sure they end with a /
 final String [] paths = resolver.getSearchPath();




svn commit: r1790953 - /sling/trunk/launchpad/builder/src/main/provisioning/sling.txt

2017-04-11 Thread pauls
Author: pauls
Date: Tue Apr 11 10:59:54 2017
New Revision: 1790953

URL: http://svn.apache.org/viewvc?rev=1790953=rev
Log:
Update the jcr.resource bundle to latest snaphshot version in launchpad to 
include removale of deprecated resource api (SLING-5983).

Modified:
sling/trunk/launchpad/builder/src/main/provisioning/sling.txt

Modified: sling/trunk/launchpad/builder/src/main/provisioning/sling.txt
URL: 
http://svn.apache.org/viewvc/sling/trunk/launchpad/builder/src/main/provisioning/sling.txt?rev=1790953=1790952=1790953=diff
==
--- sling/trunk/launchpad/builder/src/main/provisioning/sling.txt (original)
+++ sling/trunk/launchpad/builder/src/main/provisioning/sling.txt Tue Apr 11 
10:59:54 2017
@@ -54,7 +54,7 @@
 org.apache.sling/org.apache.sling.installer.console/1.0.2
 org.apache.sling/org.apache.sling.installer.provider.jcr/3.1.24
 org.apache.sling/org.apache.sling.jcr.contentloader/2.1.11-SNAPSHOT
-org.apache.sling/org.apache.sling.jcr.resource/2.9.2
+org.apache.sling/org.apache.sling.jcr.resource/2.9.3-SNAPSHOT
 org.apache.sling/org.apache.sling.launchpad.content/2.0.9-SNAPSHOT
 org.apache.sling/org.apache.sling.models.api/1.3.2
 org.apache.sling/org.apache.sling.models.impl/1.3.8




svn commit: r1790947 [2/3] - in /sling/trunk/contrib/scripting/esx: ./ babel-plugin-sling-sandbox/ babel-plugin-sling-sandbox/lib/ babel-plugin-sling-sandbox/lib/sling-sandbox-plugin/ src/main/java/or

2017-04-11 Thread bdelacretaz
Added: 
sling/trunk/contrib/scripting/esx/src/main/resources/internal/sling-babel.js
URL: 
http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/esx/src/main/resources/internal/sling-babel.js?rev=1790947=auto
==
--- 
sling/trunk/contrib/scripting/esx/src/main/resources/internal/sling-babel.js 
(added)
+++ 
sling/trunk/contrib/scripting/esx/src/main/resources/internal/sling-babel.js 
Tue Apr 11 09:30:28 2017
@@ -0,0 +1,92949 @@
+this["SlingBabel"] =
+/**/ (function(modules) { // webpackBootstrap
+/**/   // The module cache
+/**/   var installedModules = {};
+/**/
+/**/   // The require function
+/**/   function __webpack_require__(moduleId) {
+/**/
+/**/   // Check if module is in cache
+/**/   if(installedModules[moduleId])
+/**/   return installedModules[moduleId].exports;
+/**/
+/**/   // Create a new module (and put it into the cache)
+/**/   var module = installedModules[moduleId] = {
+/**/   i: moduleId,
+/**/   l: false,
+/**/   exports: {}
+/**/   };
+/**/
+/**/   // Execute the module function
+/**/   modules[moduleId].call(module.exports, module, 
module.exports, __webpack_require__);
+/**/
+/**/   // Flag the module as loaded
+/**/   module.l = true;
+/**/
+/**/   // Return the exports of the module
+/**/   return module.exports;
+/**/   }
+/**/
+/**/
+/**/   // expose the modules object (__webpack_modules__)
+/**/   __webpack_require__.m = modules;
+/**/
+/**/   // expose the module cache
+/**/   __webpack_require__.c = installedModules;
+/**/
+/**/   // identity function for calling harmony imports with the 
correct context
+/**/   __webpack_require__.i = function(value) { return value; };
+/**/
+/**/   // define getter function for harmony exports
+/**/   __webpack_require__.d = function(exports, name, getter) {
+/**/   if(!__webpack_require__.o(exports, name)) {
+/**/   Object.defineProperty(exports, name, {
+/**/   configurable: false,
+/**/   enumerable: true,
+/**/   get: getter
+/**/   });
+/**/   }
+/**/   };
+/**/
+/**/   // getDefaultExport function for compatibility with non-harmony 
modules
+/**/   __webpack_require__.n = function(module) {
+/**/   var getter = module && module.__esModule ?
+/**/   function getDefault() { return 
module['default']; } :
+/**/   function getModuleExports() { return module; };
+/**/   __webpack_require__.d(getter, 'a', getter);
+/**/   return getter;
+/**/   };
+/**/
+/**/   // Object.prototype.hasOwnProperty.call
+/**/   __webpack_require__.o = function(object, property) { return 
Object.prototype.hasOwnProperty.call(object, property); };
+/**/
+/**/   // __webpack_public_path__
+/**/   __webpack_require__.p = "";
+/**/
+/**/   // Load entry module and return exports
+/**/   return __webpack_require__(__webpack_require__.s = 145);
+/**/ })
+//
+/**/ ([
+/* 0 */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+
+
+exports.__esModule = true;
+exports.createTypeAnnotationBasedOnTypeof = exports.removeTypeDuplicates = 
exports.createUnionTypeAnnotation = exports.valueToNode = exports.toBlock = 
exports.toExpression = exports.toStatement = exports.toBindingIdentifierName = 
exports.toIdentifier = exports.toKeyAlias = exports.toSequenceExpression = 
exports.toComputedKey = exports.isNodesEquivalent = exports.isImmutable = 
exports.isScope = exports.isSpecifierDefault = exports.isVar = 
exports.isBlockScoped = exports.isLet = exports.isValidIdentifier = 
exports.isReferenced = exports.isBinding = exports.getOuterBindingIdentifiers = 
exports.getBindingIdentifiers = exports.TYPES = exports.react = 
exports.DEPRECATED_KEYS = exports.BUILDER_KEYS = exports.NODE_FIELDS = 
exports.ALIAS_KEYS = exports.VISITOR_KEYS = exports.NOT_LOCAL_BINDING = 
exports.BLOCK_SCOPED_SYMBOL = exports.INHERIT_KEYS = exports.UNARY_OPERATORS = 
exports.STRING_UNARY_OPERATORS = exports.NUMBER_UNARY_OPERATORS = 
exports.BOOLEAN_UNARY_OPERATORS = exports.BINARY_OPERAT
 ORS = exports.NUMBER_BINARY_OPERATORS = exports.BOOLEAN_BINARY_OPERATORS = 
exports.COMPARISON_BINARY_OPERATORS = exports.EQUALITY_BINARY_OPERATORS = 

svn commit: r1790947 [3/3] - in /sling/trunk/contrib/scripting/esx: ./ babel-plugin-sling-sandbox/ babel-plugin-sling-sandbox/lib/ babel-plugin-sling-sandbox/lib/sling-sandbox-plugin/ src/main/java/or

2017-04-11 Thread bdelacretaz
Modified: 
sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/esx_modules/BlogComponent/index.js
URL: 
http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/esx_modules/BlogComponent/index.js?rev=1790947=1790946=1790947=diff
==
--- 
sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/esx_modules/BlogComponent/index.js
 (original)
+++ 
sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/esx_modules/BlogComponent/index.js
 Tue Apr 11 09:30:28 2017
@@ -15,68 +15,72 @@
  * limitations under the License.
  */
 
-var Handlebars = require("handlebars");
-var marked = require("marked");
-var URL = require("url");
-
-var renderer = new marked.Renderer();
-renderer.blockquote = function (quote) {
-  return "" + quote + "";
-}
-
-function resolveTitle(res) {
-   return  res.properties.navTitle || res.properties.title || 
res.properties["jcr:title"] || res.name;
-
-}
+import Handlebars from "handlebars";
+import marked from "marked";
+import URL from "url";
+import pathInfo from "pathinfo";
+
+export default class BlogComponent {
+  constructor() {
+
+this.renderer = new marked.Renderer();
+this.renderer.blockquote = function (quote) {
+  return "" + quote + "";
+}
 
-function BlogComponent () {
-  this.templateURL = "../../hbstemplates/layout.html"
-  this.basePath = URL.getAbsoluteParent(currentNode.resource.path, 4);
-  this.baseResource = require("resource!" + this.basePath);
-  this.stylesheet = "";
-  this.partialContentTemplateURL = "../../hbstemplates/content.html";
-  this.model = currentNode;
-  this.model.title = currentNode.properties.pageTitle || 
currentNode.properties.title || currentNode.properties["jcr:title"] || 
currentNode.resource.name;
-}
 
-BlogComponent.prototype.transformMarkdown = function (content) {
-  return marked(content, { renderer: renderer});
-}
-BlogComponent.prototype.pages = function () {
-  var pages = [];
-  var homePage =
+this.templateURL = "../../hbstemplates/layout.html"
+this.basePath = URL.getAbsoluteParent(currentNode.resource.path, 4);
+this.baseResource = require("resource!" + this.basePath);
+this.stylesheet = "";
+this.partialContentTemplateURL = "../../hbstemplates/content.html";
+this.model = currentNode;
+this.model.viewTypeSmall = pathInfo.hasSelector("small");
+this.model.title = currentNode.properties.pageTitle || 
currentNode.properties.title || currentNode.properties["jcr:title"] || 
currentNode.resource.name;
+  }
+
+  resolveTitle(res) {
+return  res.properties.navTitle || res.properties.title || 
res.properties["jcr:title"] || res.name;
+  }
+
+  transformMarkdown(content) {
+var self = this;
+return marked(content, { renderer: self.renderer});
+  }
+
+  pages() {
+var self = this;
+var pages = [];
+var homePage =
 pages.push({
-path: this.basePath,
-title: resolveTitle(this.baseResource),
-active: (currentNode.resource.path === this.basePath ? 'active' : '')
+  path: pathInfo.hasSelector("small") ? this.basePath + ".small": 
this.basePath,
+  title: self.resolveTitle(this.baseResource),
+  active: ((currentNode.resource.path.indexOf(this.basePath + 
"/posts")===0 || currentNode.resource.path === this.basePath )? 'active' : '')
+});
+
+var rootPage = require("resource!" + this.basePath + "/pages");
+var children = rootPage.children;
+
+children.forEach(function(child){
+  var nav = {
+path: pathInfo.hasSelector("small") ? child.path + ".small": 
child.path,
+title: self.resolveTitle(child),
+active: (currentNode.resource.path === child.path ? 'active' : '')
+  };
+  pages.push(nav);
 });
 
-  var rootPage = require("resource!" + this.basePath + "/pages");
-   var children = rootPage.simpleResource.children;
-
-for(var key in children) {
-var child =  children[key];
-var nav = {};
-nav.path =child.path;
-nav.title =  resolveTitle(child) ;
-nav.active = (currentNode.resource.path === child.path ? 'active' : 
'');
-pages.push(nav);
-}
-
-  return pages;
-}
-
-BlogComponent.prototype.render = function () {
-  this.init();
-  Handlebars.registerPartial('content',require("text!" + 
this.partialContentTemplateURL));
-
+return pages;
+  }
 
-  var templateSource= require("text!" + this.templateURL);
-  var template = Handlebars.compile(templateSource);
-  this.model.style = this.stylesheet;
-  this.model.pagesNav = this.pages();
+  render() {
+this.init();
+Handlebars.registerPartial('content',require("text!" + 
this.partialContentTemplateURL));
+var templateSource= require("text!" + this.templateURL);
+var template = Handlebars.compile(templateSource);
+this.model.style = this.stylesheet;
+this.model.pagesNav 

svn commit: r1790947 [1/3] - in /sling/trunk/contrib/scripting/esx: ./ babel-plugin-sling-sandbox/ babel-plugin-sling-sandbox/lib/ babel-plugin-sling-sandbox/lib/sling-sandbox-plugin/ src/main/java/or

2017-04-11 Thread bdelacretaz
Author: bdelacretaz
Date: Tue Apr 11 09:30:28 2017
New Revision: 1790947

URL: http://svn.apache.org/viewvc?rev=1790947=rev
Log:
SLING-6763 - remove org.apache.sling.commons.json and add sling-babel, 
contributed by Senol Tas, thanks!

Added:
sling/trunk/contrib/scripting/esx/babel-plugin-sling-sandbox/
sling/trunk/contrib/scripting/esx/babel-plugin-sling-sandbox/lib/
sling/trunk/contrib/scripting/esx/babel-plugin-sling-sandbox/lib/index.js

sling/trunk/contrib/scripting/esx/babel-plugin-sling-sandbox/lib/sling-sandbox-plugin/

sling/trunk/contrib/scripting/esx/babel-plugin-sling-sandbox/lib/sling-sandbox-plugin/index.js
sling/trunk/contrib/scripting/esx/babel-plugin-sling-sandbox/package.json

sling/trunk/contrib/scripting/esx/babel-plugin-sling-sandbox/webpack.config.js
sling/trunk/contrib/scripting/esx/gulpfile.js
sling/trunk/contrib/scripting/esx/package.json

sling/trunk/contrib/scripting/esx/src/main/java/org/apache/sling/scripting/esx/services/ScriptSandboxService.java

sling/trunk/contrib/scripting/esx/src/main/java/org/apache/sling/scripting/esx/services/impl/ScriptSandboxServiceImpl.java
sling/trunk/contrib/scripting/esx/src/main/resources/internal/
sling/trunk/contrib/scripting/esx/src/main/resources/internal/sling-babel.js

sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/esx_modules/calculator/calculator.js

sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/esx_modules/calculator/package.json

sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/esx_modules/pathinfo/

sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/esx_modules/pathinfo/index.js

sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/page/templates/listing-small.html
Removed:

sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/page/helper/pathinfo/
Modified:
sling/trunk/contrib/scripting/esx/   (props changed)
sling/trunk/contrib/scripting/esx/.gitignore
sling/trunk/contrib/scripting/esx/README.md
sling/trunk/contrib/scripting/esx/pom.xml

sling/trunk/contrib/scripting/esx/src/main/java/org/apache/sling/scripting/esx/EsxScriptEngineFactory.java

sling/trunk/contrib/scripting/esx/src/main/java/org/apache/sling/scripting/esx/Module.java

sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/esx_modules/BlogComponent/index.js

sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/hbstemplates/layout.html

sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/page/page.esx

sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/components/post/post.esx

sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/content/demo.xml

sling/trunk/contrib/scripting/esx/src/main/resources/libs/esx/demo/package.json

Propchange: sling/trunk/contrib/scripting/esx/
--
--- svn:ignore (original)
+++ svn:ignore Tue Apr 11 09:30:28 2017
@@ -1,4 +1,7 @@
+etc
 target
 .settings
 .classpath
 .project
+node
+node_modules

Modified: sling/trunk/contrib/scripting/esx/.gitignore
URL: 
http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/esx/.gitignore?rev=1790947=1790946=1790947=diff
==
--- sling/trunk/contrib/scripting/esx/.gitignore (original)
+++ sling/trunk/contrib/scripting/esx/.gitignore Tue Apr 11 09:30:28 2017
@@ -4,3 +4,4 @@ target
 .project
 settings.xml
 node_modules
+node

Modified: sling/trunk/contrib/scripting/esx/README.md
URL: 
http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/esx/README.md?rev=1790947=1790946=1790947=diff
==
--- sling/trunk/contrib/scripting/esx/README.md (original)
+++ sling/trunk/contrib/scripting/esx/README.md Tue Apr 11 09:30:28 2017
@@ -27,7 +27,7 @@ This module implements a Nashorn Apache
 
 It requires a function named `render` in the `esx` script that processes the 
request.
 
-To activate this script engine you must first **enable Nashorn support** in 
the 
+To activate this script engine you must first **enable Nashorn support** in the
 `sling.properties` file of your Sling instance:
 
 ```
@@ -45,27 +45,27 @@ First create a node with some content:
  -Ftitle="Hello ESX" \
  -Ftext="Here's some example text" \
  http://localhost:8080/apps/foo
- 
+
 Then create an ESX script to render it:
 
 $ cat << EOF > /tmp/foo.esx
 var foo = {
   render: function () {
-var output  = "" + currentNode.properties.title + ""; 

+var output  = '\${currentNode.properties.title}';
 output += currentNode.properties.text;
 return 

svn commit: r1790941 - in /sling/trunk/contrib/extensions/distribution: ./ api/src/main/java/org/apache/sling/distribution/ api/src/main/java/org/apache/sling/distribution/event/ avro-serializer/src/t

2017-04-11 Thread tommaso
Author: tommaso
Date: Tue Apr 11 09:04:05 2017
New Revision: 1790941

URL: http://svn.apache.org/viewvc?rev=1790941=rev
Log:
SLING-4075 - added some tests, minor static analysis related fixes

Modified:
sling/trunk/contrib/extensions/distribution/README.md

sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/DistributionRequest.java

sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/event/DistributionEventProperties.java

sling/trunk/contrib/extensions/distribution/api/src/main/java/org/apache/sling/distribution/event/DistributionEventTopics.java

sling/trunk/contrib/extensions/distribution/avro-serializer/src/test/java/org/apache/sling/distribution/serialization/impl/avro/AvroContentSerializerTest.java

sling/trunk/contrib/extensions/distribution/core/src/main/java/org/apache/sling/distribution/packaging/impl/SimpleDistributionPackage.java

sling/trunk/contrib/extensions/distribution/core/src/main/java/org/apache/sling/distribution/queue/impl/simple/SimpleDistributionQueueCheckpoint.java

sling/trunk/contrib/extensions/distribution/core/src/main/java/org/apache/sling/distribution/trigger/impl/RemoteEventDistributionTrigger.java

sling/trunk/contrib/extensions/distribution/core/src/test/java/org/apache/sling/distribution/packaging/impl/SimpleDistributionPackageTest.java

sling/trunk/contrib/extensions/distribution/core/src/test/java/org/apache/sling/distribution/packaging/impl/exporter/AgentDistributionPackageExporterTest.java

sling/trunk/contrib/extensions/distribution/it/src/main/java/org/apache/sling/distribution/test/DistributorServlet.java

sling/trunk/contrib/extensions/distribution/it/src/test/java/org/apache/sling/distribution/it/DistributionUtils.java

sling/trunk/contrib/extensions/distribution/it/src/test/java/org/apache/sling/distribution/it/ForwardBinaryDistributionTest.java

sling/trunk/contrib/extensions/distribution/kryo-serializer/src/main/java/org/apache/sling/distribution/serialization/impl/kryo/KryoContentSerializer.java

sling/trunk/contrib/extensions/distribution/kryo-serializer/src/test/java/org/apache/sling/distribution/serialization/impl/kryo/KryoContentSerializerTest.java

sling/trunk/contrib/extensions/distribution/sample/src/main/java/org/apache/sling/distribution/test/Init.java

Modified: sling/trunk/contrib/extensions/distribution/README.md
URL: 
http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/distribution/README.md?rev=1790941=1790940=1790941=diff
==
--- sling/trunk/contrib/extensions/distribution/README.md (original)
+++ sling/trunk/contrib/extensions/distribution/README.md Tue Apr 11 09:04:05 
2017
@@ -26,17 +26,17 @@ The Sling Content Distribution module co
  
 ## Design
 
-The Sling Content Distribution module main design goals resume in being: 
_Reliable_, _extensible_ and _simple_.
+The Sling Content Distribution aims to be: _Reliable_, _simple_ and 
_extensible_.
 
 Reliability means that the system should be able to keep working also in 
presence of failures regarding I/O, network, etc.
 An example of such problems is when pushing content from instance A to 
instance B fails because B is unreachable: in such 
  scenarios instance A should be able to keep pushing (pulling, etc.) content 
to other instances seamlessly. Another example
  is when delivery of a certain content (package) fails too many times the 
distribution module should be able to either drop 
  it or move it into a different "bucket" of failed items.
+Simplicity means that this module should be able to accomplish its tasks by 
providing clear, minimal and easy to use APIs together 
+with smart but not overly complicated or "hacky" implementations (see ["Simple 
software is 
hard"](http://events.linuxfoundation.org/events/apachecon-europe/program/schedule)).
 Extensibility means that the Sling Content Distribution module provides a set 
of APIs for distributing resources where each
 component coming into place during the distribution lifecycle can be extended 
or totally replaced.
-Simplicity means that this module should be able to accomplish its tasks by 
providing clear and easy to use APIs together 
-with smart but not overly complicated or "hacky" implementations (see 
Bertrand's talk ["Simple software is 
hard"](http://events.linuxfoundation.org/events/apachecon-europe/program/schedule)).
 
 A distribution _request_ represents the need of aggregating some resources and 
to copy them from / to another Sling instance.
 Such requests are handled by _agents_ that are the main entry point for 
working with the distribution module.
@@ -65,22 +65,17 @@ _package_.
 
 Distribution agents configurations are proper OSGi configurations (backed by 
nodes of type `sling:OsgiConfig` in the repository).
 
-
-
 There are specialized factories for each supported scenario:
 - "forward" 

Jenkins build became unstable: sling-launchpad-testing-1.8 #1499

2017-04-11 Thread Apache Jenkins Server
See