Re: Sling Oak Restrictions - Release 1.0.0 now?

2016-08-02 Thread Konrad Windszus
> On 01 Aug 2016, at 13:32, Georg Henzler wrote: > > Hi Robert, > >> ... I would rather see it named org.apache.sling.jcr.oak-restrictions >> and placed under contrib/jcr . > > That sounds like a better location, +1 to move > >> There was some discussion related to the name of the >> 'sling:r

Re: [VOTE] Release Apache Sling XSS Protection Bundle version 1.0.10

2016-08-04 Thread Konrad Windszus
Can you move the other yet unresolved tickets to the upcoming bundle version then? https://issues.apache.org/jira/browse/SLING-4365?jql=project%20%3D%20SLING%20AND%20fixVersion%20%3D%20%22XSS%20Protection%20API%201.0.10%22%20AND%20status%20%3D%20Open%20ORDER%20BY%20priority%20DESC Thanks, Konrad

Re: [VOTE] Release Apache Sling i18n 2.4.10

2016-08-05 Thread Konrad Windszus
I would really like to keep the i18n bundle compatible with older Sling/AEM versions (without forcing everyone to upgrade commons.osgi as well) Please see my comment in https://issues.apache.org/jira/browse/SLING-5949 on how embedding could be achieved in a more safe/elegant way. Konrad > On 05

Re: [VOTE CANCELLED] Release Apache Sling i18n 2.4.10

2016-08-05 Thread Konrad Windszus
Just committed the patch. Depending on whether you want to call a vote again on 2.4.10 or use 2.4.12 please adjust the Fix Version in https://issues.apache.org/jira/browse/SLING-5949 accordingly. Thanks, Konrad > On 05 Aug 2016, at 13:14, Carsten Ziegeler wrote: > >> I would really like to kee

Re: Build failed in Jenkins: sling-trunk-1.8 #3788

2016-08-16 Thread Konrad Windszus
Probably it is related to https://issues.apache.org/jira/browse/MJAR-227 and https://github.com/codehaus-plexus/plexus-archiver/issues/5 which is only fixed with maven-jar-plugin 3.0.0

Input on https://issues.apache.org/jira/browse/SLING-5888

2016-08-17 Thread Konrad Windszus
Hi, in https://issues.apache.org/jira/browse/SLING-5888 I came up with a new healthcheck for the OSGi installer. I would appreciate if you could take a look at the comments in https://issues.apache.org/jira/browse/SLING-5888?focusedCommentId=15389655&page=com.atlassian.jira.plugin.system.issueta

Scheduler behaviour in case it is not running at the time where a job was supposed to be executed

2016-08-18 Thread Konrad Windszus
How does the Sling Scheduler behave in case two jobs are scheduled with a cron expression (one at 1am, one at 2am on a daily basis) and Sling is either not running or the computer is in sleep mode at that time? Will both be executed immediately when the Sling Scheduler is active again? What abou

Re: Scheduler behaviour in case it is not running at the time where a job was supposed to be executed

2016-08-18 Thread Konrad Windszus
This is not what I experience (I only tried with AEM 6.1 SP2 where maintenance tasks are executed with a scheduler). The jobs are executed immediately after the computer is waking up even if that is hours after the scheduled time. > On 18 Aug 2016, at 10:55, Carsten Ziegeler wrote: > >> How do

Re: Scheduler behaviour in case it is not running at the time where a job was supposed to be executed

2016-08-18 Thread Konrad Windszus
cution of that job once the Scheduler is running again. Maybe that should be clarified in the Javadoc of the Scheduler itself. Konrad > On 18 Aug 2016, at 10:59, Konrad Windszus wrote: > > This is not what I experience (I only tried with AEM 6.1 SP2 where > maintenance tasks a

Re: Scheduler behaviour in case it is not running at the time where a job was supposed to be executed

2016-08-18 Thread Konrad Windszus
Hmm, I tend to disagree here. I dug deep into the code and com.adobe.granite.maintenance.impl.TaskSchedulerImpl is internally relying on org.apache.sling.commons.scheduler.Scheduler. Konrad > On 18 Aug 2016, at 11:11, Carsten Ziegeler wrote: > >> This is not what I experience (I only tried wi

Re: Scheduler behaviour in case it is not running at the time where a job was supposed to be executed

2016-08-18 Thread Konrad Windszus
I created https://issues.apache.org/jira/browse/SLING-5974 for making it possible to configure the misfire behaviour through the Sling Scheduler API. > On 18 Aug 2016, at 11:12, Konrad Windszus wrote: > > The default behaviour of Quartz seems to be a different one: > https://dzone.

Re: Felix cannot resolve classes in jar bundle

2016-08-24 Thread Konrad Windszus
Hi, this is more a question for the Sling Users Mailing list (if at all), but let me give you some pointers. Your manifest is not correct because it will only export the package 'com.itextpdf' but not any sub packages (your class is in package com.itextpdf.text). Also I would rather use the mav

Sling Jobs: Ordered Queue and configuration queue.maxparallel

2016-08-29 Thread Konrad Windszus
Hi, if I read the code in JobQueueImpl correctly even for ordered queues there are at most jobs being executed in parallel (https://github.com/apache/sling/blob/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/JobQueueImpl.java#L197

Re: Sling Jobs: Ordered Queue and configuration queue.maxparallel

2016-08-29 Thread Konrad Windszus
Thanks for the clarification, I added the description in https://issues.apache.org/jira/browse/SLING-6013 . Konrad > On 29 Aug 2016, at 15:05, Carsten Ziegeler wrote: > > Ordered queues are single processing queues, one item after the other. > T

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 SLIN

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 : > > 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 > cziege..

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: Sling IDE Tooling for IntelliJ IDEA

2015-04-23 Thread Konrad Windszus
> 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 wrote: >> >> Hi Andy, >> regarding 1) I am not aware of any exis

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 consta

Re: Post servlet integration test failures

2015-04-27 Thread Konrad Windszus
Hi Carsten, thanks for the hint. Unfortunately I broke those ITs while fixing SLING-4469. I am trying to fix ASAP. Right now I see these two errors when executing mvn launchpad:run on org.apache.sling.launchpad.testing ERROR: Bundle org.apache.felix.http.jetty [5]: Error starting slinginstall:o

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 : > > Hi, > > I noticed that we are not con

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 wrote: > > it looks that my JIRA user (sseifert) does not longer have administration > privileges

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 inst

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 wrote: > > it's a long time since sling models 1.1 releas

Re: sling models api + impl 1.2 release soon?

2015-06-23 Thread Konrad Windszus
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 soo

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

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 Other versions

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

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

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 servic

Re: Resource Resolvers in OSGi Service APIs

2015-07-24 Thread Konrad Windszus
pache.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 wrote: > > Am 23.07.15 um 18:19 schrieb Konrad Windszus: >> For Sling Validation I just came across the issue that I need

Fwd: Resource Resolvers in OSGi Service APIs

2015-07-24 Thread Konrad Windszus
hose aren’t GCed quickly > enough due to their finalizers > (https://issues.apache.org/jira/browse/JCR-2768 > <https://issues.apache.org/jira/browse/JCR-2768>) > What about Oak? How big is the overhead there? > Thanks for your input > Konrad > > >> On 24 Jul 2

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 wrote: > > On Wed, 2015-07-29 at 08:05 +, Apache Jenkins Server wrote: >> See >> >> Changes: >> >> [kwin] SLING-4876 support resource type inheritance

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 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 http://njbartlet

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 ). 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-10 Thread Konrad Windszus
Hi Robert, thanks for your comments on that. > On 10 Aug 2015, at 12:21, Robert Munteanu 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/

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: Quoted string format in https://sling.apache.org/documentation/bundles/configuration-installer-factory.html

2015-08-11 Thread Konrad Windszus
Konrad > On 11 Aug 2015, at 17:55, Carsten Ziegeler 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

Re: Sling JCR Mocks, testing dependencies and imported ranges

2015-08-13 Thread Konrad Windszus
ce mapping/etc. > version. I completely understand and therefore would only support the newest version (because testing should still cover old API usages, because it should be backwards compatible in most of the cases). Thanks, Konrad > > stefan > > [1] http://wcm.io/testing/a

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 defin

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 wrote: > > Is there any news about that? Maybe a rough timeline, when the

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, > > On Mon, Aug 31, 201

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

2015-08-31 Thread Konrad Windszus
.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 default workspace). > No :) What I

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 retr

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 wrote: > > Am 14.09.15 um 17:51 schrieb Konrad Windszus: >> Currently if the resource resolver factory is restarted (e.g. because the >> configuration has been changed) all re

Re: ResourceResolverFactory restart behaviour

2015-09-14 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 wrote: > > Am 14.09.15 um 18:04 schrieb Konrad Windszus: >> Thanks Carsten, indeed I am hitting SLING-4974. >> Could you p

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 t

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 wrote: > > Am 15.09.15 um 08:37 schrieb Konrad Windszus: >> Yes, SLI

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 wrote: > > Hi, > > On Tue, Sep 15, 2015 at 9:26 AM, Konrad Windszus wrote: >> ...What is the policy of supporting Oak 1.2 in Sli

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 wrote: > > Hi, > > On Tue, Sep 15, 2015 at 11:35 AM, Konrad Windszus wrote: >> ...In the case of https://issues.apache.org/jira/browse/SLING-4820 >> there is no

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
, > 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 Windszus wrote: > >> Hi, >> in ht

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

2015-09-30 Thread Konrad Windszus
> Hi Konrad, > > On Tue, Sep 29, 2015 at 1:10 PM, Konrad Windszus wrote: >> What about a customizer which can be parameterised equally to the >> former SlingTestBase... > > That's totally possible, the only requirement is that the junit.core > bundle runnin

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

2015-09-30 Thread Konrad Windszus
> So I would suggest the following: Make the ClientSideTeleporter usable > without any customizer and without any glue code but just with additional > system properties. > The system properties are then used to either connect to an existing instance > or to spin up a completely new instance (si

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 instanc

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

2014-10-08 Thread Konrad Windszus
Committed in revision 1630039, thanks for your >> contribution. >> >>> Allow validator to set a custom failure message >>> --- >>> >>>Key: SLING-4010 >>>URL: https://issues.apache.org/jira/brows

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

2014-11-12 Thread Konrad Windszus
(http://www.netcentric.biz <http://www.netcentric.biz/>) > On 12 Nov 2014, at 15:01, Carsten Ziegeler 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

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 ). Previously there was a readme.md describing the node structure of validation nodes at https://github.com/raducotescu/org

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

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

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:5

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 true (set inside the pom.xml) and to start the launchpad with the remote de

Re: Debugging Sling Models IT

2014-12-05 Thread Konrad Windszus
: > > Hi Konrad, > On Dec 5, 2014 5:42 PM, "Konrad Windszus" 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

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
Dec 2014, at 14:34, Konrad Windszus 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 version

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 wrote: >

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? 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 l

Re: Simplify debugging integration test failures

2015-01-09 Thread Konrad Windszus
I definitely would appreciate that, because indeed it is quite hard to debug those integration tests (especially if executed on a remote machine like CI). Therefore I would love to see that integrated. Probably it would be good if one could optionally increase the Log level during tests. Konrad

Re: storing dates with timezones in Sling

2015-01-13 Thread Konrad Windszus
Maybe you can explain a bit more in detail why you want to keep the original timezone? Usually you are only interested in the absolute UTC time (no matter in which timezone the date is given initially) when it comes to date/time comparisons/calculations. What do you want to do with the timezone

JSR305

2015-01-30 Thread Konrad Windszus
Hi, the Sling API sometimes forces the developer to check for null results e.g. SlingAdaptable.adaptTo and ResourceResolver.getResource. This is very often forgotten by users of that API. I would really appreciate if we would start annotating the Sling API with JSR305 annotations (https://jcp.org

Re: JSR305

2015-01-30 Thread Konrad Windszus
0, 2015 at 2:15 PM, Konrad Windszus 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/

Re: JSR305

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

Re: JSR305

2015-02-05 Thread Konrad Windszus
default then!) Do 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 wrote: > > Indeed Eclipse supports configurable annotations. You can find

Re: JSR305

2015-02-05 Thread Konrad Windszus
> On 05 Feb 2015, at 11:34, Tommaso Teofili wrote: > > 2015-02-05 9:59 GMT+01:00 Konrad Windszus : > >> 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

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 - #unicode_escape(io.sightly.tck.tests

Re: Sightly Integration Test execution fails for me

2015-02-19 Thread Konrad Windszus
67.jdk/Contents/Home/jre > Default locale: en_US, 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,

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 wrote: > > +1 > > Robert > > On Fri, Feb 20, 2015 at 12:09 PM, Robert Munteanu wrote: >> On Fri, Feb 20, 2015 at 12:04 PM, Tomek Rękawek >> wrote: >>> Hello Robert, >>> >>> On Fri, Feb 20, 2015 at 10:13 AM, Robert Munteanu wrote:

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 wrote: > > On Feb 23, 2015 12:15 PM, "Tomek Rękawek" > wrote: >> >> On Mon, Feb 23, 2015 at 10:35 AM, Konrad Windszus wrote: >> &g

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 that

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 wrote: > > Hi Robert, > yes, I just

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
gt; src/main/java/org/apache/sling/models/impl/sightly/ModelFactoryUseProvider.java > From: Konrad Windszus > 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 f

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 If you want to install the convenience binaries for the IDE tooling, it's recommended that yo

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 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 t

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 wrote: > > hi Konrad > On Mar 2, 2015, at 5:55 P

[jira] [Commented] (SLING-3014) Generate SCR descriptors using the maven-scr-plugin

2013-08-12 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13736948#comment-13736948 ] Konrad Windszus commented on SLING-3014: why is the m2e integration of maven

[jira] [Created] (SLING-3079) Move constant for "sling.auth.requirements" to AuthConstants

2013-09-18 Thread Konrad Windszus (JIRA)
Konrad Windszus created SLING-3079: -- Summary: Move constant for "sling.auth.requirements" to AuthConstants Key: SLING-3079 URL: https://issues.apache.org/jira/browse/SLING-3079 Proj

[jira] [Created] (SLING-3093) All input fields within the server overview for "External Sling Launchpad" within the "Connection" section have right-to-left typing logic

2013-09-23 Thread Konrad Windszus (JIRA)
Konrad Windszus created SLING-3093: -- Summary: All input fields within the server overview for "External Sling Launchpad" within the "Connection" section have right-to-left typing logic Key: SLING-3093

[jira] [Updated] (SLING-3093) All input fields within the server overview for "External Sling Launchpad" within the "Connection" section have right-to-left typing logic

2013-09-23 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus updated SLING-3093: --- Affects Version/s: Sling Eclipse IDE 1.0.0 > All input fields within the server overv

[jira] [Updated] (SLING-3093) All input fields within the server overview for "External Sling Launchpad" within the "Connection" section have right-to-left typing logic

2013-09-23 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus updated SLING-3093: --- Attachment: SlingIDEConnectionFieldsBug.png > All input fields within the ser

[jira] [Created] (SLING-3094) Unresolved compilation exception when opening a JSP file from a sling-content-module

2013-09-23 Thread Konrad Windszus (JIRA)
Konrad Windszus created SLING-3094: -- Summary: Unresolved compilation exception when opening a JSP file from a sling-content-module Key: SLING-3094 URL: https://issues.apache.org/jira/browse/SLING-3094

[jira] [Commented] (SLING-3094) Unresolved compilation exception when opening a JSP file from a sling-content-module

2013-09-23 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774439#comment-13774439 ] Konrad Windszus commented on SLING-3094: The weird thing is that the c

[jira] [Commented] (SLING-3094) Unresolved compilation exception when opening a JSP file from a sling-content-module

2013-09-23 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774468#comment-13774468 ] Konrad Windszus commented on SLING-3094: Nevermind, it was obviously a br

[jira] [Resolved] (SLING-3094) Unresolved compilation exception when opening a JSP file from a sling-content-module

2013-09-23 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus resolved SLING-3094. Resolution: Invalid > Unresolved compilation exception when opening a JSP file fro

[jira] [Created] (SLING-3095) StringIndexOutOfBoundsException within ContentXmlHandler.java:210

2013-09-23 Thread Konrad Windszus (JIRA)
Konrad Windszus created SLING-3095: -- Summary: StringIndexOutOfBoundsException within ContentXmlHandler.java:210 Key: SLING-3095 URL: https://issues.apache.org/jira/browse/SLING-3095 Project: Sling

[jira] [Updated] (SLING-3095) StringIndexOutOfBoundsException within ContentXmlHandler.java:210

2013-09-23 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus updated SLING-3095: --- Description: I get the following exception during the publication of a sling-content-module

[jira] [Updated] (SLING-3095) StringIndexOutOfBoundsException within ContentXmlHandler.java:210

2013-09-23 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus updated SLING-3095: --- Attachment: SLING-3095-v1.patch I have attached a simple patch, which is fixing that and is

[jira] [Commented] (SLING-3093) All input fields within the server overview for "External Sling Launchpad" within the "Connection" section have right-to-left typing logic

2013-09-23 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774604#comment-13774604 ] Konrad Windszus commented on SLING-3093: I am on Mac OS X 10.8.5 with Ecl

[jira] [Comment Edited] (SLING-3093) All input fields within the server overview for "External Sling Launchpad" within the "Connection" section have right-to-left typing logic

2013-09-23 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774613#comment-13774613 ] Konrad Windszus edited comment on SLING-3093 at 9/23/13 3:1

[jira] [Commented] (SLING-3093) All input fields within the server overview for "External Sling Launchpad" within the "Connection" section have right-to-left typing logic

2013-09-23 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774613#comment-13774613 ] Konrad Windszus commented on SLING-3093: I think the problem is a loop with

[jira] [Commented] (SLING-3093) All input fields within the server overview for "External Sling Launchpad" within the "Connection" section have right-to-left typing logic

2013-09-23 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774640#comment-13774640 ] Konrad Windszus commented on SLING-3093: Compare with this code: h

[jira] [Created] (SLING-3100) Provide a m2e project configurator for packaging "content-type"

2013-09-24 Thread Konrad Windszus (JIRA)
Konrad Windszus created SLING-3100: -- Summary: Provide a m2e project configurator for packaging "content-type" Key: SLING-3100 URL: https://issues.apache.org/jira/browse/SLING-3100 Proj

<    7   8   9   10   11   12   13   14   15   16   >