jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas " <nto...@gmail.com>
Subject Re: [jira] Commented: (JCR-442) Implement a backup tool
Date Fri, 04 Aug 2006 17:24:16 GMT
Agreed for safeRegisterNamespace but on this issue please see my other mail:
there are a couple of question to answer

On 8/4/06, Jukka Zitting <jukka.zitting@gmail.com> wrote:
>
> Hi,
>
> On 8/4/06, Nicolas <ntoper@gmail.com> wrote:
> > 1/ I disagree. It is a better programming practice not to launch
> exception
> > for this kind of issues. Besides, there should be a way to check if the
> > namespace is already or not registered. Maybe something to add to the
> next
> > version of JCR? What do you think?
>
> Agreed, but adding a custom method for checking namespace existence
> increases the coupling between the backup tool and Jackrabbit.
> Actually, you may want to use the safeRegisterNamespace() method I
> added a few months ago. Proposing to add that in JSR 283 is also an
> option, though I'm not sure if the use case is critical enough to
> warrant inclusion in the standard.
>
> > 3/4/5/ I will delete the backup code + restore code. Maybe I should just
> > comment it, in case we need in later. What do you think?
>
> Sounds good.
>
> BR,
>
> Jukka Zitting
>
> --
> Yukatan - http://yukatan.fi/ - info@yukatan.fi
> Software craftsmanship, JCR consulting, and Java development
>



-- 
a+
Nico
my blog! http://www.deviant-abstraction.net !!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message