Changeset 37131


Ignore:
Timestamp:
2023-01-14T23:25:53+13:00 (16 months ago)
Author:
davidb
Message:

Changed to use the newer targets introduced to build.xml that provide a clearner separation of what it means to use an internal (i.e. localhost) URL to access the DL server, or else external (typically public facing URL in the case of a production install, but couldstill be 'localhost' in the case of a test setup

File:
1 edited

Legend:

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

    r36478 r37131  
    14251425    my $full_build_xml = &FileUtils::javaFilenameConcatenate($ENV{'GSDL3SRCHOME'},"build.xml");
    14261426
    1427     my $perl_command = $get_public_url ? "get-default-servlet-url" : "get-local-http-servlet-url";
     1427    # my $perl_command = $get_public_url ? "get-default-servlet-url" : "get-local-http-servlet-url";
     1428    my $perl_command = $get_public_url ? "get-external-servlet-url" : "get-internal-servlet-url";
    14281429    $perl_command = "ant -buildfile \"$full_build_xml\" $perl_command";
    14291430   
Note: See TracChangeset for help on using the changeset viewer.