I've made a couple small additions to CVS. You can now write your configuration files like Python modules, e.g.:

#AppServer.config
PrintConfigAtStartUp = True
Verbose = True
Host = '127.0.0.1'

#instead of
{
        'PrintConfigAtStartUp': 1,
        'Verbose': 1,
        'Host': '127.0.0.1',
}

The % substitutions are now replaced by having variables present, like:

Context['Admin'] = WebKitPath + '/Admin'

You're free to use any other Python you care for as well, e.g., os.environ().

There's also some small changes to MakeAppWorkDir.py, so you can set up the Wiki (in svn://w4py.org/Wiki) like:

MakeAppWorkDir -c Wiki -d ~/w4py.org/Wiki/Context -l ~/w4py.org/Wiki \
    ~/WikiWorkDir

And no further configuration should be required. (It would be nice to allow things like --AppServer.Port=9000, and have it update AppServer.config as well, but not for now.)

Lastly, AutoReload now isn't triggered by updating servlet files (which can generally be safely reloaded).

Cheers.

--
Ian Bicking  /  [EMAIL PROTECTED]  /  http://blog.ianbicking.org


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to