/[freeride]/freeride/freebase/lib/freebase/core.rb
ViewVC logotype

Diff of /freeride/freebase/lib/freebase/core.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by richkilmer, Mon Mar 24 03:17:54 2003 UTC revision 1.2 by ljulliar, Thu May 1 12:34:39 2003 UTC
# Line 52  module FreeBASE Line 52  module FreeBASE
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"])
# Line 141  module FreeBASE Line 144  module FreeBASE
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        

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26