Commit 06bde8c4 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix ERP5 products path for Zeo conflict resolution.

parent 531c2a30
......@@ -128,6 +128,10 @@ parts =
erp5
genbt5list
# fix products path (Zeo needs ERP5 Products to be available for
# conflict resolution)
fix-erp5-products-path
[bt5-repository]
# Format:
# <url or path> [...]
......@@ -226,7 +230,14 @@ update-command = cd ${:location} && ${git:location}/bin/git pull --quiet && if [
[products]
# XXX: ERP5 related products are not defined as python distributions, so it is
# required to configure them in declarative manner
list = ${products-deps:location} ${buildout:parts-directory}/erp5/product
list = ${products-deps:location}
[fix-erp5-products-path]
recipe = plone.recipe.command
stop-on-error = true
command =
for DIR in "${erp5:location}"; do cd "$DIR"; rm -f Products ; ln -s product Products; touch product/__init__.py; done
update-command = ${:command}
[testrunner]
# XXX: Workaround for fact ERP5Type is not an distribution and does not
......@@ -288,7 +299,6 @@ python = python2.6
eggs =
# instantiation egg
${instance-recipe:egg}
erp5.conflictresolver
[eggs]
recipe = zc.recipe.egg
......@@ -369,6 +379,7 @@ scripts =
extra-paths =
${itools:location}/lib
${erp5:location}
[mysql-python]
python = python2.6
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment