Michael Wechner wrote:
Andreas Hartmann wrote:
Michael Wechner wrote:
Hi
What is the repository dir within the sandbox
https://svn.apache.org/repos/asf/lenya/sandbox/repository
good for?
This branch is used to develop the JCR-based repository layer.
ok. Can you explain a bit who is working on it
At the moment just me. There have been a lot of discussions,
now I'm trying to create some working code.
and what has been done so far?
The o.a.l.cms.repo package contains a set of interfaces describing
the responsibilities of Lenya repository items (publication, content node,
document, ...). The JCR module contains a JCR-based implementation of
these interfaces, along with a test case. The class
o.a.l.cms.migration.Migrate14 uses the interfaces to import a file-based
1.4 publication into the repository.
It won't be possible to do it in the trunk because it requires
a lot of internal changes.
why not? What changes?
Basically, all references to o.a.l.cms.publication.* would have to be
replaced with references to o.a.l.cms.repo.*. The interfaces are quite
different in some aspects, so refactoring doesn't help.
Actually I have no idea if this can be implemented in a reasonable amount
of time. What I've done so far is a draft what the repo layer should IMO
look like, quite independent from the existing codebase. It's rather meant
as an exploratory prototype and as a starting point for discussions.
I guess we'll end up with a kind of compromise.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]