Monday, June 25, 2012

Liferay 6.1 Jackrabbit Bug

If you use jackrabbit for your document library, Liferay documentation suggests that your ext plugin should have a file
  • ext-impl/src/com/liferay/portal/jcr/jackrabbit/dependencies/repository-ext.xml
    • Description: This file allows overwriting the configuration of the Jackrabbit repository. Refer to the Jackrabbit configuration documentation for details (http://jackrabbit.apache.org/jackrabbit-configuration.html)
    • Original file in Liferay: portal-impl/src/com/liferay/portal/jcr/jackrabbit/dependencies/repository.xml
However, if you actually deploy, liferay will copy the standard repository.xml from the core to your data\jackrabbit directory.  Which means there was no point whatsoever to repository-ext.xml.  It sort of mostly worked in 5.2.3 though, so it's just a reversion bug.



Cross posted to the DL Blog.

No comments: