Re: [Vote] Upgrading junit to 4.11

2014-08-06 Thread Davide Giannella
On 05/08/2014 14:36, Alex Parvulescu wrote: Hi, The proposed update sounds good, you should go for it. There is no need for a vote beforehand, a Jira issue with a patch attached works just fine. For the records I gave a quick try on local and it seems that even by upgrading to the latest

Re: AW: How to implement a queue in Oak?

2014-08-06 Thread Thomas Mueller
Hi, The following should work: - use a node type without _orderable_ child nodes - in each node, add a property created with the timestamp plus a unique id - to get the first entry, use a query (order by created) This should scale well once synchronous, orderable indexes are implemented. The

Re: AW: How to implement a queue in Oak?

2014-08-06 Thread Angela Schreiber
Hi Thomas What about making the proposed solution built-in with Oak? For example by defining a mixin type oak:Created extending from mix:created... the latter is already widely used and the oak extension could just offer the additional ability to be orderable upon search. In addition the

Re: AW: How to implement a queue in Oak?

2014-08-06 Thread Davide Giannella
On 06/08/2014 13:40, Thomas Mueller wrote: Hi, The following should work: - use a node type without _orderable_ child nodes - in each node, add a property created with the timestamp plus a unique id Avoid re-using jcr:created as you risk to bloat the repository size due to the fact that

buildbot failure in ASF Buildbot on oak-trunk-win7

2014-08-06 Thread buildbot
The Buildbot has detected a new failure on builder oak-trunk-win7 while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/oak-trunk-win7/builds/456 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-win7 Build Reason: scheduler Build Source

Re: buildbot failure in ASF Buildbot on oak-trunk-win7

2014-08-06 Thread Alex Parvulescu
this doesn't look like something related to my changes: Tests in error: tokenCreationWithPreAuth(org.apache.jackrabbit.oak.run.osgi.TokenAuthenticationTest) Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.435 sec FAILURE!

buildbot success in ASF Buildbot on oak-trunk-win7

2014-08-06 Thread buildbot
The Buildbot has detected a restored build on builder oak-trunk-win7 while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/oak-trunk-win7/builds/459 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-win7 Build Reason: scheduler Build Source