[Checkins] SVN: bluebream/website/docs/v1.0/howto/newdependency.rst Mention about meta packages

Baiju M baiju.m.mail at gmail.com
Tue Mar 2 12:24:06 EST 2010


Log message for revision 109566:
  Mention about meta packages
  

Changed:
  U   bluebream/website/docs/v1.0/howto/newdependency.rst

-=-
Modified: bluebream/website/docs/v1.0/howto/newdependency.rst
===================================================================
--- bluebream/website/docs/v1.0/howto/newdependency.rst	2010-03-02 17:15:59 UTC (rev 109565)
+++ bluebream/website/docs/v1.0/howto/newdependency.rst	2010-03-02 17:24:05 UTC (rev 109566)
@@ -26,7 +26,7 @@
 
     $ ./bin/buildout
 
-Finally, remember to register the new package at ``site.zcml``::
+Finally, remember to register the new package at ``etc/site.zcml``::
 
     <configure xmlns="http://namespaces.zope.org/zope"
       ...
@@ -34,6 +34,18 @@
       ...
     </configure>
 
+If there is any new directive required for this package, you need to
+include the configuration file where the directive is registered.
+Normally the ZCML directives will be registered in meta package.  You
+can use the ``file`` option as given below::
+
+    <configure xmlns="http://namespaces.zope.org/zope"
+      ...
+      <include package="some.package" file="meta.zcml" />
+      <include package="ldappas" />
+      ...
+    </configure>
+
 And restart application::
 
   $ ./bin/paster serve debug.ini



More information about the checkins mailing list