Changeset 21269

Show
Ignore:
Timestamp:
04.12.2009 16:20:22 (10 years ago)
Author:
kjdon
Message:

changed which jar file is used

Location:
gs3-extensions/pharos/trunk/bin/script
Files:
2 modified

Legend:

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

    r21262 r21269  
    126126     
    127127    my $jar_filename = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'},"pharos-imageis.jar"); 
     128    #my $jar_filename = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'}, "ImageIS.jar"); 
    128129    my $java_cmd = "java -jar \"$jar_filename\" \"$add_this_filename\""; 
    129130 
     
    133134     
    134135    if ($status == 0 ) { 
    135     &util::rm($add_this_filename); 
     136    #&util::rm($add_this_filename); 
    136137    } 
    137138    else { 
  • gs3-extensions/pharos/trunk/bin/script/pharos-imageis-query.pl

    r21261 r21269  
    9696     
    9797     
    98     my $jar_filename = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'},"pharos-imageis-lib.jar"); 
    99     my $classpath = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'},"classes"); 
    100  
    101     my $java_cmd = "java -classpath \"$classpath\" -jar \"$jar_filename\" \"$query_this_filename\""; 
    102  
     98    my $jar_filename = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'},"pharos-imageis.jar"); 
     99     
     100    my $java_cmd = "java -jar \"$jar_filename\" \"$query_this_filename\""; 
     101    print STDERR "java_cmd = $java_cmd\n"; 
    103102 
    104103    print "Querying $docid\n"; 
     
    108107     
    109108    if ($status == 0 ) { 
    110     &util::rm($query_this_filename); 
     109    #&util::rm($query_this_filename); 
    111110    } 
    112111    else {