Ignore:
Timestamp:
2009-09-10T10:51:48+12:00 (15 years ago)
Author:
davidb
Message:

Changes to support new incremental_mode variable, and to track metadata.xml files more closely so incremental building works when a document is first build without any metadata attached, then then in a subsequent build has metadata from such a source as metadata.xml added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugin.pm

    r19497 r20578  
    146146sub load_plugins {
    147147    my ($plugin_list) = shift @_;
    148     my $incremental;
    149     ($verbosity, $outhandle, $failhandle, $globaloptions, $incremental) = @_; # globals
     148    my $incremental_mode;
     149    ($verbosity, $outhandle, $failhandle, $globaloptions, $incremental_mode) = @_; # globals
    150150    my @plugin_objects = ();
    151     $incremental = 0 unless (defined $incremental && $incremental == 1);
    152151    $verbosity = 2 unless defined $verbosity;
    153152    $outhandle = 'STDERR' unless defined $outhandle;
     
    184183    $plugobj->init($verbosity, $outhandle, $failhandle);
    185184   
    186     $plugobj->set_incremental($incremental);
     185    $plugobj->set_incremental($incremental_mode);
    187186
    188187    # add this object to the list
Note: See TracChangeset for help on using the changeset viewer.