JBoss.orgCommunity Documentation
These following plugins are required for upgrading to eXo Platform 3.5's new data structure, templates, skin and services.
Content data tructure
commons.upgrade.UpgradeVotingNodeTypePlugin: Ppgrade voting node type.
commons.upgrade.FavoriteActionUpgradePlugin: Ppgrade favorite action.
commons.upgrade.ThumbnailNodeTypeUpgradePlugin: Ppgrade thumbnail node type.
ECMS templates and scripts
They are:
commons.upgrade.NodeTypeTemplateUpgradePlugin
commons.upgrade.QueryUpgradePlugin
commons.upgrade.ScriptUpgradePlugin
commons.upgrade.SiteExplorerTemplateUpgradePlugin
commons.upgrade.WCMTemplateUpgradePlugin
commons.upgrade.UserViewUpgradePlugin
By default, all the ECMS templates will be automatically migrated. In case you want to migrate a specific template manually, you need to specify your desired template in the configuration.properties file.
With commons.upgrade.NodeTypeTemplateUpgradePlugin: Upgrade ecms node type template.
Specify the node type templates which you do not want to upgrade with the following syntax:
unchanged-nodetype-templates=<node name list>
For example:
unchanged-nodetype-templates=nt:file, exo:article
With commons.upgrade.QueryUpgradePlugin: Upgrade pre-defined queries.
Specify the pre-defined queries which you do not want to upgrade with the following syntax:
unchanged-queries=<query name list>
For example:
unchanged-queries=Created Documents
With commons.upgrade.ScriptUpgradePlugin: Upgrade pre-defined scripts.
Specify the pre-defined scripts which you do not want to upgrade with the following syntax:
unchanged-scripts=<script name list>
For example:
unchanged-scripts=action/AddMetadataScript.groovy, action/AddTaxonomyActionScript.groovy
With commons.upgrade.SiteExplorerTemplateUpgradePlugin: Upgrade site-explorer-templates.
Specify templates of Sites Explorer with the following syntax:
unchanged-site-explorer-templates=<templates name list>
For example:
unchanged-site-explorer-templates=ThumbnailsView, ContentView
With commons.upgrade.UserViewUpgradePlugin: Upgrade user view templates of Sites Explorer.
Specify views of Sites Explorer with the following syntax:
unchanged-site-explorer-views=<view name list>
For example:
unchanged-site-explorer-views=anonymous-view
Use the following templates to specify the templates of the Content List Viewer and Search portlets:
unchanged-clv-templates=<template name list> unchanged-wcm-search-templates=<template name list>
For example:
unchanged-clv-templates=list/BigHotNewsTemplateCLV.gtmpl,navigation/CategoryList.gtmpl unchanged-wcm-search-templates=search-form/UIDefaultSearchForm.gtmpl
Collaboration
commons.upgrade.UpgradeCalendarPlugin: upgrade Calendar.
Knowledge
commons.upgrade.UpgradeForumPlugin: upgrade Forum.
commons.upgrade.UpgradeWikiPlugin: upgrade Wiki.
commons.upgrade.UpgradeAnswerPlugin: upgrade Answers.
Social
commons.upgrade.UpgradeToMOSPlugin: upgrade Social Data Model.
commons.upgrade.UpgradeTemplatePlugin: upgrade Social Template.
commons.upgrade.Upgrade-Spaces-Home-page: upgrade spaces and homepage.
Gadgets
commons.upgrade.Upgrade-Gadgets: update gadgets with new skin and services. The list of gadgets to be updated is defined in the $PLF-3.5-TOMCAT_HOME/gatein/conf/portal/portal/configuration.xml or $PLF-3.5-JBOSS_HOME/server/default/conf/gatein/configuration.xml file, for example:
<component-plugin>
<name>Upgrade-Gadgets</name>
<set-method>addUpgradePlugin</set-method>
<type>org.exoplatform.platform.upgrade.plugins.UpgradeLocalGadgetsPlugin</type>
<description>Gadgets Upgrade Plugin</description>
<init-params>
<value-param>
<name>product.group.id</name>
<description>The groupId of the product</description>
<value>org.exoplatform.platform</value>
</value-param>
<!--value-param>
<name>plugin.execution.order</name>
<description>The plugin execution order</description>
<value>1</value>
</value-param-->
<object-param>
<name>eventslist</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>eventslist</string>
</field>
<field name="path">
<string>war:/gadgets/events/Events.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>taskslist</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>taskslist</string>
</field>
<field name="path">
<string>war:/gadgets/tasks/Tasks.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>messageslist</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>messageslist</string>
</field>
<field name="path">
<string>war:/gadgets/messages/Messages.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>To-do</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>To-do</string>
</field>
<field name="path">
<string>war:/gadgets/Todo/Todo.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>Calendar</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>Calendar</string>
</field>
<field name="path">
<string>war:/gadgets/Calendar/Calendar.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>Calculator</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>Calculator</string>
</field>
<field name="path">
<string>war:/gadgets/Calculator/Calculator.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>rssAggregator</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>rssAggregator</string>
</field>
<field name="path">
<string>war:/gadgets/rssAggregator/rssAggregator.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>IDE</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>IDE</string>
</field>
<field name="path">
<string>war:/ide.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>lastpost</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>lastpost</string>
</field>
<field name="path">
<string>war:/gadgets/lastpost/Lastpost.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>pollslist</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>pollslist</string>
</field>
<field name="path">
<string>war:/gadgets/polls/Polls.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>Activities</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>Activities</string>
</field>
<field name="path">
<string>war:/gadgets/Activities/Activities.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>ViewerFriends</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>ViewerFriends</string>
</field>
<field name="path">
<string>war:/gadgets/ViewerFriends/ViewerFriends.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>SocialRssReader</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>SocialRssReader</string>
</field>
<field name="path">
<string>war:/gadgets/SocialRssReader/SocialRssReader.xml</string>
</field>
</object>
</object-param>
<object-param>
<name>MySpaces</name>
<object type="org.exoplatform.platform.upgrade.plugins.GadgetUpgrade">
<field name="name">
<string>MySpaces</string>
</field>
<field name="path">
<string>war:/gadgets/MySpaces/MySpaces.xml</string>
</field>
</object>
</object-param>
</init-params>
</component-plugin>