- Timestamp:
- 2012-11-30T17:26:21+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gti.pl
r25285 r26544 97 97 ]; 98 98 99 my @gs3_interface_files = ("AbstractBrowse", "AbstractGS2FieldSearch", "Authentication", "CrossCollectionSearch", "GATEServices", "GS2Construct", "GS2LuceneSearch", "interface_default", "interface_nzdl", "IViaSearch", "LuceneSearch", "MapRetrieve", "MapSearch", "metadata_names", "PhindPhraseBrowse", "QBRWebServicesHelp", "Visualizer"); 99 my @gs3_interface_files = ("AbstractBrowse", "AbstractGS2FieldSearch", "AbstractSearch", "Authentication", "CrossCollectionSearch", "GATEServices", "GS2Construct", "GS2LuceneSearch", "interface_basic", "interface_basic2", "interface_default", "interface_default2", "interface_nzdl", "IViaSearch", "LuceneSearch", "MapRetrieve", "MapSearch", "metadata_names", "PhindPhraseBrowse", "QBRWebServicesHelp", "SharedSoleneGS2FieldSearch", "Visualizer"); 100 # i18n (,log4j)? 100 101 101 102 … … 106 107 my @gti_command_arguments = @_; 107 108 my $module = $_[1]; 109 110 # for GS3, set gsdl_root_dir to GSDL3HOME 111 if($module eq "gs3interface"){ 112 $gsdl_root_directory = (defined $ENV{'GSDL3HOME'}) ? $ENV{'GSDL3HOME'} : &util::filename_cat($ENV{'GSDL3SRCHOME'}, "web"); 113 $gti_log_file = &util::filename_cat($gsdl_root_directory, "logs", "gti.log"); 114 } 108 115 109 116 # Open the GTI log file for appending, or write to STDERR if that fails … … 123 130 if ($gti_command =~ /^get-all-chunks$/i) { 124 131 # Check that GS3 interface is the target 125 if ($module eq "gs3interface") { 132 if ($module eq "gs3interface") { 126 133 print &get_all_chunks_for_gs3(@gti_command_arguments); 127 134 } else { … … 1879 1886 $source_files_key_to_gti_comment_mapping, $target_files_key_to_gti_comment_mapping) = @_; 1880 1887 1881 my $source_file_directory = "greenstone3";1888 my $source_file_directory = &util::filename_cat("WEB-INF","classes"); # my $source_file_directory = "greenstone3"; 1882 1889 my $translation_file_type = "resource_bundle"; 1883 1890
Note:
See TracChangeset
for help on using the changeset viewer.