/[freeride]/freeride/freebase/configuration.rb
ViewVC logotype

Diff of /freeride/freebase/configuration.rb

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

revision 1.4 by richkilmer, Tue Nov 12 04:52:18 2002 UTC revision 1.5 by richkilmer, Thu Nov 21 07:15:10 2002 UTC
# Line 313  module FreeBASE Line 313  module FreeBASE
313      def build_graph      def build_graph
314        each_load_dependency do |other, version|        each_load_dependency do |other, version|
315          other_plugin = @configuration.plugins[other]          other_plugin = @configuration.plugins[other]
316            unless other_plugin
317              puts "#{@name} has a load dependency not found: #{other}"
318              return false
319            end
320          @fwd_load_graph << other_plugin          @fwd_load_graph << other_plugin
321          other_plugin.rev_load_graph << self          other_plugin.rev_load_graph << self
322        end        end
323        each_start_dependency do |other, version|        each_start_dependency do |other, version|
324          other_plugin = @configuration.plugins[other]          other_plugin = @configuration.plugins[other]
325            unless other_plugin
326              puts "#{@name} has a start dependency not found: #{other}"
327              return false
328            end
329            return false unless other_plugin
330          @fwd_start_graph << other_plugin          @fwd_start_graph << other_plugin
331          other_plugin.rev_start_graph << self          other_plugin.rev_start_graph << self
332        end        end
333          return true
334      end      end
335            
336      ##      ##

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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