Commit e33526ea authored by Hanno Schlichting's avatar Hanno Schlichting

Move general meta/configure statements into files in Zope2/App

parent 1ec27b1a
<configure xmlns="http://namespaces.zope.org/zope" <configure xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"> xmlns:five="http://namespaces.zope.org/five">
<include package="Zope2.App" file="configure.zcml" />
<include file="meta.zcml" /> <include file="meta.zcml" />
<include file="permissions.zcml" /> <include file="permissions.zcml" />
<include package="zope.traversing" />
<include package="OFS "/>
<include package="ZPublisher" />
<include package=".component" /> <include package=".component" />
<include package=".browser" /> <include package=".browser" />
<include package=".skin" /> <include package=".skin" />
......
<configure xmlns="http://namespaces.zope.org/zope">
<include package="OFS" file="deprecated.zcml"/>
</configure>
<configure xmlns="http://namespaces.zope.org/zope">
<include package="OFS" file="event.zcml"/>
</configure>
<configure
xmlns="http://namespaces.zope.org/zope">
<include package="ZPublisher" file="i18n.zcml" />
</configure>
...@@ -2,23 +2,9 @@ ...@@ -2,23 +2,9 @@
xmlns="http://namespaces.zope.org/zope" xmlns="http://namespaces.zope.org/zope"
xmlns:meta="http://namespaces.zope.org/meta"> xmlns:meta="http://namespaces.zope.org/meta">
<include package="AccessControl" file="meta.zcml" /> <include package="Zope2.App" file="meta.zcml" />
<include package="OFS" file="meta.zcml" />
<include package="zope.component" file="meta.zcml" />
<include package="zope.i18n" file="meta.zcml" />
<include package=".browser" file="meta.zcml" /> <include package=".browser" file="meta.zcml" />
<meta:directives namespace="http://namespaces.zope.org/zope">
<meta:directive
name="view"
schema="zope.component.zcml.IViewDirective"
handler="zope.component.zcml.view"
/>
</meta:directives>
<meta:directives namespace="http://namespaces.zope.org/five"> <meta:directives namespace="http://namespaces.zope.org/five">
<!-- specific to Five --> <!-- specific to Five -->
......
<configure xmlns="http://namespaces.zope.org/zope" <configure xmlns="http://namespaces.zope.org/zope"
i18n_domain="Five"> i18n_domain="Five">
<include package="AccessControl" file="permissions.zcml" />
<permission <permission
id="five.ManageSite" id="five.ManageSite"
title="Manage Five local sites" title="Manage Five local sites"
......
<configure xmlns="http://namespaces.zope.org/zope">
<include package="ZPublisher" file="publisher.zcml"/>
</configure>
<configure xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five">
<include file="meta.zcml" />
<include package="AccessControl" file="permissions.zcml" />
<include package="zope.traversing" />
<include package="OFS "/>
<include package="ZPublisher" />
</configure>
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:meta="http://namespaces.zope.org/meta">
<include package="AccessControl" file="meta.zcml" />
<include package="OFS" file="meta.zcml" />
<include package="zope.component" file="meta.zcml" />
<include package="zope.i18n" file="meta.zcml" />
<meta:directives namespace="http://namespaces.zope.org/zope">
<meta:directive
name="view"
schema="zope.component.zcml.IViewDirective"
handler="zope.component.zcml.view"
/>
</meta:directives>
</configure>
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
xmlns:meta="http://namespaces.zope.org/meta" xmlns:meta="http://namespaces.zope.org/meta"
xmlns:five="http://namespaces.zope.org/five"> xmlns:five="http://namespaces.zope.org/five">
<include package="Zope2.App" />
<include package="Products.Five" /> <include package="Products.Five" />
<meta:redefinePermission from="zope2.Public" to="zope.Public" /> <meta:redefinePermission from="zope2.Public" to="zope.Public" />
<!-- Load the meta --> <!-- Load the meta -->
<include files="package-includes/*-meta.zcml" /> <include files="package-includes/*-meta.zcml" />
<five:loadProducts file="meta.zcml"/> <five:loadProducts file="meta.zcml"/>
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
<includeOverrides files="package-includes/*-overrides.zcml" /> <includeOverrides files="package-includes/*-overrides.zcml" />
<five:loadProductsOverrides /> <five:loadProductsOverrides />
<securityPolicy <securityPolicy
component="AccessControl.security.SecurityPolicy" /> component="AccessControl.security.SecurityPolicy" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment