[jira] [Assigned] (SLING-3713) VanityPathTest testRedirectOnPathWithExtension fails: Expecting temporary redirect expected:302 but was:404

2014-07-01 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso reassigned SLING-3713: Assignee: Antonio Sanso VanityPathTest testRedirectOnPathWithExtension fails: Expecting

Re: [VOTE] Release Apache Sling IDE Tooling 1.0.0

2014-07-01 Thread Carsten Ziegeler
Thanks for redoing, Robert. +1 Carsten 2014-07-01 2:01 GMT+02:00 Justin Edelson jus...@justinedelson.com: +1 On Mon, Jun 30, 2014 at 12:14 PM, Robert Munteanu rob...@lmn.ro wrote: I think I've gotten the right Maven/Tycho incantations set up and deployed the 1.0.0 artifacts to

[jira] [Created] (SLING-3719) MapEntries-updateTargetPaths holds incorrect information in case of exception while creating a MapEntry

2014-07-01 Thread Antonio Sanso (JIRA)
Antonio Sanso created SLING-3719: Summary: MapEntries-updateTargetPaths holds incorrect information in case of exception while creating a MapEntry Key: SLING-3719 URL:

[jira] [Resolved] (SLING-3719) MapEntries-updateTargetPaths holds incorrect information in case of exception while creating a MapEntry

2014-07-01 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso resolved SLING-3719. -- Resolution: Fixed Fix Version/s: Resource Resolver 1.1.2 added unit test and fix in

adaptTo and results ....

2014-07-01 Thread Felix Meschberger
Hi There currently are two issues floating around dealing with the question of returning more information than just null from the Adaptable.adaptTo(Class) method: https://issues.apache.org/jira/browse/SLING-3714 and https://issues.apache.org/jira/browse/SLING-3709. I think these requests

Re: adaptTo and results ....

2014-07-01 Thread Bertrand Delacretaz
Hi, On Tue, Jul 1, 2014 at 9:07 AM, Felix Meschberger fmesc...@adobe.com wrote: ..there are options available... Just a wild idea, how about this: Foo f = someObject.adaptTo(RequireAdapter.for(Foo.class)); which could be handled by the AdapterManagerImpl, by wrapping whatever adapter it

Re: adaptTo and results ....

2014-07-01 Thread Bertrand Delacretaz
On Tue, Jul 1, 2014 at 9:41 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: ...how about this: Foo f = someObject.adaptTo(RequireAdapter.for(Foo.class)); Actually, rereading SLING-3714, this can be made simpler with generics Foo f = someObject.adaptTo(RequireAdapterFoo.class));

Re: adaptTo and results ....

2014-07-01 Thread Konrad Windszus
Regarding 1) Having such a Result class would mean that all consumer would need to unwrap the exception first. So instead of being forced of implementing a null-check (as with the old solution) one would need to implement another check. I want to prevent such a burden to the consumers.

Build failed in Jenkins: sling-contrib-1.6 » Apache Sling Replication Integration Tests #1161

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.replication.it/1161/ -- [INFO] [INFO]

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-contrib-1.6/1161/changes Changes: [olli] SLING-3027 use latest release (Sling Service User Mapper) -- [...truncated 2924 lines...] [INFO] Copying jackrabbit-jcr-commons-2.7.2.jar to

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.models.integration-tests/2240/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/changes

[jira] [Updated] (SLING-3720) Make Crankstart launcher add path to its JAR as a system property

2014-07-01 Thread Artyom Stetsenko (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Artyom Stetsenko updated SLING-3720: Description: Crankstart launcher should determine the path to its JAR and add it as a

[jira] [Updated] (SLING-3720) Make Crankstart launcher add path to its JAR as a system property

2014-07-01 Thread Artyom Stetsenko (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Artyom Stetsenko updated SLING-3720: Attachment: crankstart.jar.path.patch Attached patch that adds {{crankstart.jar.path}}

[jira] [Created] (SLING-3720) Make Crankstart launcher add path to its JAR as a system property

2014-07-01 Thread Artyom Stetsenko (JIRA)
Artyom Stetsenko created SLING-3720: --- Summary: Make Crankstart launcher add path to its JAR as a system property Key: SLING-3720 URL: https://issues.apache.org/jira/browse/SLING-3720 Project: Sling

Re: adaptTo and results ....

2014-07-01 Thread Carsten Ziegeler
Adding a new interface would require us to implement it all over the place and as Felix points out, client code would always need to check whether the new interface is implemented or not Having to methods, like hasAdapter and adaptOrThrow does not work very well as between the two calls things

[jira] [Resolved] (SLING-3720) Make Crankstart launcher add path to its JAR as a system property

2014-07-01 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-3720. Resolution: Fixed Assignee: Bertrand Delacretaz Patch applied in revision

Re: adaptTo and results ....

2014-07-01 Thread Jeff Young
adaptTo() is currently commonly used as a test, similar to instanceof. Throwing and catching to return null is a very poor implementation (performance-wise) for this use. Adding a hasAdapter() or canAdaptTo() might decrease the number of implementations that think throwing is OK, but only if the

Re: adaptTo and results ....

2014-07-01 Thread Konrad Windszus
It is not (only) about throwing exceptions in case no suitable adapter is available. It rather is about the fact, that today the adaptTo is a barrier for all kinds of exceptions. In some cases the adaptation fails for a specific reason (one example is Sling Models where injection fails, another

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/614/

Re: adaptTo and results ....

2014-07-01 Thread Carsten Ziegeler
adaption and validation are different concerns Carsten 2014-07-01 10:55 GMT+02:00 Jeff Young j...@adobe.com: We could solve that by defining a specific exception for adaptation-not-possible and then catch only that. Of course that would leak tons of exceptions from code written before that

[jira] [Reopened] (SLING-3505) Improve handling of updates to mapping (alias, vanity path)

2014-07-01 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reopened SLING-3505: - Reopening due to reported NPE Improve handling of updates to mapping (alias, vanity path)

Re: adaptTo and results ....

2014-07-01 Thread Jeff Young
Hi Carsten, Can you say more? (I'm not sure I understand what you're getting at) Thanks, Jeff. On 01/07/2014 09:56, Carsten Ziegeler cziege...@apache.org wrote: adaption and validation are different concerns Carsten 2014-07-01 10:55 GMT+02:00 Jeff Young j...@adobe.com: We could

[jira] [Commented] (SLING-3505) Improve handling of updates to mapping (alias, vanity path)

2014-07-01 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14048668#comment-14048668 ] Antonio Sanso commented on SLING-3505: -- [~cziegeler] which NPE ? I fyou mean

[jira] [Comment Edited] (SLING-3505) Improve handling of updates to mapping (alias, vanity path)

2014-07-01 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14048668#comment-14048668 ] Antonio Sanso edited comment on SLING-3505 at 7/1/14 9:13 AM: --

Re: adaptTo and results ....

2014-07-01 Thread Carsten Ziegeler
Sure :) For the adapter pattern, the client does not care why the adaption failed, the client is just interested in the result (success or not) Validation is a different beast, if validation fails you want to know specific reasons why it failed - and this can be multiple. I tried to explain in my

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing/2241/

Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Event Support #2241

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.event/2241/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.testing.samples.integrationtests/2241/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/changes

[jira] [Resolved] (SLING-3505) Improve handling of updates to mapping (alias, vanity path)

2014-07-01 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-3505. - Resolution: Fixed Ah, SLING-3706 wasn't mentioned in the comment above. So everything is

Re: [event] JobManager.findJobs question

2014-07-01 Thread Carsten Ziegeler
Hi Tommaso, could you please open an issue for this? Thanks Carsten 2014-06-17 9:30 GMT+02:00 Stefan Egli stefane...@apache.org: Hi Tommaso, That sounds indeed odd. From a code point of view both should be equivalent, as findJobs checks for ( templates != null templates.length 0 ) - so

[jira] [Updated] (SLING-3716) Sling Models: Add support for constructor dependency injection

2014-07-01 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Seifert updated SLING-3716: -- Attachment: 140701_SLING-3716_slingmodes_constructorinjection.patch attached is a patch for

Jenkins build is back to normal : sling-contrib-1.6 » Apache Sling Replication Integration Tests #1162

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.replication.it/1162/

[jira] [Updated] (SLING-3716) Sling Models: Add support for constructor dependency injection

2014-07-01 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Seifert updated SLING-3716: -- Attachment: 140701_SLING-3716_slingmodes_constructorinjection.patch updated the patch, it

[jira] [Updated] (SLING-3716) Sling Models: Add support for constructor dependency injection

2014-07-01 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Seifert updated SLING-3716: -- Attachment: (was: 140701_SLING-3716_slingmodes_constructorinjection.patch) Sling Models:

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/615/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/changes

Re: [VOTE] Release Apache Sling IDE Tooling 1.0.0

2014-07-01 Thread Stefan Egli
+1 (verified md5 sha1 using the check_staged_release.sh) Cheers, Stefan On 7/1/14 8:34 AM, Carsten Ziegeler cziege...@apache.org wrote: Thanks for redoing, Robert. +1 Carsten 2014-07-01 2:01 GMT+02:00 Justin Edelson jus...@justinedelson.com: +1 On Mon, Jun 30, 2014 at 12:14 PM, Robert

Re: adaptTo and results ....

2014-07-01 Thread Konrad Windszus
I like that approach. It is backwards-compatible and allows the developers to decide whether they want to check for null or to rely on exceptions. The AdapterManagerImpl indeed would need to deal with such a parametrisation and in addition the javadocs would need to be adjusted to make it clear

RE: adaptTo and results ....

2014-07-01 Thread Stefan Seifert
Foo f = someObject.adaptTo(RequireAdapterFoo.class)); this would still require an unwrapping of the object out of the RequireAdapterFoo instance. Foo f = someObject.adaptTo(RequireAdapter.for(Foo.class)); this looks interesting, and does not need unwrapping if the return value is the input

Re: adaptTo and results ....

2014-07-01 Thread Jeff Young
Hi Carsten, Sure, but Konrad has a point in that I think sometimes the client *does* care why the adaption failed. For instance, if it had to do with something entirely different from whether or not adaption would normally work. Let's say that I have a resource that should adapt to XYZ, but

Re: adaptTo and results ....

2014-07-01 Thread Konrad Windszus
On 01 Jul 2014, at 12:05, Stefan Seifert sseif...@pro-vision.de wrote: Foo f = someObject.adaptTo(RequireAdapterFoo.class)); this would still require an unwrapping of the object out of the RequireAdapterFoo instance. In my regard there is an instanceof RequireAdapter check within the

Re: adaptTo and results ....

2014-07-01 Thread Carsten Ziegeler
So if your adapter is buggy and you get an exception, what do you do with it? Carsten 2014-07-01 12:08 GMT+02:00 Jeff Young j...@adobe.com: Hi Carsten, Sure, but Konrad has a point in that I think sometimes the client *does* care why the adaption failed. For instance, if it had to do with

RE: adaptTo and results ....

2014-07-01 Thread Stefan Seifert
example: usecase like here https://issues.apache.org/jira/browse/SLING-3714?focusedCommentId=14048040#comment-14048040 the caller code expects that the adaption is always successful if everything works correct - if not it is an application error which should be propagated through error handling

Re: adaptTo and results ....

2014-07-01 Thread Carsten Ziegeler
Yes, but right now you would get an NPE accessing the object - so you already have a runtime exception and don't need to check for null (I'm not arguing that this is a good way, I'm just trying to avoid heavy changes). And we could change the adapter manager/factory implemntation to log the

Re: adaptTo and results ....

2014-07-01 Thread Konrad Windszus
I just fix it in the code ;-). Those exceptions should only happen during runtime (due to some false assumptions). For the same reasons methods do throw IllegalArgumentExceptions in case a given parameter is null

RE: adaptTo and results ....

2014-07-01 Thread Stefan Seifert
the NPE would swallow all maybe usefull excpetion information, that might be contained in the root cause of the exception throws by a method like adaptToOrThrow method. always logging the exception internally by the adapter manager has the drawback that the application might not be interested

Re: adaptTo and results ....

2014-07-01 Thread Stefan Egli
I like the idea too, but I guess it's merely a question of taste as to which of the following two options is nicer: * Foo f = someObject.adaptTo(RequireAdapterFoo.class)); * Foo f = someObject.adaptToUnchecked(Foo.class); Cheers, Stefan On 7/1/14 11:57 AM, Konrad Windszus konra...@gmx.de

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.testing.samples.integrationtests/2242/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.event/2242/

Re: adaptTo and results ....

2014-07-01 Thread Bertrand Delacretaz
On Tue, Jul 1, 2014 at 12:38 PM, Stefan Egli stefane...@apache.org wrote: I like the idea too, but I guess it's merely a question of taste as to which of the following two options is nicer: * Foo f = someObject.adaptTo(RequireAdapterFoo.class)); * Foo f =

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing/2242/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/changes

Re: adaptTo and results ....

2014-07-01 Thread Carsten Ziegeler
Ok, this would solve the throw if adaption is not possible case, what about the validation use case? Carsten 2014-07-01 12:50 GMT+02:00 Bertrand Delacretaz bdelacre...@apache.org: On Tue, Jul 1, 2014 at 12:38 PM, Stefan Egli stefane...@apache.org wrote: I like the idea too, but I guess

[jira] [Commented] (SLING-3618) Unable to create node at /var/discovery error in sling trunk

2014-07-01 Thread Stefan Egli (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14048770#comment-14048770 ] Stefan Egli commented on SLING-3618: bq. no matching child node definition found for

Re: adaptTo and results ....

2014-07-01 Thread Konrad Windszus
That would be solved by just stating that RuntimeExceptions are allowed as alternative to returning null for all AdapterFactories (i.e. no API change necessary) and making sure that those exceptions are either being caught within the AdapterManagerImpl or just propagated to the caller. On 01

Re: adaptTo and results ....

2014-07-01 Thread Jeff Young
Well, for one thing, display it in the Developer Mode console (or whatever other debugging UIs my app happens to have). Jeff. On 01/07/2014 11:14, Carsten Ziegeler cziege...@apache.org wrote: So if your adapter is buggy and you get an exception, what do you do with it? Carsten 2014-07-01

[jira] [Commented] (SLING-3714) Allow for a caller to request a non-null response from adaptTo()

2014-07-01 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14048780#comment-14048780 ] Konrad Windszus commented on SLING-3714: Idea from [~bdelacretaz]: Don't change

[jira] [Comment Edited] (SLING-3714) Allow for a caller to request a non-null response from adaptTo()

2014-07-01 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14048780#comment-14048780 ] Konrad Windszus edited comment on SLING-3714 at 7/1/14 11:51 AM:

Build failed in Jenkins: sling-contrib-1.6 » Apache Sling Replication Integration Tests #1163

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-contrib-1.6/org.apache.sling$org.apache.sling.replication.it/1163/ -- [INFO] [INFO]

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-contrib-1.6/1163/changes Changes: [bdelacretaz] Fix registration of multiple resources via the Sling installer -- [...truncated 2945 lines...] [INFO] Copying jackrabbit-jcr-commons-2.7.2.jar to

Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Event Support #2243

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.event/2243/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.testing.samples.integrationtests/2243/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing/2243/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/changes

Jenkins build became unstable: sling-trunk-1.6 » Apache Sling Models Integration Tests #2243

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.models.integration-tests/2243/

Re: [VOTE] Release Apache Sling IDE Tooling 1.0.0

2014-07-01 Thread Daniel Klco
+1 On Tue, Jul 1, 2014 at 5:55 AM, Stefan Egli stefane...@apache.org wrote: +1 (verified md5 sha1 using the check_staged_release.sh) Cheers, Stefan On 7/1/14 8:34 AM, Carsten Ziegeler cziege...@apache.org wrote: Thanks for redoing, Robert. +1 Carsten 2014-07-01 2:01

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/616/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/changes

[RESULT][VOTE] Release Apache Sling IDE Tooling 1.0.0

2014-07-01 Thread Robert Munteanu
Hi, The vote has passed with the following result : +1 (binding): Robert Munteanu, Justin Edelson, Carsten Ziegler, Stefan Egli, Daniel Klco I will copy this release to the Sling dist directory and promote the artifacts to the central Maven repository. Robert

Re: [VOTE] Release Apache Sling Models API 1.0.2 Implementation 1.0.6

2014-07-01 Thread Justin Edelson
Need one more binding vote On Friday, June 27, 2014, Stefan Seifert sseif...@pro-vision.de wrote: +1 (non-binding) p.s. integration tests are running fine on my machine -Original Message- From: justinedel...@gmail.com javascript:; [mailto: justinedel...@gmail.com

[jira] [Updated] (SLING-3718) Sling Models: Add self Injector for supporting chains of object injecting dependencies from a common source

2014-07-01 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Seifert updated SLING-3718: -- Attachment: 140701_SLING-3716_slingmodes_constructorinjection_SLING-3718_selfinjector.patch

[jira] [Commented] (SLING-3716) Sling Models: Add support for constructor dependency injection

2014-07-01 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14048841#comment-14048841 ] Stefan Seifert commented on SLING-3716: --- please note: SLING-3718 contains an updated

[jira] [Comment Edited] (SLING-3718) Sling Models: Add self Injector for supporting chains of object injecting dependencies from a common source

2014-07-01 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14048840#comment-14048840 ] Stefan Seifert edited comment on SLING-3718 at 7/1/14 1:15 PM:

Re: SLING-3667 - SlingQuery contribution

2014-07-01 Thread Robert Munteanu
Anyone? On Sun, Jun 22, 2014 at 10:19 PM, Robert Munteanu romb...@apache.org wrote: Hi, In SLING-3667 [1] Tomek Rękawek was kind enough to submit the SlingQuery library to the Sling project. I am not certain whether this contribution needs to go through the extra process described at [2]

Re: [cms] Updating the downloads section for the IDE Tooling

2014-07-01 Thread Bertrand Delacretaz
On Tue, Jul 1, 2014 at 3:14 PM, Robert Munteanu romb...@apache.org wrote: ...Does anyone know how to debug this?... You'd have to install the CMS locally AFAIK...someone should really create a Vagrant box for that but ENOTIME. In the meantime I think I fixed it in http://svn.apache.org/r1607079

Re: [cms] Updating the downloads section for the IDE Tooling

2014-07-01 Thread Robert Munteanu
On Tue, Jul 1, 2014 at 4:56 PM, Bertrand Delacretaz bdelacre...@apache.org wrote: On Tue, Jul 1, 2014 at 3:14 PM, Robert Munteanu romb...@apache.org wrote: ...Does anyone know how to debug this?... You'd have to install the CMS locally AFAIK...someone should really create a Vagrant box for

[jira] [Comment Edited] (SLING-3685) Document and further automate the IDE tooling release process

2014-07-01 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14040663#comment-14040663 ] Robert Munteanu edited comment on SLING-3685 at 7/1/14 2:42 PM:

[jira] [Comment Edited] (SLING-3685) Document and further automate the IDE tooling release process

2014-07-01 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14040663#comment-14040663 ] Robert Munteanu edited comment on SLING-3685 at 7/1/14 2:44 PM:

Re: adaptTo and results ....

2014-07-01 Thread Konrad Windszus
I quickly tried to implement a POC, but due to type erasure the interface is not as simple as just putting RequireAdapterFoo.class I found the following reference: http://gafter.blogspot.de/2006/12/super-type-tokens.html and tried to implement something like that but could not get it to work in

Re: adaptTo and results ....

2014-07-01 Thread Felix Meschberger
Hi Am 01.07.2014 um 09:44 schrieb Bertrand Delacretaz bdelacre...@apache.org: On Tue, Jul 1, 2014 at 9:41 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: ...how about this: Foo f = someObject.adaptTo(RequireAdapter.for(Foo.class)); Actually, rereading SLING-3714, this can be made

[jira] [Created] (SLING-3721) Crankstart does not stop the framework gracefully on exit

2014-07-01 Thread Artyom Stetsenko (JIRA)
Artyom Stetsenko created SLING-3721: --- Summary: Crankstart does not stop the framework gracefully on exit Key: SLING-3721 URL: https://issues.apache.org/jira/browse/SLING-3721 Project: Sling

[jira] [Updated] (SLING-3721) Crankstart does not stop the framework gracefully on exit

2014-07-01 Thread Artyom Stetsenko (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Artyom Stetsenko updated SLING-3721: Attachment: frameworkShutdown.patch Attached patch which adds a shutdown hook to the JVM,

[jira] [Created] (SLING-3722) Add metatype information for source and target vm version

2014-07-01 Thread Carsten Ziegeler (JIRA)
Carsten Ziegeler created SLING-3722: --- Summary: Add metatype information for source and target vm version Key: SLING-3722 URL: https://issues.apache.org/jira/browse/SLING-3722 Project: Sling

[jira] [Resolved] (SLING-3722) Add metatype information for source and target vm version

2014-07-01 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-3722. - Resolution: Fixed Added in rev 1607118 The default value is empty (for compatibility)

[jira] [Created] (SLING-3723) MapEntries-resolveMapsMap holds incorrect information in case of vanityPath removal

2014-07-01 Thread Antonio Sanso (JIRA)
Antonio Sanso created SLING-3723: Summary: MapEntries-resolveMapsMap holds incorrect information in case of vanityPath removal Key: SLING-3723 URL: https://issues.apache.org/jira/browse/SLING-3723

[jira] [Resolved] (SLING-3723) MapEntries-resolveMapsMap holds incorrect information in case of vanityPath removal

2014-07-01 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso resolved SLING-3723. -- Resolution: Fixed Fix Version/s: Resource Resolver 1.1.2 added test case and fix in

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.launchpad.testing/617/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.7/changes

[jira] [Created] (SLING-3724) Provide option to always use current vm version for source and target

2014-07-01 Thread Carsten Ziegeler (JIRA)
Carsten Ziegeler created SLING-3724: --- Summary: Provide option to always use current vm version for source and target Key: SLING-3724 URL: https://issues.apache.org/jira/browse/SLING-3724 Project:

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.models.integration-tests/2244/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.launchpad.testing/2244/

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/changes

[jira] [Resolved] (SLING-3724) Provide option to always use current vm version for source and target

2014-07-01 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-3724. - Resolution: Fixed If the value auto is specified as the version, the current vm version

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

2014-07-01 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.testing.samples.integrationtests/2244/

[jira] [Updated] (SLING-3724) Provide option to always use current vm version for source and target

2014-07-01 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-3724: Fix Version/s: Scripting Java 2.0.8 Provide option to always use current vm version for

Re: [VOTE] Release Apache Sling Installer Core 3.5.2 and Installer Configuration Factoy 1.0.14

2014-07-01 Thread Carsten Ziegeler
It seems we're still missing a vote on this pretty old vote thread... Carsten 2014-06-04 9:30 GMT+02:00 Carsten Ziegeler cziege...@apache.org: +1 Carsten 2014-06-04 8:13 GMT+02:00 Ian Boston i...@tfd.co.uk: +1 Signatures checked. Ian On 4 June 2014 07:06, Carsten Ziegeler

Re: [VOTE] Release Apache Sling Installer Core 3.5.2 and Installer Configuration Factoy 1.0.14

2014-07-01 Thread Justin Edelson
+1 On Tue, Jul 1, 2014 at 12:05 PM, Carsten Ziegeler cziege...@apache.org wrote: It seems we're still missing a vote on this pretty old vote thread... Carsten 2014-06-04 9:30 GMT+02:00 Carsten Ziegeler cziege...@apache.org: +1 Carsten 2014-06-04 8:13 GMT+02:00 Ian Boston

[jira] [Commented] (SLING-3724) Provide option to always use current vm version for source and target

2014-07-01 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14049008#comment-14049008 ] Carsten Ziegeler commented on SLING-3724: - Also implemented for scripting java

  1   2   >