ModeShape/modeshape — pull request #406 by rhauch (2012-06-11 19:23:43+00:00)
Title: MODE-1510 Corrected configuration of Infinispan for index storage

ModeShape internally generates a Hibernate Search engine configuration based upon ModeShape's configuration. Hibernate Search can use the Infinispan Lucene Directory to store Lucene indexes in Infinispan, but ModeShape incorrectly passed down the information about where the Infinispan configuration was, preventing using the same Infinispan configuration for both content storage and index storage.

This change corrects this problem, and allows defaulting to the same file-based Infinispan configuration for index storage that's used for content storage. This fix should also work in AS7, since the JNDI name of the cache container is passed through.

The build completes successfully with these changes.