source: products/quintagroup.plonegooglesitemaps/tags/1.2/quintagroup/plonegooglesitemaps/configure.zcml

Last change on this file was 2385, checked in by mylan, 10 years ago

#205: Fix plugging-in of required packages configuration

File size: 2.2 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:five="http://namespaces.zope.org/five"
4    xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
5    xmlns:cmf="http://namespaces.zope.org/cmf"
6    i18n_domain="quintagroup.plonegooglesitemaps">
7
8    <!-- Include dependent packages -->
9    <include package="quintagroup.canonicalpath" />
10    <include package="quintagroup.catalogupdater" />
11
12    <five:registerPackage package="." initialize=".initialize" />
13
14    <cmf:registerDirectory name="skins" directory="skins" recursive="True" />
15
16    <!-- Include the sub-packages that use their own configure.zcml files. -->
17    <include package=".browser" />
18    <include package=".content" />
19
20    <!-- Register the installation GenericSetup extension profile -->
21    <genericsetup:registerProfile
22      name="default"
23      title="Plone Google Sitemaps"
24      directory="profiles/default"
25      description=""
26      provides="Products.GenericSetup.interfaces.EXTENSION"
27      />
28
29    <genericsetup:registerProfile
30      name="upgrade_1_0_to_1_1"
31      title="Plone Google Sitemaps"
32      directory="profiles/upgrade_1_0_to_1_1"
33      description=""
34      provides="Products.GenericSetup.interfaces.EXTENSION"
35      />
36
37    <genericsetup:registerProfile
38      name="upgrade_1_1_to_1_2"
39      title="Plone Google Sitemaps"
40      directory="profiles/upgrade_1_1_to_1_2"
41      description=""
42      provides="Products.GenericSetup.interfaces.EXTENSION"
43      />
44
45    <genericsetup:upgradeStep
46      title="Upgrade Plone Google Sitemaps 1.0 to 1.1"
47      description="Upgrade quintagroup.plonegooglesitemaps 1.0 to 1.1"
48      source="*"
49      destination="1.1"
50      handler=".upgrades.upgrade_1_0_to_1_1"
51      sortkey="1"
52      profile="quintagroup.plonegooglesitemaps:default"
53      />
54
55    <genericsetup:upgradeStep
56      title="Upgrade Plone Google Sitemaps 1.1 to 1.2"
57      description="Upgrade quintagroup.plonegooglesitemaps 1.1 to 1.2"
58      source="*"
59      destination="1.2"
60      handler=".upgrades.upgrade_1_1_to_1_2"
61      sortkey="2"
62      profile="quintagroup.plonegooglesitemaps:default"
63      />
64
65    <!-- -*- extra stuff goes here -*- -->
66
67    <subscriber handler=".handlers.pingGoogle"/>
68
69</configure>
Note: See TracBrowser for help on using the repository browser.