On Mon, Nov 16, 2009 at 2:07 PM, kiko <[email protected]> wrote: > > load 'public/defs/exec_process.rb' > load 'public/defs/restore_process.rb' > > engine.register_participant(:execprocess, > OpenWFE::ProcessParticipant.new(ExecProcess)) > engine.register_participant(:restoreprocess, > OpenWFE::ProcessParticipant.new(RestoreProcess)) > > The file would look like this: > file: public/defs/exec_process.rb > class ExecProcess < OpenWFE::ProcessDefinition > #_print "Init phase asdfasdfasdfa asdf ${f:restore_skip}" > > (...) > > I can't find how to register process participants with ruote 2.0
Hello, you'd have to do it like that : ---8<--- engine.variables['execprocess'] = 'public/defs/exec_process.rb' engine.variables['restoreprocess'] = 'public/defs/restore_process.rb' --->8--- The value can be a URI, the path to the definition (like in the snippet) or a ruote AST. Best regards, -- John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
