zc用于定义zope 3实例的构建方法

zc.recipe.zope3instance的Python项目详细描述


此配方创建一个zope实例,该实例已由 收集鸡蛋。

配方有以下选项:

zope3
提供zope 3安装定义的节的名称。 默认为zope3。该部分必须有 提供安装位置的位置选项。这个 可能是用来安装部件的部分,比如Zope3签出, 或者简单地指向指向现有的位置选项的部分 安装。
数据库
定义具有zodb的zconfig选项的节的名称 章节。
用户
Manager用户的用户名和密码
鸡蛋
一个或多个包含分发内容的要求。

zcml

If specified, provides the list of package ZCML files to include in the instance’s package includes and their order.

By default, the ZCML files normally included in package-includes are ommitted. To includes these, include ‘*’ in the list of includes.

Each entry is a package name with an optional include type and file name. An package name can be optionally followed by a ‘:’ and a file name within the package. The default file name is configure.zcml. The string ‘-meta’ can be included between the file name and the package name. If so, then the default file name is meta.zcml and the include will be treated as a meta include. Similarly for ‘-overrides’. For example, the include:

foo.bar

Causes the file named NNN-foo.bar-configure.zcml to be inserted into package-includes containing:

<include package=”foo.bar” file=”configure.zcml” />

其中nnn是根据订单计算的3位数字,如果输入 在zcml选项中。

包括:

foo.bar-meta

导致插入名为nnn-foo.bar-meta.zcml的文件 包装内包括:

<include package=”foo.bar” file=”meta.zcml” />

包括:

foo.bar-overrides:x.zcml

导致插入名为nnn-foo.bar-overrides.zcml的文件 包装内包括:

<include package=”foo.bar” file=”x.zcml” />

待办事项

  • 需要测试
  • 希望对于Zope3.4,我们能够创建实例 过程更加模块化,这将允许更干净的实现 这个食谱。
  • 支持多存储
  • 支持更多配置选项。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
无法在Netbeans 8.2 JDK8u231中创建java Maven项目(Web应用程序)   java如何以设定的时间间隔生成随机数?   java从socket和inputStream的慢速读取   spring SCORM:Java中基于Web的SCORM播放器   Java将函数传递给方法   java绑定通用服务及其实现和子类型   java如何在运行时从选择列表框中动态选择选项?爪哇硒   java Selenium WebDriver什么是“Selenium客户端和WebDriver语言绑定”   elasticsearch需要elasticsearch高级Java客户端更新ByQueryRequest API帮助   JAVA哈希表查找最大值   WSDL操作中的java soapAction属性为空   java访问封闭类或父类方法的一般方法   eclipse在java中运行带有SeleneTestCase的ANT。lang.NoClassDefFoundError   java Hazelcast不会在节点启动时填充ReplicatedMap   如何在Java中从excel中读取特定行?   html JAVA将本地时间(GMT+8)转换为UTC时间   java将自定义端点添加到Spring数据REST存储库中,并以大摇大摆的方式显示   java计算未来位置