Ignore:
Timestamp:
05/10/16 14:59:29 (5 years ago)
Author:
ak19
Message:

Renaming activate.pm to servercontrol.pm.

Location:
main/trunk/greenstone2
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/activate.pl

    r30520 r30523  
    9191
    9292# Greenstone modules
    93 use activate;
    9493use colcfg;
    9594use scriptutil;
     95use servercontrol;
    9696use util;
    9797
     
    189189    $index_dir = &FileUtils::filenameConcatenate($collection_dir, "index") unless (defined $index_dir);
    190190
    191     my $gsserver = new activate($qualified_collection, $site, $default_verbosity, $build_dir, $index_dir, $collect_dir, $library_url, $library_name);
     191    my $gsserver = new servercontrol($qualified_collection, $site, $default_verbosity, $build_dir, $index_dir, $collect_dir, $library_url, $library_name);
    192192
    193193    $gsserver->print_task_msg("Running  Collection  Activation  Stage");
  • main/trunk/greenstone2/perllib/buildcolutils.pm

    r30522 r30523  
    3333use File::Basename;
    3434
    35 use activate;
    3635use colcfg;
    3736use dbutil;
     
    3938use FileUtils;
    4039use scriptutil;
     40use servercontrol;
    4141use gsprintf;
    4242use printusage;
     
    678678    # Need to deactivate the collection for collections whose db don't support concurrent R+W
    679679    # All except the collection (1st parameter) can be empty. For GS3, also set the site parameter
    680     my $gsserver = new activate( $self->get_collection(), $self->{'site'}, $self->{'verbosity'}, $self->{'builddir'}, $self->{'indexdir'}, $self->{'collectdir'}, $self->{'library_url'}, $self->{'library_name'});
     680    my $gsserver = new servercontrol( $self->get_collection(), $self->{'site'}, $self->{'verbosity'}, $self->{'builddir'}, $self->{'indexdir'}, $self->{'collectdir'}, $self->{'library_url'}, $self->{'library_name'});
    681681
    682682    # when incrementally rebuilding a collection using any db that doesn't support concurrent
  • main/trunk/greenstone2/perllib/servercontrol.pm

    r30522 r30523  
    2626###############################################################################
    2727
    28 package activate;
     28package servercontrol;
    2929
    3030
Note: See TracChangeset for help on using the changeset viewer.