. WCM folders patch for pre-existing Alfresco installations

- Creates the "/Company Home/Web Projects" dir if it does not already exist
 - Creates the "/Company Home/Data Dictionary/Web Forms" dir if it does not already exist
 - Updates current schema version to 32

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4895 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-01-22 14:52:03 +00:00
parent 1351672df3
commit 1df73f058a
5 changed files with 381 additions and 2 deletions

View File

@@ -309,7 +309,7 @@
<prop key="spaces.scripts.childname">${spaces.scripts.childname}</prop>
<prop key="spaces.wcm.childname">${spaces.wcm.childname}</prop>
<prop key="spaces.content_forms.childname">${spaces.content_forms.childname}</prop>
<prop key="spaces.user_homes.childname">${spaces.user_homes.childname}</prop>
<prop key="spaces.user_homes.childname">${spaces.user_homes.childname}</prop>
</props>
</property>
</bean>

View File

@@ -115,3 +115,9 @@ patch.multilingualBootstrap.description=Bootstraps the node that will hold the m
patch.userHomesFolder.description=Ensures the existence of the 'User Homes' folder.
patch.userHomesFolder.result.exists=The user homes folder already exists: {0}
patch.userHomesFolder.result.created=The user homes folder was successfully created: {0}
patch.wcmFolders.description=Ensures the existance of the WCM specific 'Web Projects' and 'Web Forms' folders.
patch.wcmFolders.webprojects.result.exists=The Web Projects folder already exists: {0}
patch.wcmFolders.webprojects.result.created=The Web Projects folder was successfully created: {0}
patch.wcmFolders.webforms.result.exists=The Web Forms folder already exists: {0}
patch.wcmFolders.webforms.result.created=The Web Forms folder was successfully created: {0}

View File

@@ -552,5 +552,20 @@
<ref bean="spacesBootstrap" />
</property>
</bean>
<bean id="patch.wcmFolders" class="org.alfresco.repo.admin.patch.impl.WCMFoldersPatch" parent="basePatch" >
<property name="id"><value>patch.wcmFolders</value></property>
<property name="description"><value>patch.wcmFolders.description</value></property>
<property name="fixesFromSchema"><value>0</value></property>
<property name="fixesToSchema"><value>31</value></property>
<property name="targetSchema"><value>32</value></property>
<!-- helper beans for execution -->
<property name="messageSource">
<ref bean="bootstrapSpacesMessageSource" />
</property>
<property name="importerBootstrap">
<ref bean="spacesBootstrap" />
</property>
</bean>
</beans>

View File

@@ -19,4 +19,4 @@ version.build=@build-number@
# Schema number
version.schema=31
version.schema=32