[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/ Convert zope.app.index to use ZCML slugs in package-includes so zope.app

Fred L. Drake, Jr. fred at zope.com
Fri May 14 18:24:44 EDT 2004


Log message for revision 24701:
Convert zope.app.index to use ZCML slugs in package-includes so zope.app
does not have to include zope.app.mail; zope.app is not allowed to depend on
contained packages.



-=-
Modified: Zope3/trunk/src/zope/app/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/configure.zcml	2004-05-14 22:15:01 UTC (rev 24700)
+++ Zope3/trunk/src/zope/app/configure.zcml	2004-05-14 22:24:44 UTC (rev 24701)
@@ -32,7 +32,6 @@
 
   <include package="zope.app.publisher" />
   <include package="zope.app.traversing" />
-  <include package="zope.app.index" />
   <include package="zope.app.pagetemplate" />
   <include package="zope.app.interpreter" />
   <include package="zope.app.renderer" />

Added: Zope3/trunk/src/zope/app/index/PACKAGE.cfg
===================================================================
--- Zope3/trunk/src/zope/app/index/PACKAGE.cfg	2004-05-14 22:15:01 UTC (rev 24700)
+++ Zope3/trunk/src/zope/app/index/PACKAGE.cfg	2004-05-14 22:24:44 UTC (rev 24701)
@@ -0,0 +1,7 @@
+# Pick up the ZCML slugs:
+
+<load>
+
+index-configure.zcml svn://svn.zope.org/repos/main/Zope3/tags/*/package-includes/index-configure.zcml
+
+</load>

Added: Zope3/trunk/src/zope/app/index/SETUP.cfg
===================================================================
--- Zope3/trunk/src/zope/app/index/SETUP.cfg	2004-05-14 22:15:01 UTC (rev 24700)
+++ Zope3/trunk/src/zope/app/index/SETUP.cfg	2004-05-14 22:24:44 UTC (rev 24701)
@@ -0,0 +1,5 @@
+# Tell zpkg how to install the ZCML slugs.
+
+<data-files etc/package-includes>
+  index-*.zcml
+</data-files>




More information about the Zope3-Checkins mailing list