Changeset 20924 for gli/trunk/src/org/greenstone/gatherer/gui
- Timestamp:
- 2009-11-10T20:49:48+13:00 (14 years ago)
- Location:
- gli/trunk/src/org/greenstone/gatherer/gui
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gui/DownloadPane.java
r19188 r20924 238 238 ArrayList args_list = new ArrayList(); 239 239 String args[] = null; 240 if( Utility.isWindows()) {241 if(Configuration.perl_path != null) {242 args_list.add(Configuration.perl_path);243 }244 245 args_list.add("Perl.exe");246 247 }240 if(Configuration.perl_path != null) { 241 args_list.add(Configuration.perl_path); 242 } else if(Utility.isWindows()) { 243 args_list.add("Perl.exe"); 244 } else { 245 args_list.add("perl"); 246 } 247 args_list.add("-S"); 248 248 args_list.add(LocalGreenstone.getBinScriptDirectoryPath()+"downloadinfo.pl"); 249 249 args_list.add("-xml"); -
gli/trunk/src/org/greenstone/gatherer/gui/ExplodeMetadataDatabasePrompt.java
r20823 r20924 258 258 // Generate the explode_metadata_database.pl command 259 259 ArrayList command_parts_list = new ArrayList(); 260 if ( Utility.isWindows() && (!Gatherer.isGsdlRemote)) {260 if (!Gatherer.isGsdlRemote) { 261 261 command_parts_list.add(Configuration.perl_path); 262 262 command_parts_list.add("-S"); -
gli/trunk/src/org/greenstone/gatherer/gui/ExportAsPrompt.java
r18412 r20924 440 440 // Generate the export.pl command 441 441 ArrayList command_parts_list = new ArrayList(); 442 if ( Utility.isWindows() && (!Gatherer.isGsdlRemote)) {442 if (!Gatherer.isGsdlRemote) { 443 443 command_parts_list.add(Configuration.perl_path); 444 444 command_parts_list.add("-S"); -
gli/trunk/src/org/greenstone/gatherer/gui/OpenCollectionDialog.java
r19228 r20924 352 352 // Generate the convert_coll_from_gs2.pl command 353 353 ArrayList command_parts_list = new ArrayList(); 354 if ( (Utility.isWindows()) && (!Gatherer.isGsdlRemote)) {354 if (!Gatherer.isGsdlRemote) { 355 355 command_parts_list.add(Configuration.perl_path); 356 356 command_parts_list.add("-S"); -
gli/trunk/src/org/greenstone/gatherer/gui/ReplaceSrcDocWithHtmlPrompt.java
r18645 r20924 260 260 // Generate the replace_srcdoc_with_html.pl command 261 261 ArrayList command_parts_list = new ArrayList(); 262 if ( Utility.isWindows() && (!Gatherer.isGsdlRemote)) {262 if (!Gatherer.isGsdlRemote) { 263 263 command_parts_list.add(Configuration.perl_path); 264 264 command_parts_list.add("-S"); -
gli/trunk/src/org/greenstone/gatherer/gui/WriteCDImagePrompt.java
r18370 r20924 345 345 // Generate the exportcol.pl command 346 346 ArrayList command_parts_list = new ArrayList(); 347 if ( Utility.isWindows() && (!Gatherer.isGsdlRemote)) {347 if (!Gatherer.isGsdlRemote) { 348 348 command_parts_list.add(Configuration.perl_path); 349 349 command_parts_list.add("-S");
Note:
See TracChangeset
for help on using the changeset viewer.