Added by Andrew Savory, last edited by Jasha Joachimsthal on Jun 18, 2008  (view change)

Labels:

repository repository Delete
intialization intialization Delete
roles roles Delete
privileges privileges Delete
acls acls Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Before using the CMS you will need to initialize the repository with a default content structure and Hippo CMS specific privileges. This can be done using the Hippo repository preparation tool (available from the Hippo CMS SVN repository).

The repository initialization tool only supports JDK 1.4 out-of-the-box. If you use JDK 1.5, uncomment the Xalan dependency in project.xml before compiling.

Hippo Repository preparation properties

You can use the sample.properties file included in the SVN project or create your own properties file containing the defaults you want to initialise the repository with. A typical file might look like the one below:

host=localhost
port=60000
rootPath=default
customer=default
authenticationRealm=default realm
username=root
password=password

useGui=false

systemuser.password=MySecretPassword

operation.resetRootAcl=true
operation.resetAcls=true

operation.createTwoReposPreviewLocation=true
operation.createTwoReposContentLocation=true
operation.createTwoReposBinariesLocationAndSetAcl=true

operation.createEditorLocation=false
operation.createThreeReposContentLocation=false
operation.createThreeReposBinariesLocationAndSetAcl=false
operation.createThreeReposPreviewLocationAndSetAcl=false

operation.createLiveLocationAndSetAcl=true
operation.createTrashLocationAndSetAcl=true
operation.createHistoryLocationAndSetAcl=true

operation.createHippoRoles=true
operation.createStandardUsers=true
operation.assignStandardPrivilegesToRoles=true

operation.createReviewedActionsPrivilegesAndAssignToRoles=true
operation.assignReviewedActionsHistoryPrivilegesToRoles=true

operation.createTaxonomyDocumentPrivilegesAndAssignToRoles=false
operation.createTaxonomyPlacementPrivilegesAndAssignToRoles=false


operation.createMultipleSitesDocumentPrivilegesAndAssignToRoles=false
operation.assignMultipleSitesDocumentHistoryPrivilegesToRoles=false


operation.createMultipleSitesintranetHippoRoles=false
operation.createMultipleSitesextranetHippoRoles=false
operation.createMultipleSitesinternetHippoRoles=false

operation.createMultipleSitesintranetPrivilegesAndAssignToRoles=false
operation.createMultipleSitesextranetPrivilegesAndAssignToRoles=false
operation.createMultipleSitesinternetPrivilegesAndAssignToRoles=false

Running the initialization:

cd hippo-tools/repository-initialization/trunk
maven
java -jar target/hippo-repository-preparation-1.01.02-dev-uber.jar sample.properties 

A brief explanation of what do parameters in sample properties mean would be great.

Posted by Francesco Chicchiricco at Oct 26, 2007 13:29 Updated by Francesco Chicchiricco

maven gave the following error with me (maven 1.0.2, windows)

Error retrieving artifact from [http://www.ibiblio.org/maven/commons-httpclient/
jars/commons-httpclient-2.0.1.jar]: java.io.IOException: Unknown error downloading; status code was: 301

solution here: http://blogs.atlassian.com/developer/2006/12/maven_1_repository_changes.html

so add http://mirrors.ibiblio.org/pub/mirrors/maven in the project.properties to maven.repo.remote

Thanks for the heads-up. I've updated the maven 1 repository location in the trunk.