Ignore:
Timestamp:
2017-03-13T11:12:37+13:00 (7 years ago)
Author:
kjdon
Message:

renamed EncodingUtil to CommonUtil, BasePlugin to BaseImporter. The idea is that only top level plugins that you can specify in your collection get to have plugin in their name. Modified all other plugins to reflect these name changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/MetadataXMLPlugin.pm

    r31480 r31492  
    9292use Encode;
    9393
    94 use BasePlugin;
     94use BaseImporter;
    9595use extrametautil;
    9696use util;
     
    9999
    100100sub BEGIN {
    101     @MetadataXMLPlugin::ISA = ('BasePlugin');
     101    @MetadataXMLPlugin::ISA = ('BaseImporter');
    102102    unshift (@INC, "$ENV{'GSDLHOME'}/perllib/cpan");
    103103}
     
    107107my $arguments = [
    108108      { 'name' => "process_exp",
    109     'desc' => "{BasePlugin.process_exp}",
     109    'desc' => "{BaseImporter.process_exp}",
    110110    'type' => "regexp",
    111111    'reqd' => "no",
     
    128128    push(@{$hashArgOptLists->{"OptList"}},$options);
    129129
    130     my $self = new BasePlugin($pluginlist, $inputargs, $hashArgOptLists);
     130    my $self = new BaseImporter($pluginlist, $inputargs, $hashArgOptLists);
    131131
    132132    if ($self->{'info_only'}) {
Note: See TracChangeset for help on using the changeset viewer.