[Erp5-report] r36829 rafael - /erp5/trunk/buildout/profiles/development-2.12.cfg
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jul 2 22:57:24 CEST 2010
Author: rafael
Date: Fri Jul 2 22:57:23 2010
New Revision: 36829
URL: http://svn.erp5.org?rev=36829&view=rev
Log:
Reduce the diff between development-2.12.cfg and development.cfg, merging some improvements into development-2.12.cfg.
Modified:
erp5/trunk/buildout/profiles/development-2.12.cfg
Modified: erp5/trunk/buildout/profiles/development-2.12.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/profiles/development-2.12.cfg?rev=36829&r1=36828&r2=36829&view=diff
==============================================================================
--- erp5/trunk/buildout/profiles/development-2.12.cfg [utf8] (original)
+++ erp5/trunk/buildout/profiles/development-2.12.cfg [utf8] Fri Jul 2 22:57:23 2010
@@ -1,26 +1,35 @@
+# This Configuration file is used to create a standard instance for developers.
+# You should build a software home before use this recipe.
+
[buildout]
-extends =
- ../profiles/deployment-2.12.cfg
+extends = ../profiles/deployment-2.12.cfg
parts +=
development-site
+ runUnitTest
+
+[configuration]
+development_site_bt5_path =
+
+development_site_products =
+ ${software_definition:products-erp5}
+ ${software_definition:products-erp5-development}
+ ${software_definition:products-deps}
+
+development_site_instancehome = ${buildout:var-directory}/development-site
[software_definition]
software_home = ${buildout:directory}
[runUnitTest]
-recipe = erp5.recipe.testrunner
+<= test-runner-template
eggs = ${development-site:eggs}
extra-paths = ${development-site:extra-paths}
-products =
- ${development-site:products}
+products = ${configuration:development_site_products}
-# XXX have this list be populated by software_definition keys. Maybe adjust
-# erp5.recipe.testrunner to accept this parameter in multiple lines and convert
-# to this comma separated list.
-bt5_path = ${development-site:bt5-path},${business-templates:paths}
+bt5_path = ${configuration:development_site_bt5_path}
-instance-home = ${development-site:instancehome}
+instance-home = ${configuration:development_site_instancehome}
initialization =
import os
os.environ['PATH'] = ':'.join(['${buildout:data-bin-directory}','${buildout:bin-directory}'] + os.environ.get('PATH','').split(':'))
@@ -53,15 +62,13 @@ mysql_superpassword =
# zope.conf template part BEGIN
debug-mode = on
-instancehome = ${buildout:var-directory}/development-site
+instancehome = ${configuration:development_site_instancehome}
http-address = 18080
# until we will have more control over products we need to redefine to insert
# local products to be able to override
products =
${:instancehome}/Products/
- ${software_definition:products-erp5}
- ${software_definition:products-erp5-development}
- ${software_definition:products-deps}
+ ${configuration:development_site_products}
# zope.conf template part ENDS
[requirements]
More information about the Erp5-report
mailing list