Changeset 28801
- Timestamp:
- 2014-01-30T15:09:31+13:00 (9 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/buildcol.pl
r27634 r28801 102 102 'desc' => "{buildcol.mode.build_index}" }, 103 103 { 'name' => "infodb", 104 'desc' => "{buildcol.mode.infodb}" } ]; 104 'desc' => "{buildcol.mode.infodb}" }, 105 { 'name' => "extra", 106 'desc' => "{buildcol.mode.extra}" } ]; 105 107 106 108 my $sec_index_list = -
main/trunk/greenstone2/perllib/buildcolutils.pm
r28566 r28801 27 27 28 28 package buildcolutils; 29 30 #use strict; 31 #no strict 'refs'; 29 32 30 33 use File::Basename; … … 329 332 } 330 333 331 if ($self->{'mode'} !~ /^(all|compress_text|build_index|infodb )$/)332 { 333 if (defined $collectcfg->{'mode'} && $collectcfg->{'mode'} =~ /^(all|compress_text|build_index|infodb )$/)334 if ($self->{'mode'} !~ /^(all|compress_text|build_index|infodb|extra)$/) 335 { 336 if (defined $collectcfg->{'mode'} && $collectcfg->{'mode'} =~ /^(all|compress_text|build_index|infodb|extra)$/) 334 337 { 335 338 $self->{'mode'} = $collectcfg->{'mode'}; … … 556 559 my @buildertype_list = ($buildertype); 557 560 561 my $mode = $self->{'mode'}; 562 563 if ($mode eq "extra") { 564 # knock out the main builder type, by reseting the lists to be empty 565 @builderdir_list = (); 566 @buildertype_list = (); 567 } 568 558 569 if (defined $orthogonalbuildtypes) 559 570 { … … 639 650 640 651 # Run the requested passes 641 if ($mode =~ /^ all$/i)652 if ($mode =~ /^(all|extra)$/i) 642 653 { 643 654 # 'map' modifies the elements of the original array, so calling -
main/trunk/greenstone2/perllib/strings.properties
r28763 r28801 116 116 buildcol.mode.compress_text:Just compress the text. 117 117 buildcol.mode.infodb:Just build the metadata database. 118 buildcol.mode.extra:Skip the main indexing stages, and just build the extra (orthogonal) passes 118 119 119 120 buildcol.no_default_images:Default images will not be generated.
Note:
See TracChangeset
for help on using the changeset viewer.