From: Ritu S. <sf...@us...> - 2004-09-02 07:52:05
|
Update of /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/examples/workflow In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13870/src/org/smartfrog/examples/workflow Modified Files: base.sf Log Message: Modified RunDaemon component to extend DoNothing since it was extending Prim without any sfClass attribute because of which the example was failing Index: base.sf =================================================================== RCS file: /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/examples/workflow/base.sf,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** base.sf 30 Jan 2004 00:10:47 -0000 1.1.1.1 --- base.sf 2 Sep 2004 07:51:54 -0000 1.2 *************** *** 74,86 **** /** ! * There are two choices for the daemon: either we can have a component that ! * starts it then terminates and then another that stops it or we can launch a ! * component that exists whilst the daemon should be running, starting in ! * sfStart and terminating in sfTerminateWith. ! * The component is given the command line as a string */ ! ! RunDaemon extends Prim { ! commandLine "echo running daemon"; ! } --- 74,82 ---- /** ! * The RunDaemon component issues a message stating that the daemon is running, ! * delays a couple of seconds, and terminates. */ ! RunDaemon extends DoNothing { ! time 200; ! message "echo running daemon"; } |