[ZCM] [ZC] 1388/ 2 Comment "bin\mkzeoinstance.py creates unix instance on windows"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Thu Aug 12 15:11:12 EDT 2004


Issue #1388 Update (Comment) "bin\mkzeoinstance.py creates unix instance on windows"
 Status Pending, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/1388

==============================================================
= Comment - Entry #2 by rodsenra on Aug 12, 2004 3:11 pm

 Since  mkzopeinstance.py generates a nice runzope.bat,
 but mkzeoinstance.py lacks a runzeo.bat,
 I made a little runzeo.bat.in:

<runzeo.bat.in>

@set PYTHON=<<PYTHON>>
@set ZOPE_HOME=<<ZOPE_HOME>>
@set INSTANCE_HOME=<<INSTANCE_HOME>>
@set SOFTWARE_HOME=<<SOFTWARE_HOME>>
@set CONFIG_FILE=<<INSTANCE_HOME>>\etc\zeo.conf
@set PYTHONPATH=%SOFTWARE_HOME%
@set ZEO_RUN=%SOFTWARE_HOME%\ZEO\runzeo.py
"%PYTHON%" "%ZOPE_RUN%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6 %7 

</runzeo.bat.in>
 
Just dropping that at <<ZOPE_HOME>>\skel\bin 
should do the trick, but  it seems that mkzeoinstance.py does not use skeletons!
I guess it would be a bit awkward to have runzeo.bat
created by mkzopeinstance.py instead of mkzeoinstance. 

I don't know if is there any interest in converting mkzeoinstance.py  to use skeletons
(instead of code embeeded templates) ?

Nevertheless, I believe runzeo.bat would be a plus.

regards,
Senra <rsenra at acm.org>

________________________________________
= Request - Entry #1 by chrisw on Jun 28, 2004 5:37 pm

Not a batch file in sight, just a coupla of shell scripts :-(
==============================================================



More information about the Zope-Collector-Monitor mailing list