plone resource registry 采用命令行工具编译时注意事项
plone resource registry 采用命令行工具编译时注意事项
http://www.315ok.org/blogfolder/plone-resource-registry-caiyongminglingxinggongjubianyishizhuyishixiang
http://www.315ok.org/logo.png
plone resource registry 采用命令行工具编译时注意事项
plone resource registry 采用命令行工具编译时注意事项
plone resource registry 采用命令行工具编译时注意事项
- 生成命令行工具 plone-compile-resources
在开发buildout 配置中加入如下:
[resources]
recipe = zc.recipe.egg
eggs =
plone.staticresources
scripts = plone-compile-resources
运行bin/buildout后,将在bin目录生成 plone-compile-resources
- 在运行plone-compile-resources前的准备
在开发实例中新建一个Plone站点(不加载任何第三方包)
在该Plone站点中应用 registry.xml的资源注册,可以通过Plone_setup 来导入该资源注册registry.xml
- bin/plone-compile-resources -s Plone -b your_bundle