[MAGNOLIA-2988] Preliminary support for jackrabbit 2 Created: 04/Jan/10 Updated: 23/Jan/13 Resolved: 31/Jan/10 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | None |
| Fix Version/s: | 4.3 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Fabrizio Giustina | Assignee: | Fabrizio Giustina |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||
| Description |
|
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:
ProviderImpl could be easily be updated to support both jackrabbit versions by using reflection. The change for supporting jackrabbit 2 is really small. |
| Comments |
| Comment by Fabrizio Giustina [ 04/Jan/10 ] |
|
patch committed to trunk |
| Comment by Fabrizio Giustina [ 31/Jan/10 ] |
|
reopening, the patch is not fully working: there is still a binary incompatibility with jackrabbit 2 when the ProviderImpl class is compiled with 1.6 |
| Comment by Fabrizio Giustina [ 31/Jan/10 ] |
|
Also ntReg.getNodeTypeDef() is now called using reflection. |