Ignore:
Timestamp:
2009-12-07T15:40:20+13:00 (14 years ago)
Author:
davidb
Message:

Switch to using -classpath rather than -jar, so can control where imageis.ImageIS looks for its VSprop.properities file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/pharos/trunk/bin/script/pharos-imageis-query.pl

    r21269 r21298  
    9898    my $jar_filename = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'},"pharos-imageis.jar");
    9999   
    100     my $java_cmd = "java -jar \"$jar_filename\" \"$query_this_filename\"";
    101     print STDERR "java_cmd = $java_cmd\n";
     100    my $prop_dir = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'},"classes");
     101
     102    &util::envvar_append("CLASSPATH",$prop_dir);
     103    &util::envvar_append("CLASSPATH",$jar_filename);
     104
     105    my $java_cmd = "java imageis.ImageIS \"$query_this_filename\"";
     106
     107    # print STDERR "java_cmd = $java_cmd\n";
    102108
    103109    print "Querying $docid\n";
Note: See TracChangeset for help on using the changeset viewer.