ContentSession#createBlob ?

2012-10-19 Thread Angela Schreiber
hi all recent the ContentSession interface got a new method Blob createBlob(InputStream inputStream) throws IOException; this there is no TODO comment associated with it i assume that is intended to stay... however, it feels a bit odd to me having that method on the content session interface

Re: ContentSession#createBlob ?

2012-10-19 Thread Michael Dürig
The purpose of that method is to allow the API consumer to create Blob instances which are immediately streamed down to the BlobStore in the Microkernel. This way the API consumer can control at what point streaming takes place when setting values of Type.BINARY on a Tree: blob instances

Re: ContentSession#createBlob ?

2012-10-19 Thread Angela Schreiber
hi michael thanks for the info Note that createBlobd() is very much the same as the getCoreValueFactory() method, which it replaced. yes, i am aware of this... the reason why i don't like the method on contentsession has nothing to do with the 'what-it-does' but rather the fact i IMO it

Re: ContentSession#createBlob ?

2012-10-19 Thread Michael Dürig
On 19.10.12 10:36, Angela Schreiber wrote: hi michael thanks for the info Note that createBlobd() is very much the same as the getCoreValueFactory() method, which it replaced. yes, i am aware of this... the reason why i don't like the method on contentsession has nothing to do with the

buildbot failure in ASF Buildbot on oak-trunk

2012-10-19 Thread buildbot
The Buildbot has detected a new failure on builder oak-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/oak-trunk/builds/829 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: osiris_ubuntu Build Reason: scheduler Build Source Stamp:

Re: buildbot failure in ASF Buildbot on oak-trunk

2012-10-19 Thread Jukka Zitting
Hi, On Fri, Oct 19, 2012 at 6:04 PM, build...@apache.org wrote: BUILD FAILED: failed compile Sorry about that, I already fixed the problem in revision 1400143. BR, Jukka Zitting

Re: Repository construction

2012-10-19 Thread Stefan Guggisberg
On Fri, Oct 19, 2012 at 5:25 PM, Jukka Zitting jukka.zitt...@gmail.com wrote: Hi, As you may have noticed from my work in OAK-352, we now have pretty clean and simple mechanism for constructing repositories with different combinations of pluggable components. Here's a quick guide on how to

Re: When moving a Tree, can it die?

2012-10-19 Thread Jukka Zitting
Hi, On Fri, Oct 5, 2012 at 9:58 AM, Michael Dürig mdue...@apache.org wrote: However in the case of a move operation I think this would cause the above test case to fail, since x.getParent() would then still point to the root. Yes, the test case would need to be adapted. I filed OAK-391 [1] to

Re: Repository construction

2012-10-19 Thread Michael Dürig
Hi Jukka, Thanks for sharing this, good stuff! I think this write up would best go into another .md file in /doc. WDYT? Michael On 19.10.12 16:25, Jukka Zitting wrote: Hi, As you may have noticed from my work in OAK-352, we now have pretty clean and simple mechanism for constructing