code.onehippo.org is currently readonly. We are migrating to code.bloomreach.com, please continue working there on Monday 14/12. See: https://docs.bloomreach.com/display/engineering/GitLab

Commit 282cb7a1 authored by Ate Douma's avatar Ate Douma

REPO-1881 ensure configuration.xml is found, also within unit tests

parent a70298c4
......@@ -321,7 +321,7 @@ public class LocalHippoRepository extends HippoRepositoryImpl {
initializeSystemNodeTypes(initializationProcessor, bootstrapSession, jackrabbitRepository.getFileSystem());
if (!bootstrapSession.nodeExists("/hippo:configuration")) {
log.debug("Initializing configuration content");
BootstrapUtils.initializeNodecontent(bootstrapSession, "/", getClass().getResource("configuration.xml"));
BootstrapUtils.initializeNodecontent(bootstrapSession, "/", getClass().getResource("/org/hippoecm/repository/configuration.xml"));
bootstrapSession.save();
} else {
log.debug("Initial configuration content already present");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment