Re: MicroKernel add/set property

2012-10-18 Thread Alex Parvulescu
MicroKernel.getJournal() is currently only used in an old indexing implementation in oak-core Old and deprecated, see OAK-298. AFAIK all the current indexing code (except the 'old' package which is not in use) now uses CommitHook(s) to update, so as long as that mechanism works properly life is

Re: MicroKernel add/set property

2012-10-18 Thread Stefan Guggisberg
On Thu, Oct 18, 2012 at 12:09 PM, Alex Parvulescu alex.parvule...@gmail.com wrote: MicroKernel.getJournal() is currently only used in an old indexing implementation in oak-core Old and deprecated, see OAK-298. AFAIK all the current indexing code (except the 'old' package which is not in use)

Re: MicroKernel add/set property

2012-10-17 Thread Mete Atamel
/OAK-11 or sub-issues thereof. Michael On 16.10.12 15:39, Mete Atamel wrote: Hi, I have 2 questions on MicroKernel add/set property that MicroKernel JavaDoc does not seem to answer. 1- What's the difference between adding a property vs. setting a property? Are the two following commits

Re: MicroKernel add/set property

2012-10-17 Thread Stefan Guggisberg
On Tue, Oct 16, 2012 at 4:39 PM, Mete Atamel mata...@adobe.com wrote: Hi, I have 2 questions on MicroKernel add/set property that MicroKernel JavaDoc does not seem to answer. 1- What's the difference between adding a property vs. setting a property? Are the two following commits basically

Re: MicroKernel add/set property

2012-10-17 Thread Stefan Guggisberg
stefan.guggisb...@gmail.com wrote: On Tue, Oct 16, 2012 at 4:39 PM, Mete Atamel mata...@adobe.com wrote: Hi, I have 2 questions on MicroKernel add/set property that MicroKernel JavaDoc does not seem to answer. 1- What's the difference between adding a property vs. setting a property

Re: MicroKernel add/set property

2012-10-17 Thread Michael Dürig
On 17.10.12 15:49, Stefan Guggisberg wrote: i agree that the ambiguity of '^' vs '+' is confusing. personally i'd prefer to get rid of the '+' syntax for property creation altogether. as a consequence we'd loose the ability to generate PROPERTY_ADDED events from the mk journal. i don't know

Re: MicroKernel add/set property

2012-10-17 Thread Stefan Guggisberg
On Wed, Oct 17, 2012 at 5:03 PM, Michael Dürig mdue...@apache.org wrote: On 17.10.12 15:49, Stefan Guggisberg wrote: i agree that the ambiguity of '^' vs '+' is confusing. personally i'd prefer to get rid of the '+' syntax for property creation altogether. as a consequence we'd loose the

MicroKernel add/set property

2012-10-16 Thread Mete Atamel
Hi, I have 2 questions on MicroKernel add/set property that MicroKernel JavaDoc does not seem to answer. 1- What's the difference between adding a property vs. setting a property? Are the two following commits basically the same? mk.commit(/, +\a/key1\ : \value1\, null, null); mk.commit