Re: contentloader module testing

2015-06-25 Thread Petr Shypila
Hi Bertrand, Thank you so much that you found time to write this example during a conference. Very appreciate. If you encounter issues and are blocked, don't hesitate to work on other, simpler unit tests in the meantime. That's exactly what I did. Right now my github/trunk branch contains

[jira] [Closed] (SLING-4595) Remove launchpad plugin configuration from parent pom

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-4595. -- Remove launchpad plugin configuration from parent pom

[jira] [Closed] (SLING-4772) Retire support for setting sling.java.version to 5

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-4772. -- Retire support for setting sling.java.version to 5

[jira] [Closed] (SLING-4662) Update to latest SCR Plugin

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-4662. -- Update to latest SCR Plugin --- Key: SLING-4662

[jira] [Closed] (SLING-4511) Enable the rat profile by default

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-4511. -- Enable the rat profile by default - Key:

File extension for sling provisioning files?

2015-06-25 Thread Stefan Seifert
currently a sling provisioning file [1] has just a file extension txt. This is ok for all current usecases, but makes it difficult for tooling to apply a file validation or syntax highlighting. we are currently working on some configuration generation tooling that uses validators to ensure the

[jira] [Commented] (SLING-4833) Clarify licensing of prettify.js and prettify.css

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14601196#comment-14601196 ] Robert Munteanu commented on SLING-4833: [~klcodanr] - can you please look into

[jira] [Created] (SLING-4833) Clarify licensing of prettify.js and prettify.css

2015-06-25 Thread Robert Munteanu (JIRA)
Robert Munteanu created SLING-4833: -- Summary: Clarify licensing of prettify.js and prettify.css Key: SLING-4833 URL: https://issues.apache.org/jira/browse/SLING-4833 Project: Sling Issue

[RESULT][VOTE] Release Apache Sling Parent 23

2015-06-25 Thread Robert Munteanu
Hi, The vote has passed with the following result : +1 (binding): Robert Munteanu, Stefan Egli, Carsten Ziegeler, Bertrand Delacretaz. I will copy this release to the Sling dist directory and promote the artifacts to the central Maven repository. Robert

Re: File extension for sling provisioning files?

2015-06-25 Thread Robert Munteanu
On Thu, Jun 25, 2015 at 4:18 PM, Stefan Seifert sseif...@pro-vision.de wrote: currently a sling provisioning file [1] has just a file extension txt. This is ok for all current usecases, but makes it difficult for tooling to apply a file validation or syntax highlighting. we are currently

[jira] [Closed] (SLING-4610) Ignore maven-enforcer-plugin and maven-remote-resources-plugin for m2e

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-4610. -- Ignore maven-enforcer-plugin and maven-remote-resources-plugin for m2e

[jira] [Closed] (SLING-4087) Sling Parent: Move m2e lifecycle mappings to separate profile

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-4087. -- Sling Parent: Move m2e lifecycle mappings to separate profile

[jira] [Closed] (SLING-4534) exclude all JSON files from Rat checks

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-4534. -- exclude all JSON files from Rat checks --

[jira] [Closed] (SLING-4663) Enable strict mode of scr plugin

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-4663. -- Enable strict mode of scr plugin Key:

[jira] [Closed] (SLING-4523) Update to the latest plugin versions

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-4523. -- Update to the latest plugin versions Key:

[jira] [Closed] (SLING-4702) Support setting sling.java.version to 8

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-4702. -- Support setting sling.java.version to 8 ---

[jira] [Closed] (SLING-4760) jacoco-report Maven profile should aggregate unit and integration tests

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu closed SLING-4760. -- jacoco-report Maven profile should aggregate unit and integration tests

[jira] [Commented] (SLING-4833) Clarify licensing of prettify.js and prettify.css

2015-06-25 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14601331#comment-14601331 ] Robert Munteanu commented on SLING-4833: Temporarily ignored rat errors in

Re: File extension for sling provisioning files?

2015-06-25 Thread Bertrand Delacretaz
On Thu, Jun 25, 2015 at 3:22 PM, Robert Munteanu romb...@apache.org wrote: ...Would adding a some metadata to the file in the form of comments work?... I would also prefer this option, or worst case a composite extension like .pm.txt -Bertrand

Moving to servlet 3 as the base?

2015-06-25 Thread Carsten Ziegeler
Hi, right now, Sling in theory runs on servet 2.4 and we have to do some ugly tricks to support 2.4/2.5 and 3.x. I think 3.0 is now out long enough that we could upgrade and require 3.0 as the base and get rid of all the special handling. WDYT? Carsten -- Carsten Ziegeler Adobe Research

[jira] [Created] (SLING-4834) Jcr trigger should distribute asynchronously

2015-06-25 Thread Marius Petria (JIRA)
Marius Petria created SLING-4834: Summary: Jcr trigger should distribute asynchronously Key: SLING-4834 URL: https://issues.apache.org/jira/browse/SLING-4834 Project: Sling Issue Type: Bug

[jira] [Resolved] (SLING-4834) Jcr trigger should distribute asynchronously

2015-06-25 Thread Marius Petria (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marius Petria resolved SLING-4834. -- Resolution: Fixed Committed revision 1687606. Jcr trigger should distribute asynchronously

Re: Moving to servlet 3 as the base?

2015-06-25 Thread Sandro Boehme
Am 25.06.15 um 18:17 schrieb Carsten Ziegeler: Hi, right now, Sling in theory runs on servet 2.4 and we have to do some ugly tricks to support 2.4/2.5 and 3.x. I think 3.0 is now out long enough that we could upgrade and require 3.0 as the base and get rid of all the special handling. WDYT?

Re: New Query API - in a distinct bundle? (was [jira] [Commented] (SLING-4752) New resource query API)

2015-06-25 Thread Justin Edelson
Hi, On Wed, Jun 24, 2015 at 9:01 PM Alexander Klimetschek aklim...@adobe.com wrote: On 23.06.2015, at 15:22, Justin Edelson jus...@justinedelson.com wrote: https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/search/eval/RelativeDateRangePredicateEvaluator.html This is not the Query

[jira] [Updated] (SLING-4801) Add support for Nashorn in the JavaScript Scripting Engine

2015-06-25 Thread Radu Cotescu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Radu Cotescu updated SLING-4801: Description: The {{org.apache.sling.scripting.javascript}} bundle should attempt to use Nashorn,

[jira] [Comment Edited] (SLING-4801) Add support for Nashorn in the JavaScript Scripting Engine

2015-06-25 Thread Radu Cotescu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14600897#comment-14600897 ] Radu Cotescu edited comment on SLING-4801 at 6/25/15 8:53 AM: --

[jira] [Updated] (SLING-4801) Add support for Nashorn in the JavaScript Scripting Engine

2015-06-25 Thread Radu Cotescu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Radu Cotescu updated SLING-4801: Attachment: SLING-4801.patch Add support for Nashorn in the JavaScript Scripting Engine

[jira] [Commented] (SLING-4801) Add support for Nashorn in the JavaScript Scripting Engine

2015-06-25 Thread Radu Cotescu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14600897#comment-14600897 ] Radu Cotescu commented on SLING-4801: - While researching how to implement this I've

[jira] [Resolved] (SLING-4801) Add support for Nashorn in the JavaScript Scripting Engine

2015-06-25 Thread Radu Cotescu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Radu Cotescu resolved SLING-4801. - Resolution: Later Fix Version/s: (was: Scripting JavaScript 2.0.18) Add support for

[jira] [Commented] (SLING-4760) jacoco-report Maven profile should aggregate unit and integration tests

2015-06-25 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14600903#comment-14600903 ] Bertrand Delacretaz commented on SLING-4760: Note that SLING-1803 is similar

Re: contentloader module testing

2015-06-25 Thread Bertrand Delacretaz
Hi Petr, On Thu, Jun 25, 2015 at 9:40 AM, Petr Shypila ikrump...@gmail.com wrote: ...I also got a look on other modules under ./bundles and it looks like engine is a very good one, because it's coverage is only 20%(e.g. resourceresolver coverage is 70%) Both engine and resourceresolver