[Erp5-report] r32617 luke - in /erp5/trunk/buildout: ./ instance-profiles/

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 16 14:33:25 CET 2010


Author: luke
Date: Tue Feb 16 14:33:24 2010
New Revision: 32617

URL: http://svn.erp5.org?rev=32617&view=rev
Log:
 - allow to start oood
 - use locally built oood in development profile

Modified:
    erp5/trunk/buildout/development.cfg
    erp5/trunk/buildout/instance-profiles/oood.cfg

Modified: erp5/trunk/buildout/development.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/development.cfg?rev=32617&r1=32616&r2=32617&view=diff
==============================================================================
--- erp5/trunk/buildout/development.cfg [utf8] (original)
+++ erp5/trunk/buildout/development.cfg [utf8] Tue Feb 16 14:33:24 2010
@@ -3,6 +3,7 @@
 
 parts +=
   start-mysql-instance
+  start-oood-instance
   cmf15
   products-deps
   products-other

Modified: erp5/trunk/buildout/instance-profiles/oood.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/instance-profiles/oood.cfg?rev=32617&r1=32616&r2=32617&view=diff
==============================================================================
--- erp5/trunk/buildout/instance-profiles/oood.cfg [utf8] (original)
+++ erp5/trunk/buildout/instance-profiles/oood.cfg [utf8] Tue Feb 16 14:33:24 2010
@@ -22,9 +22,26 @@
 output = ${configuration:oood_conf_file}
 
 [oood-instance]
+depends = ${oood-etc:output}
 recipe = collective.recipe.template
 input = ${buildout:directory}/templates/oood-runserw.in
 output = ${buildout:data-bin-directory}/oood-runserw
 
+[start-oood-instance]
+depends = ${oood-instance:output}
+recipe = plone.recipe.command
+command =
+  ${buildout:data-bin-directory}/oood-runserw --start &
+  sleep 5
+update-command = ${:command}
+
+[stop-oood-instance]
+depends = ${oood-instance:output}
+recipe = plone.recipe.command
+command =
+  ${buildout:data-bin-directory}/oood-runserw --stop &
+  sleep 5
+update-command = ${:command}
+
 [requirements]
 binary = Xvfb




More information about the Erp5-report mailing list