Changeset 10478
- Timestamp:
- 2005-08-11T10:35:04+12:00 (19 years ago)
- Location:
- trunk/gsdl/perllib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/basebuilder.pm
r10473 r10478 94 94 push @global_opts, "-separate_cjk"; 95 95 } 96 $self->{'pluginfo'} = &plugin::load_plugins ($plugins, $verbosity, $outhandle, $failhandle, \@global_opts );96 $self->{'pluginfo'} = &plugin::load_plugins ($plugins, $verbosity, $outhandle, $failhandle, \@global_opts, $keepold); 97 97 98 98 if (scalar(@{$self->{'pluginfo'}}) == 0) { -
trunk/gsdl/perllib/plugin.pm
r10218 r10478 45 45 sub load_plugins { 46 46 my ($plugin_list) = shift @_; 47 ($verbosity, $outhandle, $failhandle, $globaloptions) = @_; # globals 47 my $keepold; 48 ($verbosity, $outhandle, $failhandle, $globaloptions, $keepold) = @_; # globals 48 49 my @plugin_objects = (); 49 50 $keepold = 0 unless (defined $keepold && $keepold == 1); 51 print STDERR "keepold = $keepold\n"; 50 52 $verbosity = 2 unless defined $verbosity; 51 53 $outhandle = 'STDERR' unless defined $outhandle; … … 89 91 # initialize plugin 90 92 $plugobj->init($verbosity, $outhandle, $failhandle); 93 94 $plugobj->set_keepold($keepold); 91 95 92 96 # add this object to the list -
trunk/gsdl/perllib/plugins/ArcPlug.pm
r10419 r10478 148 148 } 149 149 else { 150 if (!$processor->is_incremental_capable() ) {150 if (!$processor->is_incremental_capable() || !$self->{'keepold'}) { 151 151 $process_file = 1; 152 152 } -
trunk/gsdl/perllib/plugins/BasPlug.pm
r10446 r10478 210 210 211 211 212 sub set_keepold { 213 my $self = shift(@_); 214 my ($keepold) = @_; 215 216 $self->{'keepold'} = $keepold; 217 } 218 212 219 sub get_arguments 213 220 {
Note:
See TracChangeset
for help on using the changeset viewer.