Revision 1126
Jump to revision: |
|
Author: |
pje |
Date: |
Mon May 19 13:09:27 2003 UTC (20 years, 11 months ago) |
Log Message:
Added a ZConfig schema for 'running.commands.EventDriven' applications,
a ZConfig component definition for adaptive tasks, and a running shortcut
called 'EventDriven'. It should now be possible to do this::
#!/usr/bin/env peak EventDriven
at the top of a ZConfig file formatted according to the new schema, and
have it run. Unfortunately, so far the only type of task that can be
included is 'running.daemons.AdaptiveTask', which doesn't actually *do*
anything. So, right now doing this is equivalent to creating an over-
engineered 'sleep' command. ;)
Also, fixed a problem in ZConfig 'schema.dtd'; I used 'PCDATA' where I
should've used 'CDATA', and I fixed various problems with the
'fromZConfig()' component constructor. It's kind of annoying that ZConfig
defaults unspecified items to 'None', even if you said they weren't
required and had no default. :( I'll see if I can do something about this
later; for now I just delete 'None' values from the data.
Changed paths: