52 |
init_bus |
init_bus |
53 |
load_properties |
load_properties |
54 |
load_setup |
load_setup |
55 |
#push all plugin paths into the require path |
# push all plugin paths into the require path. Prepend codebase |
56 |
@properties["config/plugin_path"].split(";").each {|path| $:.push path} |
# if it's a relative path |
57 |
|
@properties["config/plugin_path"].split(";").each do |path| |
58 |
|
path = File.join($FR_CODEBASE,path) if path[0..0] != File::SEPARATOR |
59 |
|
$:.push path |
60 |
|
end |
61 |
@bus["/log/info"] << "--- #{@properties['config/product_name']} Started on #{Time.now.to_s}" |
@bus["/log/info"] << "--- #{@properties['config/product_name']} Started on #{Time.now.to_s}" |
62 |
@bus["/system/state/all_plugins_loaded"].data = false; |
@bus["/system/state/all_plugins_loaded"].data = false; |
63 |
@plugin_config = Configuration.new(self, @properties["config/plugin_path"]) |
@plugin_config = Configuration.new(self, @properties["config/plugin_path"]) |
144 |
@bus["/system/properties"], |
@bus["/system/properties"], |
145 |
@propertiesFile) |
@propertiesFile) |
146 |
end |
end |
147 |
|
@properties['config/codebase'] = $FR_CODEBASE |
148 |
end |
end |
149 |
end |
end |
150 |
|
|