Ignore:
Timestamp:
2014-12-16T19:27:02+13:00 (9 years ago)
Author:
ak19
Message:

Resorting to checking an env var, GSDL_LIBRARY_SERVLET_URL, if no library_url is provided, will help Jeremy's linux GS3 packages run buildcol with -activate from the cmdline, where there is no GS3 build.xml and the GS3 servlet url therefore can't be obtained by running an ant command.

File:
1 edited

Legend:

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

    r29220 r29639  
    488488    my $incremental = 0; # used by solr
    489489
    490     my $library_url = undef; # to be specified on the cmdline if not using a GS-included web server
     490    my $library_url = $ENV{'GSDL_LIBRARY_SERVLET_URL'} || undef; # to be specified on the cmdline if not using a GS-included web server
     491        # the GSDL_LIBRARY_URL env var is useful when running cmdline buildcol.pl in the linux package manager versions of GS3
    491492   
    492493    while (my $arg = shift @argv) {
Note: See TracChangeset for help on using the changeset viewer.