Changeset 10602
- Timestamp:
- 2005-09-08T16:59:55+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/HelpFrame.java
r10345 r10602 317 317 URL url = null; 318 318 319 String help_file = getHelpFolder() + name + StaticStrings.HTM_FILE_EXTENSION; 320 321 if (name != null && !name.equals(NULL_STRING)) { 322 url = JarTools.getResource("/" + help_file); 323 if (url == null) { 324 File file = new File(Gatherer.getGLIUserDirectoryPath() + help_file); 325 try { 326 url = file.toURL(); 327 } 328 catch (Exception ex) { 329 ex.printStackTrace(); 330 } 319 if (name != null && !name.equals("") && !name.equals(NULL_STRING)) { 320 String help_file_path = getHelpFolder() + name + StaticStrings.HTM_FILE_EXTENSION; 321 File help_file = new File(Gatherer.getGLIDirectoryPath() + help_file_path); 322 if (Gatherer.isGsdlRemote) { 323 help_file = new File(Gatherer.getGLIUserDirectoryPath() + help_file_path); 324 } 325 try { 326 url = help_file.toURL(); 327 } 328 catch (Exception exception) { 329 DebugStream.printStackTrace(exception); 331 330 } 332 331 }
Note:
See TracChangeset
for help on using the changeset viewer.