Ignore:
Timestamp:
2 Jul 2012, 00:16:20 (12 years ago)
Author:
uli
Message:

Get rid of includeDependencies. It seems to be a problem when using
waeup.kofa from third packages.

We now configure all packages needed 'manually' if not configured
already by grok.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-autoinclude-less/src/waeup/kofa/configure.zcml

    r8426 r8871  
    33           xmlns:i18n="http://namespaces.zope.org/i18n">
    44
    5   <include package="waeup.kofa" file="locales.zcml" />
     5  <!-- This will load and configure most packages we need. -->
    66  <include package="grok" />
     7
     8  <!-- Meta configurations. -->
     9  <include package="zope.sendmail" file="meta.zcml" />
    710  <include package="waeup.kofa" file="meta.zcml" />
    8   <includeDependencies package="." />
     11
     12  <!-- Extra packages we have to configure -->
     13  <include package="grokcore.message" />
     14  <include package="hurry.zoperesource" />
     15  <include package="megrok.layout" />
     16  <include package="zc.sourcefactory" />
     17  <include package="zope.app.authentication" />
     18  <include package="zope.sendmail" />
    919
    1020  <!-- Comment the following line if you don't want dolmen.beaker,
     
    1525       be found by the includeDependencies directive. -->
    1626  <include package="dolmen.beaker" file="configure.zcml" />
    17   <grok:grok package="." />
    1827
    19 
     28  <include package="waeup.kofa" file="locales.zcml" />
     29  <grok:grok package="waeup.kofa" />
     30  <!-- The following configurations are large (or expected to become
     31       large) and therefore 'outsourced' - the only ethical way to do
     32       outsourcing ;-)
     33  -->
    2034  <includeOverrides package="waeup.kofa.widgets" file="overrides.zcml" />
    2135  <includeOverrides package="waeup.kofa.utils" file="overrides.zcml" />
Note: See TracChangeset for help on using the changeset viewer.