bin\mkzeoinstance.py creates unix instance on windows

Bug #143045 reported by ChrisW
4
Affects Status Importance Assigned to Milestone
zope.mkzeoinstance
Invalid
Medium
Baiju Muthukadan

Bug Description

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

Tags: bug zope
Revision history for this message
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
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope.mkzeoinstance project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope.mkzeoinstance.

Changed in zope.mkzeoinstance:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.