Changeset 21439


Ignore:
Timestamp:
01/09/10 15:43:27 (11 years ago)
Author:
davidb
Message:

Support for 'infodbtype' added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/buildConfigxml.pm

    r20105 r21439  
    276276        &write_line('COLCFG', ["<indexStem name=\"", $indexstem, "\" />"]);     
    277277      }
     278      if (defined $buildcfg->{'infodbtype'}) {
     279      my $infodbtype = $buildcfg->{'infodbtype'};
     280      &write_line('COLCFG', ["<databaseType name=\"", $infodbtype, "\" />"]);     
     281      }
    278282      &write_line('COLCFG', ["</serviceRack>"]);
    279283    }   
     
    283287      my $indexstem = $buildcfg->{'indexstem'};
    284288      &write_line('COLCFG', ["<indexStem name=\"", $indexstem, "\" />"]);     
     289    }
     290    if (defined $buildcfg->{'infodbtype'}) {
     291        my $infodbtype = $buildcfg->{'infodbtype'};
     292        &write_line('COLCFG', ["<databaseType name=\"", $infodbtype, "\" />"]);     
    285293    }
    286294
     
    495503      &write_line('COLCFG', ["<defaultLevel shortname=\"", $default_retrieve_level, "\" />"]);
    496504    }
     505    if (defined $buildcfg->{'infodbtype'}) {
     506        my $infodbtype = $buildcfg->{'infodbtype'};
     507        &write_line('COLCFG', ["<databaseType name=\"", $infodbtype, "\" />"]);     
     508    }
     509
    497510    &write_line('COLCFG', ["</serviceRack>"]);
    498511
     
    518531      my $indexstem = $buildcfg->{'indexstem'};
    519532      &write_line('COLCFG', ["<indexStem name=\"", $indexstem, "\" />"]);     
     533    }
     534    if (defined $buildcfg->{'infodbtype'}) {
     535        my $infodbtype = $buildcfg->{'infodbtype'};
     536        &write_line('COLCFG', ["<databaseType name=\"", $infodbtype, "\" />"]);     
    520537    }
    521538    &write_line('COLCFG', ["<classifierList>"]);       
Note: See TracChangeset for help on using the changeset viewer.