Hi everyone,

I'm back, and this time, it's more for a remark than for silly
questions ;)

>From time to time, when trying to use some basic features (with the
latest version of ruote, ie 0.9.20), as given in the rdoc, things
don't go as planned (at least for me...)

For instance, I've given a try at scheduled launches and variable
settings in process defintion, as respectively showed here :
- http://openwferu.rubyforge.org/rdoc/classes/OpenWFE/LaunchMethods.html
- http://openwferu.rubyforge.org/rdoc/classes/OpenWFE/ProcessDefinition.html

If I mix the examples, and run a script such as

---8<---
require 'rubygems'
require 'openwfe/expool/expressionpool' # where the furtherly
incriminated `wrap_in_schedule' is defined
require 'openwfe/engine/fs_engine'

engine = OpenWFE::FsPersistedEngine.new
(:definition_in_launchitem_allowed => true)

class MyProcessDefinition < OpenWFE::ProcessDefinition
  def make
    process_definition :name => "test1", :revision => "0" do
      sequence do
        set :variable => "toto", :value => "nada"
        puts "toto:${toto}"
      end
    end
  end
end

li = OpenWFE::LaunchItem.new(MyProcessDefinition)
engine.launch(li, :cron => "43 15 * * *")
--->8---

we get:
$ ruby tuto.rb
toto:${toto}
/usr/lib/ruby/gems/1.8/gems/ruote-0.9.20/lib/openwfe/engine/
launch_methods.rb:109:in `launch': undefined method `wrap_in_schedule'
for #<OpenWFE::FsPersistedEngine:0xb7df2ca0> (NoMethodError)

So here for instance, the variable isn't interpreted at all and
"launch" does not recognize its scheduling options, or is something
broken ?

Are these simply errors in the rdoc ?


Regards

Marc


P.S : John, is there a place more appropriate to report what seems to
be a bug (in the documentation or in the source) or is it ok to report
them here ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to