Changeset 23517

Show
Ignore:
Timestamp:
21.12.2010 22:38:04 (9 years ago)
Author:
davidb
Message:

Additional check added to ensure GLIServer.jar file exists, and issues an error message if not.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/cgi-bin/talkback-progressbar.pl

    r23183 r23517  
    230230    my $jar_dir= &util::filename_cat($gsdl_home, "bin", "java"); 
    231231    my $java_classpath = &util::filename_cat($jar_dir,"GLIServer.jar"); 
     232 
     233    if (!-f $java_classpath) { 
     234    $gsdl_cgi->generate_error("$0:\nFailed to find $java_classpath\n"); 
     235    } 
    232236 
    233237    my $java_args = "\"$zip_filename\" \"$import_dir\"";