content-package-maven-plugin and tooling around it

2013-10-29 Thread Konrad Windszus
Hi, unfortunately right now Sling only supports OSGi bundles as a deployable artifacts (however, the bundles might be extended by JCR content with the help of [0]). On the other hand there is already the content-package-maven-plugin from Adobe [1], which wraps parts of a JCR repository into a

Re: Disabling our jenkins builds?

2013-12-11 Thread Konrad Windszus
Yes, disabling those jobs for now is a good idea. Could someone add links to the buildbot to http://sling.apache.org/project-information.html#continuous-integration? Thanks, Konrad On 11 Dec 2013, at 10:02, Carsten Ziegeler cziege...@apache.org wrote: +1 for disabling 2013/12/11 Bertrand

Re: [RFC] YAMF - Yet Another Model Factory

2013-12-19 Thread Konrad Windszus
HI Justin, thank a lot for that. I am assuming a lot of developers were waiting for just that. Could you extend the wiki page with an example on how the model bean should then be used from within the view (i.e. the JSP) and also some words about the scope of one instance? One very good addition

Re: [RFC] YAMF - Yet Another Model Factory

2013-12-19 Thread Konrad Windszus
regard the annotations Optional and Default should not be combined. Regards, Konrad Am 19.12.2013 um 22:33 schrieb Justin Edelson jus...@justinedelson.com: Hi Konrad, Defaults have been implemented. Check the wiki. Regards, Justin On Thu, Dec 19, 2013 at 12:21 PM, Konrad Windszus konra

Re: [RFC] YAMF - Yet Another Model Factory

2013-12-20 Thread Konrad Windszus
Hi Justin, another useful feature just came to my mind (in fact we are using it in our own annotation framework) which is composition. Would it be much effort to allow injecting one model into another? We do have the following usecase for that (although this is CQ, I guess there is a similar

Re: [RFC] YAMF - Yet Another Model Factory

2013-12-20 Thread Konrad Windszus
, Konrad Windszus konra...@gmx.de wrote: Hi Justin, another useful feature just came to my mind (in fact we are using it in our own annotation framework) which is composition. Would it be much effort to allow injecting one model into another? We do have the following usecase for that (although

Re: [RFC] YAMF - Yet Another Model Factory

2014-01-07 Thread Konrad Windszus
object natively which could then be adapted to the ImageModel class. Justin On Fri, Dec 20, 2013 at 8:08 AM, Konrad Windszus konra...@gmx.de wrote: Hi Justin, let me give a concrete example where switching resource nodes is actually useful: I do have a composition model of two image

Impact of having a lot of short-living session objects

2014-01-10 Thread Konrad Windszus
In SLING-3285 there was an issue reported and supposably fixed related to many short-living sessions. I want to discuss here what the real problem is related to having so many short-living sessions The open questions are: 1) Is creating a short-living session expensive? 2) Are closed sessions a

Re: [RFC] YAMF - Yet Another Model Factory

2014-01-10 Thread Konrad Windszus
to the ImageModel class. Justin On Fri, Dec 20, 2013 at 8:08 AM, Konrad Windszus konra...@gmx.de wrote: Hi Justin, let me give a concrete example where switching resource nodes is actually useful: I do have a composition model of two image models (i.e. the same class). Obviously

Performance and stability of Sling Models

2014-03-17 Thread Konrad Windszus
Hi, I am a little bit worried that model classes which leverage the Sling Models annotations might be slow and break fast. If you use the annotation @Inject without @Source all injectors are asked until one returns a value. Since almost all injectors depend on the fieldname and cover the same

Re: Performance and stability of Sling Models

2014-03-18 Thread Konrad Windszus
the injector *should* require @Source or some other annotation to explicitly include the injector. If you want to introduce a strict mode which requires @Source, feel free to submit a patch. But I don't think this makes sense as the default. Regards, Justin On Mon, Mar 17, 2014 at 1:24 PM, Konrad

Re: Performance and stability of Sling Models

2014-03-18 Thread Konrad Windszus
AM, Konrad Windszus konra...@gmx.de wrote: Hi Justin, thanks for your answer. What about if I come up with a patch for additional annotations like @InjectSlingValue and @InjectOsgiService which are just another way of annotating fields/methods and combine logically both the Inject

Re: Performance and stability of Sling Models

2014-03-20 Thread Konrad Windszus
you submit, please just ensure there are tests included. Regards, Justin On Tue, Mar 18, 2014 at 10:54 AM, Konrad Windszus konra...@gmx.de wrote: Hi Justin, thanks for your answer. What about if I come up with a patch for additional annotations like @InjectSlingValue

Status Sling IDE Tooling

2014-03-31 Thread Konrad Windszus
Hi everyone, what is the status around the Sling IDE Tooling [0]? There was no commit for a pretty long time there [2]. At the adaptTo 2013 there was a roadmap presented [1], but nothing happened basically in the last 5 months. Could you give a short update on that? Thanks, Konrad [0] -

Re: Status Sling IDE Tooling

2014-03-31 Thread Konrad Windszus
...@lmn.ro wrote: Hi Konrad, On Mon, Mar 31, 2014 at 12:59 PM, Konrad Windszus konra...@gmx.de wrote: Hi everyone, what is the status around the Sling IDE Tooling [0]? There was no commit for a pretty long time there [2]. At the adaptTo 2013 there was a roadmap presented [1], but nothing happened

Re: Performance and stability of Sling Models

2014-04-17 Thread Konrad Windszus
dependencies on these new annotations in the core AdaptorFactory. Someone else will need to implement their own annotations to imply @Inject @Source(my-custom-source) with @MyCustomSource Regards, Justin On Tue, Mar 18, 2014 at 11:55 AM, Konrad Windszus konra...@gmx.de wrote: Hi Justin, great

Re: TagExtraInfo for sling:adaptTo/ tag

2014-04-23 Thread Konrad Windszus
I definitely agree here. Including the TEI is almost no risk but it helps a lot during development (at least with IntelliJ, because Eclipse still lacks decent EL code completion support) On 23 Apr 2014, at 16:52, Julian Sedding jsedd...@gmail.com wrote: Hi all It would be great to get the

Re: content-package-maven-plugin and tooling around it

2014-05-14 Thread Konrad Windszus
:42 AM, Robert Munteanu rob...@lmn.ro wrote: Hi Konrad, On Tue, Oct 29, 2013 at 2:34 PM, Konrad Windszus konra...@gmx.de wrote: Hi, unfortunately right now Sling only supports OSGi bundles as a deployable artifacts (however, the bundles might be extended by JCR content with the help of [0

Re: Silng Models Validation Framework

2014-05-20 Thread Konrad Windszus
The problem with connecting something like that with Sling Models is the way the adaptTo method was specified. It is supposed to return null and never throw an exception. So all exceptions being caused by e.g. validation errors must be caught within Sling Models. Currently I don’t see any way

Re: Git mirror issues

2014-05-28 Thread Konrad Windszus
I opened ticket https://issues.apache.org/jira/browse/INFRA-7828 for that. Am 28.05.2014 um 12:07 schrieb Robert Munteanu rob...@lmn.ro: Hi Konrad, On Wed, May 28, 2014 at 12:41 PM, Konrad Windszus konra...@gmx.de wrote: Currently the GIT read-only mirror at git://git.apache.org/sling.git

Release of Sling Models

2014-06-16 Thread Konrad Windszus
Hi everyone, what about a new release of Sling Models? Two issues were fixed (although https://issues.apache.org/jira/browse/SLING-3510 does not have the fix version set yet) and another improvement was made. No further open issues are reported. WDYT? Thanks, Konrad

Re: [VOTE] Release Apache Sling IDE Tooling 1.0.0

2014-06-23 Thread Konrad Windszus
I just tested it and get the following exception when trying to export or import content via Right click “Sling - Export Content” on a content project which was already added as a module to the Sling Server: The selected project is not configured with/added to any Sling server. Do you want me

Re: [VOTE] Release Apache Sling IDE Tooling 1.0.0

2014-06-23 Thread Konrad Windszus
On 23 Jun 2014, at 14:25, Robert Munteanu romb...@apache.org wrote: On Mon, Jun 23, 2014 at 3:19 PM, Konrad Windszus konra...@gmx.de wrote: I just tested it and get the following exception when trying to export or import content via Right click “Sling - Export Content” on a content project

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.

Re: adaptTo and results ....

2014-07-01 Thread Konrad Windszus
cases where the client code explicitely wants to catch the exception and then do something depending on the exception. Maybe we should just add something for this explicit use case instead of bloating the general adaptTo mechanism? Regards Carsten 2014-07-01 9:44 GMT+02:00 Konrad

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 Konrad Windszus
Message- From: Konrad Windszus [mailto:konra...@gmx.de] Sent: Tuesday, July 01, 2014 11:58 AM To: dev@sling.apache.org Cc: Bertrand Delacretaz Subject: Re: adaptTo and results I like that approach. It is backwards-compatible and allows the developers to decide whether they want

Re: adaptTo and results ....

2014-07-01 Thread Konrad Windszus
leak tons of exceptions from code written before that exception became available. Maybe do the catching based on some sort of version clue? Cheers, Jeff. On 01/07/2014 09:40, Konrad Windszus konra...@gmx.de wrote: It is not (only) about throwing exceptions in case no suitable adapter

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 Konrad Windszus
in a simple fashion. @Bertrand: Do you have an example in mind on how to get the wrapped type of RequireAdapter? Thanks, Konrad On 01 Jul 2014, at 12:09, Konrad Windszus konra...@gmx.de wrote: On 01 Jul 2014, at 12:05, Stefan Seifert sseif...@pro-vision.de wrote: Foo f = someObject.adaptTo

Re: adaptTo and results ....

2014-07-03 Thread Konrad Windszus
On 03 Jul 2014, at 10:50, Alexander Klimetschek aklim...@adobe.com wrote: I guess it would make sense to have adapterfactories et. al. to work like this: a) if it is not of the desired type, i.e. cannot semantically be adapted, return null b) if it fails due to some actual exception,

Re: adaptTo and results ....

2014-07-07 Thread Konrad Windszus
Provide a meaningful error message to the author or at least to the developer (leveraging the WCMDeveloperMode). By meaningful I don’t talk about something hidden within the logs. Konrad On 07 Jul 2014, at 18:27, Carsten Ziegeler cziege...@apache.org wrote: 2014-07-07 18:14 GMT+02:00 Justin

Sling IDE Tooling P2-Update-Site URL

2014-07-08 Thread Konrad Windszus
Currently the update site for Eclipse is deployed at Apache-Mirror-Prefix//sling/eclipse/1.0.0. If installing from there, one would never get notified about updates, because that Update Site will always only contain 1.0.0. Once there is a new version a new Update Site will be deployed at a

Re: adaptTo and results ....

2014-07-28 Thread Konrad Windszus
://docs.adobe.com/docs/en/aem/6-0/develop/sightly/use-api-in-java.html#Alternatives%20to%20WCMUse On 07 Jul 2014, at 18:42, Carsten Ziegeler cziege...@apache.org wrote: 2014-07-07 18:29 GMT+02:00 Konrad Windszus konra...@gmx.de: Provide a meaningful error message to the author or at least

Re: adaptTo and results ....

2014-07-28 Thread Konrad Windszus
there would be no way for the caller (i.e. your Sightly script) to indicate that such an exception should be thrown. Regards, Justin On Mon, Jul 28, 2014 at 11:44 AM, Konrad Windszus konra...@gmx.de wrote: I just came up with another example from CQ: In Sightly you can instantiate a model

Sling Models: Clarification around Type Conversions

2014-08-07 Thread Konrad Windszus
Currently in Sling Models we do have support for four different kind of type conversions a) from primitive to wrapper and vice-versa (also within arrays), e.g. Integer to int b) from single item to one item collection (both List and Collection), e.g. ListInteger to Integer c) from Adaptable to

Re: Sling Models: Clarification around Type Conversions

2014-08-07 Thread Konrad Windszus
Hi Justin, I listed the places down below. Do you agree with the other points raised? On 07 Aug 2014, at 22:05, Justin Edelson jus...@justinedelson.com wrote: Hi Konrad, Where are (a) and (b) implemented in the ModelAdapterFactory for fields? Justin On Thu, Aug 7, 2014 at 1:30 PM, Konrad

Re: [jira] [Resolved] (SLING-4010) Allow validator to set a custom failure message

2014-10-08 Thread Konrad Windszus
--- Key: SLING-4010 URL: https://issues.apache.org/jira/browse/SLING-4010 Project: Sling Issue Type: Improvement Components: Extensions Reporter: Konrad Windszus Assignee: Bertrand Delacretaz Labels

Re: [ANN] New Apache Sling Committers: Konrad Windszus and Julian Sedding

2014-11-12 Thread Konrad Windszus
://www.netcentric.biz http://www.netcentric.biz/) On 12 Nov 2014, at 15:01, Carsten Ziegeler cziege...@apache.org wrote: Hi it's my pleasure to announce that the Apache Sling PMC has invited Konrad Windszus and Julian Sedding as new Sling committers...and I'm very happy that both accepted. Please join me

Validation Documentation

2014-11-24 Thread Konrad Windszus
There is currently no documentation at all on the Sling Validation stuff (https://issues.apache.org/jira/browse/SLING-2803 https://issues.apache.org/jira/browse/SLING-2803). Previously there was a readme.md describing the node structure of validation nodes at

Re: [website] don't expect control on the staging process/timing

2014-11-24 Thread Konrad Windszus
bdelacre...@apache.org wrote: Hi, On Mon, Nov 24, 2014 at 11:42 AM, Konrad Windszus (JIRA) j...@apache.org wrote: ...I just pushed an initial documentation with rev 1641359. [~radu.cotescu] Can you please review at http://sling.staging.apache.org/documentation/bundles/validation.html

Re: Validation Documentation

2014-11-24 Thread Konrad Windszus
I published an initial draft of the documentation to http://sling.apache.org/documentation/bundles/validation.html http://sling.apache.org/documentation/bundles/validation.html. It would be great if someone else could have a look at that. Thanks, Konrad On 24 Nov 2014, at 09:50, Konrad

Debugging Sling Models IT

2014-12-05 Thread Konrad Windszus
HI, I need some help with resolving failures in the models.integration-tests module (don’t worry, those only fail for me due to some local changes). I tried to run the integration-tests with mvn install with the option keepJarRunningtrue/keepJarRunning (set inside the pom.xml) and to start the

Re: Debugging Sling Models IT

2014-12-05 Thread Konrad Windszus
...@gmail.com wrote: Hi Konrad, On Dec 5, 2014 5:42 PM, Konrad Windszus konra...@gmx.de wrote: HI, I need some help with resolving failures in the models.integration-tests module (don’t worry, those only fail for me due to some local changes). I tried to run the integration-tests with mvn

Classloading issues with Sling Models IT

2014-12-07 Thread Konrad Windszus
I am experiencing a weird bug in Sling Models IT. It seems that both Models API 1.1.1-SNAPSHOT and Models Impl 1.1.1-SNAPSHOT are part of the Sling Launchpad 8-SNAPSHOT. If I now run the Sling Models IT and deploy my own versions of those bundles, the API bundle is replaced by the newer version

Re: Classloading issues with Sling Models IT

2014-12-07 Thread Konrad Windszus
2014, at 14:34, Konrad Windszus konra...@gmx.de wrote: I am experiencing a weird bug in Sling Models IT. It seems that both Models API 1.1.1-SNAPSHOT and Models Impl 1.1.1-SNAPSHOT are part of the Sling Launchpad 8-SNAPSHOT. If I now run the Sling Models IT and deploy my own versions of those

Re: Classloading issues with Sling Models IT

2014-12-07 Thread Konrad Windszus
Ok, that modification did not solve everything. With that change the integration tests are executed too fast (before the actual upgrade of the bundle took place). I guess the waitForBundlesInstalled method needs to be changed as well. On 07 Dec 2014, at 15:17, Konrad Windszus konra...@gmx.de

Re: Review Request 28758: @AdapterReference annotation prototype

2014-12-10 Thread Konrad Windszus
Does this already refer to a specific Sling issue? Was it an alternative solution for the problem listed in https://issues.apache.org/jira/browse/SLING-4217? https://issues.apache.org/jira/browse/SLING-4217? Sorry, I may have missed the point here. Thanks for any clarification, Konrad On 05

Whitespace handling in Sightly

2014-12-11 Thread Konrad Windszus
Hi, since JSP 2.1 it is possible to remove extra whitespace characters from the generated servlet by leveraging the trim-directive-whitespaces element on the page directive (JSP 2.1 Spec, $JSP.3.3.8). Does Sightly comes with something similar? One example which leads to unwanted empty lines is

Re: JSR305

2015-02-05 Thread Konrad Windszus
you have any other idea how to deal with that except for limiting oneself to only @CheckForNull and @NonNull? Thanks a lot for any input on that Konrad On 02 Feb 2015, at 09:10, Konrad Windszus konra...@gmx.de wrote: Indeed Eclipse supports configurable annotations. You can find

Sightly Integration Test execution fails for me

2015-02-19 Thread Konrad Windszus
I just tried to execute the Sightly Integration Tests and I get the following error: ... Tests run: 336, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.994 sec FAILURE! - in io.sightly.tck.TestsRunner String Expressions: String quotes and escaping -

Re: Sightly Integration Test execution fails for me

2015-02-19 Thread Konrad Windszus
, platform encoding: UTF-8 OS name: mac os x, version: 10.10.2, arch: x86_64, family: mac Is the encoding different on your box? Regards, Radu On Thu, Feb 19, 2015 at 4:13 AM, Konrad Windszus konra...@gmx.de wrote: I just tried to execute the Sightly Integration Tests and I get the following

Re: JSR305

2015-02-02 Thread Konrad Windszus
as well as Sling Models and Sling Validation. Thanks for your input. On 30 Jan 2015, at 13:59, Robert Munteanu rob...@lmn.ro wrote: On Fri, Jan 30, 2015 at 2:55 PM, Konrad Windszus konra...@gmx.de mailto:konra...@gmx.de wrote: The question for me is whether we should rely on the dormant standard

Re: JSR305

2015-02-05 Thread Konrad Windszus
On 05 Feb 2015, at 11:34, Tommaso Teofili tommaso.teof...@gmail.com wrote: 2015-02-05 9:59 GMT+01:00 Konrad Windszus konra...@gmx.de: I created https://issues.apache.org/jira/browse/SLING-4377 https://issues.apache.org/jira/browse/SLING-4377 to track that. But I just faced another problem

Re: Redirect to arbitrary host via the Sling Post Servlet

2015-03-03 Thread Konrad Windszus
Great, I provided a patch in https://issues.apache.org/jira/browse/SLING-4469 https://issues.apache.org/jira/browse/SLING-4469. Would you mind having a look at that? Thanks, Konrad On 03 Mar 2015, at 08:01, Antonio Sanso asa...@adobe.com wrote: hi Konrad On Mar 2, 2015, at 5:55 PM, Konrad

Re: Downloads page returning 500 Internal Server Error?

2015-03-02 Thread Konrad Windszus
Maybe that was me. I just noticed that the URL to the Sling IDE always contained two slashes (because the variable “preferred always ends with a slash). Therefore I changed in the downloads.html from pIf you want to install the convenience binaries for the IDE tooling, it's recommended that

Redirect to arbitrary host via the Sling Post Servlet

2015-03-02 Thread Konrad Windszus
Hi, in https://issues.apache.org/jira/browse/SLING-3141 https://issues.apache.org/jira/browse/SLING-3141 there was an issue fixed which made it possible to redirect from a Sling instance to another server with a forged GET-request (although there was a hop in the middle necessary which was

Re: [VOTE] Release Apache Sling API version 2.9.0

2015-02-23 Thread Konrad Windszus
Yes, my vote is non-binding. I will add that in the future whenever I vote. On 23 Feb 2015, at 11:17, Robert Munteanu romb...@apache.org wrote: On Feb 23, 2015 12:15 PM, Tomek Rękawek tomasz.reka...@cognifide.com wrote: On Mon, Feb 23, 2015 at 10:35 AM, Konrad Windszus konra...@gmx.de

Re: [VOTE] Release Apache Sling API version 2.9.0

2015-02-23 Thread Konrad Windszus
+1 Konrad On 20 Feb 2015, at 11:25, Robert Munteanu romb...@apache.org wrote: +1 Robert On Fri, Feb 20, 2015 at 12:09 PM, Robert Munteanu romb...@apache.org wrote: On Fri, Feb 20, 2015 at 12:04 PM, Tomek Rękawek tomasz.reka...@cognifide.com wrote: Hello Robert, On Fri, Feb 20,

Fwd: svn commit: r1662434 - in /sling/trunk/bundles/extensions/models/impl: pom.xml src/main/java/org/apache/sling/models/impl/sightly/ src/main/java/org/apache/sling/models/impl/sightly/ModelFactoryU

2015-02-26 Thread Konrad Windszus
/sling/models/impl/sightly/ModelFactoryUseProvider.java From: Konrad Windszus konra...@gmx.de Date: 26 Feb 2015 14:59:38 CET To: dev@sling.apache.org I just deployed Sightly SNAPSHOTs to the Apache Snapshots repository. The next build should not longer fail due to this. Regarding moving

Re: svn commit: r1662434 - in /sling/trunk/bundles/extensions/models/impl: pom.xml src/main/java/org/apache/sling/models/impl/sightly/ src/main/java/org/apache/sling/models/impl/sightly/ModelFactoryUs

2015-02-26 Thread Konrad Windszus
Hi Robert, yes, I just noticed that. Since this is an optional dependency I would rather argue that this should be fine. Can you for now push the sightly SNAPSHOT release since I am having difficulties to build that due to issue with the Company Maven repo? Once we do have a Sightly release

Re: svn commit: r1662434 - in /sling/trunk/bundles/extensions/models/impl: pom.xml src/main/java/org/apache/sling/models/impl/sightly/ src/main/java/org/apache/sling/models/impl/sightly/ModelFactoryUs

2015-02-26 Thread Konrad Windszus
bundle. Is it in general not allowed to have dependencies from the main build towards the contrib section? Are there any plans on moving Sightly to the main build? Thanks for your input on that, Konrad On 26 Feb 2015, at 14:37, Konrad Windszus konra...@gmx.de wrote: Hi Robert, yes, I just

Re: JSR305

2015-01-30 Thread Konrad Windszus
, 2015 at 2:15 PM, Konrad Windszus konra...@gmx.de wrote: What about adding annotations like https://code.google.com/p/jsr-305/source/browse/trunk/ri/src/main/java/javax/annotation/CheckForNull.java https://code.google.com/p/jsr-305/source/browse/trunk/ri/src/main/java/javax/annotation

Re: Sling IDE Tooling for IntelliJ IDEA

2015-04-23 Thread Konrad Windszus
...@me.com: Hi Konrad Thanks for the quick response. So Eclipse is running a “Maven Build” for a class whenever it is compiled? - Andy On Apr 23, 2015, at 1:55 AM, Konrad Windszus konra...@gmx.de wrote: Hi Andy, regarding 1) I am not aware of any existing effort to port this to IntelliJ

Re: Exporting ServletResolverConstants in org.apache.sling.servlets.resolver

2015-04-24 Thread Konrad Windszus
Hi Dirk, that class only contains constants. If you reference those constants within your own bundle they are usually inlined (i.e. there is no run-time dependency to the providing package). Therefore it is totally fine to add that dependency to your Maven module and to directly use those

Re: Sling IDE Tooling for IntelliJ IDEA

2015-04-23 Thread Konrad Windszus
Hi Andy, regarding 1) I am not aware of any existing effort to port this to IntelliJ. Regarding 2) there is the maven-scr-plugin which was made compatible with m2e (the Maven Eclipse Integration) in https://issues.apache.org/jira/browse/FELIX-3358. Basically Eclipse is executing a special maven

Re: Setting parent.relativePath in pom.xml

2015-05-06 Thread Konrad Windszus
+1, more information is also available at https://jira.codehaus.org/browse/MNG-4687 and indeed Maven seems to prefer local resolution in cases where the relativePath is not set explicitly empty! Konrad Am 06.05.2015 um 15:19 schrieb Robert Munteanu romb...@apache.org: Hi, I noticed that

Re: Validation integration tests fails

2015-04-14 Thread Konrad Windszus
Sorry for that. Should be fixed now. Konrad Am 14.04.2015 um 18:12 schrieb Carsten Ziegeler cziege...@apache.org: It seems our jenkins jobs fail because of tests in the validation fail Could someone please look into it? Thanks Carsten -- Carsten Ziegeler Adobe Research Switzerland

Re: Build failed in Jenkins: sling-trunk-1.6 #3256

2015-04-07 Thread Konrad Windszus
I just committed a potential fix for that. It seems that the Sightly 1.0.0-SNAPSHOT is no longer available (since now we do have a 1.0.0 release and a newer SNAPSHOT). Obviously the Apache repo will remove old SNAPSHOT versions. I therefore now rely on Sightly 1.0.0 until the proper fix for

Re: Simplifying Jira user management

2015-05-21 Thread Konrad Windszus
Me neither (JIRA user kwin). Something seems to be definitely wrong. My profile page in JIRA exposes also that I am only in the group jira-users. Konrad On 20 May 2015, at 18:17, Stefan Seifert sseif...@pro-vision.de wrote: it looks that my JIRA user (sseifert) does not longer have

Re: sling models api + impl 1.2 release soon?

2015-06-23 Thread Konrad Windszus
for making a sling models 1.2 release? stefan -Original Message- From: Konrad Windszus [mailto:konra...@gmx.de] Sent: Thursday, June 11, 2015 6:26 PM To: dev@sling.apache.org Subject: Re: sling models api + impl 1.2 release soon? Makes a lot of sense. I will do some more testing

Re: sling models api + impl 1.2 release soon?

2015-06-11 Thread Konrad Windszus
Makes a lot of sense. I will do some more testing with a real project on the most recent SNAPSHOT early next week. If you could start the release process afterwards, that would be great. Konrad On 11 Jun 2015, at 17:52, Stefan Seifert sseif...@pro-vision.de wrote: it's a long time since

Re: Deprecating the json.org parser in sling commons json

2015-05-28 Thread Konrad Windszus
If we deprecate the parsing functionality of commons.json we should rather point to JSR 353 (https://json-processing-spec.java.net/nonav/releases/1.0/fcs/javadocs/index.html) and one of the implementations (https://jsonp.java.net/ or http://owlike.github.io/genson/ AFAIK) as an alternative

Release 2.4.0 of org.apache.sling.i18n not on Maven Central

2015-07-03 Thread Konrad Windszus
What happened to that release? It can’t be found on Maven Central: http://search.maven.org/#search|gav|1|g%3A%22org.apache.sling%22%20AND%20a%3A%22org.apache.sling.i18n%22 http://search.maven.org/#search%7Cgav%7C1%7Cg:%22org.apache.sling%22%20AND%20a:%22org.apache.sling.i18n%22 Other versions

Apache CMS issues

2015-06-29 Thread Konrad Windszus
Are there currently some known issues with the Apache CMS? Although I committed some changes to https://svn.apache.org/repos/asf/sling/site/trunk/content/documentation/bundles/validation.mdtext https://svn.apache.org/repos/asf/sling/site/trunk/content/documentation/bundles/validation.mdtext

Re: Compilation error in models.validation-impl ( was: Build failed in Jenkins: sling-trunk-1.8 #1370 )

2015-07-29 Thread Konrad Windszus
Fixed it already. Sorry for that. On 29 Jul 2015, at 10:13, Robert Munteanu romb...@apache.org wrote: On Wed, 2015-07-29 at 08:05 +, Apache Jenkins Server wrote: See https://builds.apache.org/job/sling-trunk-1.8/1370/changes Changes: [kwin] SLING-4876 support resource type

Problem with embedding newer version of a referenced class

2015-08-03 Thread Konrad Windszus
Hi, in https://issues.apache.org/jira/browse/SLING-4779 https://issues.apache.org/jira/browse/SLING-4779 we had a discussion about how to leverage a class from the bundle Commons OSGi 2.3 while still leaving the dependency at 2.2. The outcome was to use the approach listed in

Re: Quoted string format in https://sling.apache.org/documentation/bundles/configuration-installer-factory.html

2015-08-11 Thread Konrad Windszus
On 11 Aug 2015, at 17:55, Carsten Ziegeler cziege...@apache.org wrote: Am 11.08.15 um 17:49 schrieb Konrad Windszus: Currently in https://sling.apache.org/documentation/bundles/configuration-installer-factory.html the format for Configuration Files ending with .config is pretty well

Quoted string format in https://sling.apache.org/documentation/bundles/configuration-installer-factory.html

2015-08-11 Thread Konrad Windszus
Currently in https://sling.apache.org/documentation/bundles/configuration-installer-factory.html the format for Configuration Files ending with .config is pretty well described. One point missing there is what exactly must be quoted within stringsimple. Actually just using quoted-string is not

Re: Sling JCR Mocks, testing dependencies and imported ranges

2015-08-07 Thread Konrad Windszus
Actually this does also affect sling-mocks IMHO (please compare with https://issues.apache.org/jira/browse/SLING-4932 https://issues.apache.org/jira/browse/SLING-4932). Therefore I suggest to also do the embedding in sling-mocks (https://issues.apache.org/jira/browse/SLING-4934

Re: Sling JCR Mocks, testing dependencies and imported ranges

2015-08-13 Thread Konrad Windszus
be backwards compatible in most of the cases). Thanks, Konrad stefan [1] http://wcm.io/testing/aem-mock/ -Original Message- From: Konrad Windszus [mailto:konra...@gmx.de] Sent: Friday, August 07, 2015 3:04 PM To: dev@sling.apache.org Subject: Re: Sling JCR Mocks, testing

Re: Sling JCR Mocks, testing dependencies and imported ranges

2015-08-10 Thread Konrad Windszus
Hi Robert, thanks for your comments on that. On 10 Aug 2015, at 12:21, Robert Munteanu romb...@apache.org wrote: On Fri, 2015-08-07 at 15:04 +0200, Konrad Windszus wrote: Actually this does also affect sling-mocks IMHO (please compare with https://issues.apache.org/jira/browse/SLING-4932

Sightly warnings by GlobalShadowChecker

2015-08-14 Thread Konrad Windszus
In our code I see a lot of warnings like this one: org.apache.sling.scripting.sightly.impl.compiler.util.GlobalShadowChecker Global variable 'component' is being overridden in template It seems that the Sightly compiler always emits that warning in case a global variable name has been newly

Fwd: Resource Resolvers in OSGi Service APIs

2015-07-24 Thread Konrad Windszus
://issues.apache.org/jira/browse/JCR-2768) What about Oak? How big is the overhead there? Thanks for your input Konrad On 24 Jul 2015, at 08:06, Carsten Ziegeler cziege...@apache.org wrote: Am 23.07.15 um 18:19 schrieb Konrad Windszus: For Sling Validation I just came across the issue

Re: Resource Resolvers in OSGi Service APIs

2015-07-24 Thread Konrad Windszus
/jira/browse/JCR-2768) What about Oak? How big is the overhead there? Thanks for your input Konrad On 24 Jul 2015, at 08:06, Carsten Ziegeler cziege...@apache.org wrote: Am 23.07.15 um 18:19 schrieb Konrad Windszus: For Sling Validation I just came across the issue that I need a resource

Resource Resolvers in OSGi Service APIs

2015-07-23 Thread Konrad Windszus
For Sling Validation I just came across the issue that I need a resource resolver in the implementation (e.g. for triggering a search to find the validation models in the repository or to figure out the resource super type). Currently the API is designed that no resolver is passed when any

Building Sling IDE

2015-11-04 Thread Konrad Windszus
ntain that package. Where is it supposed to come from? Thanks a lot in advance, Konrad Konrad Windszus | Senior Solutions Architect Netcentric Deutschland GmbH Landsberger Str. 110, D-80339 München M: +49 151 6285 78 79 konrad.winds...@netcentric.biz | www.netcentric.biz/contact.html Other disclo

Re: Debugging Implementation when running ITs

2015-10-06 Thread Konrad Windszus
Just set a breakpoint to org.apache.sling.testing.tools.jarexec.JarExecutor.start() and then start the debugging on the client side (also documented at https://sling.apache.org/documentation/development/sling-testing-tools.html). You should see now which JVM options are used to start the

Re: content-package-maven-plugin and tooling around it

2015-08-26 Thread Konrad Windszus
Almost two years passed and still no sign of the content-package-maven-plugin in the open-source world. Is it probable that this will happen soon? Thanks, Konrad On 14 May 2014, at 15:01, Konrad Windszus konra...@gmx.de wrote: Is there any news about that? Maybe a rough timeline, when

Re: double slash in WebDAV URL -> default workspace, was that by design?

2015-08-31 Thread Konrad Windszus
If I understood Carsten correctly the double slash should be accepted by the implementation. So IMHO the old behaviour described in SLING-4976 is the correct one (i.e. falling back to the default workspace). > On 31 Aug 2015, at 11:37, Bertrand Delacretaz wrote: > > Hi,

Re: double slash in WebDAV URL -> default workspace, was that by design?

2015-08-31 Thread Konrad Windszus
rg> wrote: > > Am 31.08.15 um 11:42 schrieb Konrad Windszus: >> If I understood Carsten correctly the double slash should be accepted by the >> implementation. So IMHO the old behaviour described in SLING-4976 is the >> correct one (i.e. falling back to the defa

ResourceResolverFactory restart behaviour

2015-09-14 Thread Konrad Windszus
Currently if the resource resolver factory is restarted (e.g. because the configuration has been changed) all resource resolvers which were being requested beforehand become almost useless, because they have no longer any providers being bound! This means those resolvers can only be used to

Re: ResourceResolverFactory restart behaviour

2015-09-14 Thread Konrad Windszus
source resolver 1.2.4 this is not the case. Thanks, Konrad > On 14 Sep 2015, at 17:55, Carsten Ziegeler <cziege...@apache.org> wrote: > > Am 14.09.15 um 17:51 schrieb Konrad Windszus: >> Currently if the resource resolver factory is restarted (e.g. because the >> configurati

Re: Compatibility of Sling with Oak 1.2

2015-09-16 Thread Konrad Windszus
.org/jira/browse/SLING-4820> (JCR Resource 2.5.2) Konrad > On 16 Sep 2015, at 11:41, Bertrand Delacretaz <bdelacre...@apache.org> wrote: > > Hi, > > On Tue, Sep 15, 2015 at 11:35 AM, Konrad Windszus <konra...@gmx.de> wrote: >> ...In the case of htt

Re: ResourceResolverFactory restart behaviour

2015-09-15 Thread Konrad Windszus
error message). What was the reason why only the RR.isLive method was modified with SLING-4360? Konrad > On 14 Sep 2015, at 20:57, Carsten Ziegeler <cziege...@apache.org> wrote: > > Am 14.09.15 um 18:04 schrieb Konrad Windszus: >> Thanks Carsten, indeed I am hitting SLI

Re: ResourceResolverFactory restart behaviour

2015-09-15 Thread Konrad Windszus
providers is gone. Of course this is not the case for the JcrResourceProvider but since this is a required provider it would lead to an unregistration of the whole RRF. > On 15 Sep 2015, at 09:35, Carsten Ziegeler <cziege...@apache.org> wrote: > > Am 15.09.15 um 08:37 schrieb

Compatibility of Sling with Oak 1.2

2015-09-15 Thread Konrad Windszus
I just ran into the problem that the package version of org/apache/jackrabbit/oak/plugins/observation changed from 1.0 (in Oak prior 1.3) to 2.0 (since Oak 1.3). This is a major version change not compatible with any version ranges being generated by the maven-bundle-plugin. Due to this fact

Re: Compatibility of Sling with Oak 1.2

2015-09-15 Thread Konrad Windszus
encies could be resolved. This is exactly what we want to prevent with semantic versioning. Konrad > On 15 Sep 2015, at 11:22, Bertrand Delacretaz <bdelacre...@apache.org> wrote: > > Hi, > > On Tue, Sep 15, 2015 at 9:26 AM, Konrad Windszus <konra...@gmx.de> wrote: >

Re: FYI, TeleporterRule + reorganized server-side tests docs

2015-09-29 Thread Konrad Windszus
Hi, the TeleporterRule-based tests look indeed much cleaner and leaner than with the old approach. But I was wondering whether it would be good to extend the teleporter module with some customizer rules which would allow to run the test on an already provisioned instance. Currently we only have

Re: Problem with embedding newer version of a referenced class

2015-09-30 Thread Konrad Windszus
om> wrote: > > Hi Konrad, > Is it possible to just embed the necessary classes rather than the whole > package? I think we do that in other cases and would (I think) eliminate > this issue. > > Regards, > Justin > On Mon, Aug 3, 2015 at 8:26 AM Konrad Windszu

  1   2   3   4   5   6   7   8   9   10   >