Ignore:
Timestamp:
2023-03-07T19:49:30+13:00 (14 months ago)
Author:
anupama
Message:

Some recent changes broke GLI launch for GS2 with NullPointerExceptions. Cam

File:
1 edited

Legend:

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

    r37341 r37438  
    159159    this.gli_user_directory_path = new File(gli_user_directory_path).getCanonicalPath()+File.separator;
    160160    this.gsdl_path = new File(gsdl_path).getCanonicalPath()+File.separator;
    161     this.gsdl3_path = new File(gsdl3_path).getCanonicalPath()+File.separator;
    162     this.gsdl3_src_path = new File(gsdl3_src_path).getCanonicalPath()+File.separator;
     161    if(Gatherer.GS3) {
     162        this.gsdl3_path = new File(gsdl3_path).getCanonicalPath()+File.separator;
     163        this.gsdl3_src_path = new File(gsdl3_src_path).getCanonicalPath()+File.separator;
     164    }
    163165    } catch(IOException e) {
    164166        System.err.println("IOException with supplied path arguments:"+e.getMessage());
Note: See TracChangeset for help on using the changeset viewer.