On Tue, Nov 17, 2009 at 6:31 AM, kiko <[email protected]> wrote: > > Sorry I still can't seem to get this to work. > > I tried various things like: > > $engine.variables['restoreprocess'] = Ruote.process_definition :name > => 'restoreprocess' do > sequence do > echo "<<<<<<<<<<<<<<<<<<<<<<<<" > end > end
Hello Francisco, my bad. I fixed this : http://github.com/jmettraux/ruote/commit/96646d184b3677f4d72f9b30812cfaa1e65c9b68 It now works : http://github.com/jmettraux/ruote/commit/96646d184b3677f4d72f9b30812cfaa1e65c9b68#diff-1 > or putting them in files respectively > > $engine.variables['restoreprocess'] = "#{File.expand_path(File.dirname > (__FILE__))}/restoreprocess.rb" It worked for me with relative paths : http://github.com/jmettraux/ruote/blob/master/test/functional/ft_27_var_indirection.rb#L65-76 I made sure it works with absolute path like yours (did not change my code though, just added a test) : http://github.com/jmettraux/ruote/commit/96646d184b3677f4d72f9b30812cfaa1e65c9b68#diff-2 Thanks for reporting that, 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 -~----------~----~----~----~------~----~------~--~---
