Changeset 14657 for gsdl/trunk/perllib/basebuilder.pm
- Timestamp:
- 2007-10-11T10:45:56+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/basebuilder.pm
r14384 r14657 94 94 } elsif ($gs_mode eq "gs3") { 95 95 $self->{'collect_cfg'} = &colcfg::read_collection_cfg_xml ($colcfgname); 96 97 #this $self->{'collect_cfg_preserve'} is used for gs3 only and to be passed to &colcfg::write_build_cfg_xml in sub make_auxilary_files later in this basebuilder.pm, we use this preserve object because $self->{'collect_cfg'}->{'classify'} somewhat gets modified during the calling of &classify::load_classifiers.98 $self->{'collect_cfg_preserve'} = &colcfg::read_collection_cfg_xml ($colcfgname);99 96 } 100 97 … … 124 121 $classifiers = $self->{'collect_cfg'}->{'classify'}; 125 122 } 126 123 127 124 # load all the classifiers 128 125 $self->{'classifiers'} = &classify::load_classifiers ($classifiers, $build_dir, $outhandle); … … 443 440 } 444 441 } 445 $build_cfg->{'indexmap'} = \@indexmap if scalar (@indexmap);442 $build_cfg->{'indexmap'} = \@indexmap; 446 443 447 444 my @subcollectionmap = (); … … 473 470 } 474 471 if ($gs_mode eq "gs3") { 475 476 &colcfg::write_build_cfg_xml("$self->{'build_dir'}/buildConfig.xml", $build_cfg, $self->{'collect_cfg_preserve'}, $self->{'disable_OAI'}); 472 &colcfg::write_build_cfg_xml("$self->{'build_dir'}/buildConfig.xml", $build_cfg, $self->{'collect_cfg'}, $self->{'disable_OAI'}); 477 473 } 478 474
Note:
See TracChangeset
for help on using the changeset viewer.