jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Question on mix:referenceable .
Date Mon, 06 Jul 2009 10:06:23 GMT
On Sat, Jul 4, 2009 at 4:38 AM, ndesk1900<ndesk1900@gmail.com> wrote:
>
> Hello all,
>
> The Java Specification Request 170 states that
>
> "A repository implementation may make its workspace root nodes
> mix:referenceable. If so, then the root node of all workspaces must be
> referenceable, and all must have the same UUID"
>
> Could someone explain why?

Because you can copy/merge nodes between workspaces (in this use-case
a bit like branches in version control systems), where the UUIDs of
copied nodes are the same across workspaces. And thus the root node,
which is already "created" by the repository at start, must have the
same UUID in multiple workspaces.

BTW, in Jackrabbit the root node UUID is always
"cafebabe-cafe-babe-cafe-babecafebabe".

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message