bin\mkzeoinstance.py creates unix instance on windows

Bug #143045 reported by ChrisW on 2004-06-28
4
Affects Status Importance Assigned to Milestone
zope.mkzeoinstance
Medium
Baiju Muthukadan

Bug Description

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

Rodrigo Senra (rsenra) wrote :

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>

affects: zope2 → zope.mkzeoinstance
Changed in zope.mkzeoinstance:
assignee: nobody → Baiju Muthukadan (baijum)
Changed in zope.mkzeoinstance:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers