Changeset 37554


Ignore:
Timestamp:
2023-03-22T21:08:18+13:00 (13 months ago)
Author:
anupama
Message:

One more fix to this file. Although GLI launched OK after previous fix, gems did not launch and because of a nullpointer exception also, and required a tweak too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/Configuration.java

    r37438 r37554  
    158158        // this mainly needed for webswing, where the paths are unix style, but if running on windows we need to convert them
    159159    this.gli_user_directory_path = new File(gli_user_directory_path).getCanonicalPath()+File.separator;
    160     this.gsdl_path = new File(gsdl_path).getCanonicalPath()+File.separator;
     160    if(gsdl_path != null) {
     161        this.gsdl_path = new File(gsdl_path).getCanonicalPath()+File.separator;
     162    }
    161163    if(Gatherer.GS3) {
    162164        this.gsdl3_path = new File(gsdl3_path).getCanonicalPath()+File.separator;
Note: See TracChangeset for help on using the changeset viewer.