Changeset 21259 for gs3-extensions


Ignore:
Timestamp:
12/04/09 13:30:10 (11 years ago)
Author:
davidb
Message:

need use PHAROSIS_SRC_HOME not PHAROSIS_HOME

Location:
gs3-extensions/pharos/trunk/bin/script
Files:
4 edited

Legend:

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

    r21255 r21259  
    2929    die "GSDLHOME not set\n" unless defined $ENV{'GSDLHOME'};
    3030    die "GSDLOS not set\n" unless defined $ENV{'GSDLOS'};
    31     die "PHAROSIS_HOME not set\n" unless defined $ENV{'PHAROSIS_HOME'};
     31    die "PHAROSIS_SRC_HOME not set\n" unless defined $ENV{'PHAROSIS_SRC_HOME'};
    3232    unshift (@INC, "$ENV{'GSDLHOME'}/perllib");
    3333}
     
    9393   
    9494    my $add_template_filename
    95     = &util::filename_cat($ENV{'PHAROSIS_HOME'},"resources", "templates","add_file.xml");
     95    = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'},"resources", "templates","add_file.xml");
    9696    my $add_this_filename = &util::filename_cat($tmp_dir,"add_file.xml");
    9797   
     
    124124   
    125125   
    126     my $jar_filename = &util::filename_cat($ENV{'PHAROSIS_HOME'},"ImageIS.jar");
     126    my $jar_filename = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'},"ImageIS.jar");
    127127    my $java_cmd = "java -jar \"$jar_filename\" \"$add_this_filename\"";
    128128    #my $java_cmd = "java -cp /research/kjdon/home/pharos-greenstone3/ext/pharos/decompiled:/research/kjdon/home/pharos-greenstone3/ext/pharos/cmdline-api-srcpack/ImageIS.jar:/research/kjdon/home/pharos-greenstone3/ext/pharos MyImageIS $add_this_filename";
  • gs3-extensions/pharos/trunk/bin/script/pharos-imageis-delete.pl

    r21255 r21259  
    2929    die "GSDLHOME not set\n" unless defined $ENV{'GSDLHOME'};
    3030    die "GSDLOS not set\n" unless defined $ENV{'GSDLOS'};
    31     die "PHAROSIS_HOME not set\n" unless defined $ENV{'PHAROSIS_HOME'};
     31    die "PHAROSIS_SRC_HOME not set\n" unless defined $ENV{'PHAROSIS_SRC_HOME'};
    3232    unshift (@INC, "$ENV{'GSDLHOME'}/perllib");
    3333}
     
    6666   
    6767    my $del_template_filename
    68     = &util::filename_cat($ENV{'PHAROSIS_HOME'},"resources", "templates","del_id.xml");
     68    = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'},"resources", "templates","del_id.xml");
    6969    my $del_this_filename = &util::filename_cat($tmp_dir,"del_id.xml");
    7070   
     
    9797   
    9898   
    99     my $jar_filename = &util::filename_cat($ENV{'PHAROSIS_HOME'},"ImageIS.jar");
     99    my $jar_filename = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'},"ImageIS.jar");
    100100    my $java_cmd = "java -jar \"$jar_filename\" \"$del_this_filename\"";
    101101
  • gs3-extensions/pharos/trunk/bin/script/pharos-imageis-identify.pl

    r21250 r21259  
    2929    die "GSDLHOME not set\n" unless defined $ENV{'GSDLHOME'};
    3030    die "GSDLOS not set\n" unless defined $ENV{'GSDLOS'};
    31     die "PHAROSIS_HOME not set\n" unless defined $ENV{'PHAROSIS_HOME'};
     31    die "PHAROSIS_SRC_HOME not set\n" unless defined $ENV{'PHAROSIS_SRC_HOME'};
    3232    unshift (@INC, "$ENV{'GSDLHOME'}/perllib");
    3333}
  • gs3-extensions/pharos/trunk/bin/script/pharos-imageis-query.pl

    r21255 r21259  
    2929    die "GSDLHOME not set\n" unless defined $ENV{'GSDLHOME'};
    3030    die "GSDLOS not set\n" unless defined $ENV{'GSDLOS'};
    31     die "PHAROSIS_HOME not set\n" unless defined $ENV{'PHAROSIS_HOME'};
     31    die "PHAROSIS_SRC_HOME not set\n" unless defined $ENV{'PHAROSIS_SRC_HOME'};
    3232    unshift (@INC, "$ENV{'GSDLHOME'}/perllib");
    3333}
     
    6565   
    6666    my $query_template_filename
    67     = &util::filename_cat($ENV{'PHAROSIS_HOME'},"resources","templates","query_id.xml");
     67    = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'},"resources","templates","query_id.xml");
    6868    my $query_this_filename = &util::filename_cat($tmp_dir,"query_id.xml");
    6969   
     
    9696   
    9797   
    98     my $jar_filename = &util::filename_cat($ENV{'PHAROSIS_HOME'},"ImageIS.jar");
     98    my $jar_filename = &util::filename_cat($ENV{'PHAROSIS_SRC_HOME'},"ImageIS.jar");
    9999    my $java_cmd = "java -jar \"$jar_filename\" \"$query_this_filename\"";
    100100
Note: See TracChangeset for help on using the changeset viewer.