#19 Mods to MakeAppworkDir.py

closed-accepted
nobody
MiscUtils (2)
5
2002-03-07
2002-01-29
Anonymous
No

Fixed misspellings in intro doc string.
Fixed problem with template using writeBody vs writeContent,
which caused <body> tags not to be written.

Patch against current CVS is as follows:

lobo% cvs diff -c MakeAppWorkDir.py
Index: MakeAppWorkDir.py
======================================================
=============
RCS file: /cvsroot/webware/Webware/bin/MakeAppWorkDir.py,v
retrieving revision 1.7
diff -c -r1.7 MakeAppWorkDir.py
*** MakeAppWorkDir.py 2001/11/24 13:50:46 1.7
--- MakeAppWorkDir.py 2002/01/29 02:47:54
***************
*** 14,25 ****
INTRODUCTION

This utility builds a directory tree that can be used as the
current
! working directory of an instance of the WebKit applicaiton
server. By
! using a separate directory tree like this your applicaion can run
without needing write access, etc. to the WebWare directory
tree, and
you can also run more than one application server at once using
the
same WebWare code. This makes it easy to reuse and keep
WebWare
! updated without disturbing your applicaitons.

COMMAND LINE USAGE
--- 14,25 ----
INTRODUCTION

This utility builds a directory tree that can be used as the
current
! working directory of an instance of the WebKit application
server. By
! using a separate directory tree like this your application can run
without needing write access, etc. to the WebWare directory
tree, and
you can also run more than one application server at once using
the
same WebWare code. This makes it easy to reuse and keep
WebWare
! updated without disturbing your applications.

COMMAND LINE USAGE
***************
*** 312,318 ****
def title(self):
return 'My Sample Context'

! def writeBody(self):
self.writeln('<h1>Welcome to Webware!</h1>')
self.writeln('''
This is a sample context generated for you and has
purposly been kept very simple
--- 312,318 ----
def title(self):
return 'My Sample Context'

! def writeContent(self):
self.writeln('<h1>Welcome to Webware!</h1>')
self.writeln('''
This is a sample context generated for you and has
purposly been kept very simple

Discussion

  • Geoff Talvola
    Geoff Talvola
    2002-03-07

    • status: open --> closed-accepted
     
  • Geoff Talvola
    Geoff Talvola
    2002-03-07

    Logged In: YES
    user_id=88162

    This patch has been applied to CVS and will go into 0.7b2
    or 0.7 final, whichever is released next.