content-management-systemhippocms

Modifying Hippo cnd file


I'm modifying some default cnd files in my Hippo CMS project. When I upload a new cnd to the console, autoexport works and creates a new .cnd file in my bootstrap configuration module.

This happens with all cnd files but hippo.cnd.

I manually created a hippo.cnd file in my bootstrap module and removed my local repository. But when I restarted the project all cnd were initialized well but hippo.cnd.

Does somebody have a solution for bootstraping hippo.cnd file?


Solution

  • The hippo.cnd file is a system based CND file. You should never have to change that file, because you can always create types that extend the default hippo nodetypes. The reason it does not reload properly is, because the repository is loading the hippo.cnd file when it starts. During the starting phase it checks if there is an existing repository. If not it will bootstrap the internal hippo.cnd file.