[HIPPO] Change repository directory

October 28, 2009 in IT and Stuff

When i am starting to use hippo, I start adding pages, components, and other stuff. And sometimes, I do “mvn clean install” …which is bad…because it will remove all the changes I have added to it.

So, to prevent it I configure the repository directory. Therefore, I will not lose anything I have added to the hippo cms everytime I do “mvn clean install”

So go to the web.xml of cms folder

Change the param-value of param-name “repository-directory”
In this case, it is changed to file:///C:/yourworkrepositorydirectoryfolder


Repository
org.hippoecm.repository.RepositoryServlet

repository-directory file:///C:/yourworkrepositorydirectoryfolder The (relative) location where to store files

repository-config repository.xml The location of the repository configuration file. Unless the location
starts with file://, the location is retrieved from within the application package as
resource.


4