Preliminary support for jackrabbit 2
------------------------------------
Key: MAGNOLIA-2988
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2988
Project: Magnolia
Issue Type: Improvement
Components: core
Reporter: Fabrizio Giustina
Assignee: Fabrizio Giustina
Priority: Trivial
Fix For: 4.2.x, 4.3
Although we would not migrate to jcr2/jackrabbit2 soon, it would be nice to
make ProviderImpl compatible so that we could start "experimenting" a migration.
Jackrabbit 2.0 seems to work fine as a drop-in replacement for older version,
with only a few required changes to the nodetype registration:
- the ProviderImpl class have to be modified since the return value of
NodeTypeReader.read() has been changed from NodeTypeDef[] to
QNodeTypeDefinition[]
- the nodetype definition for mgnl:resource contains a
primaryItemName="jcr:data" property which is not needed (since it already
extends nt:resource) and that is not allowed in 2.0
ProviderImpl could be easily be updated to support both jackrabbit versions by
using reflection. The change for supporting jackrabbit 2 is really small.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------