Ignore:
Timestamp:
2012-07-16T17:47:34+12:00 (12 years ago)
Author:
ak19
Message:

gsdl3.home no longer exists as a property in global.properties. This had broken gs3-server.sh, but now it defaults to the usual GSDL3SRCHOME/web folder if there is no gsdl3.home property.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/server/Server3.java

    r25717 r25951  
    1414    public Server3(String gsdl3_src_home, String lang)
    1515    {
    16         super(gsdl3_src_home, lang, gsdl3_src_home + File.separatorChar + "build.properties", "logs");
     16        super(gsdl3_src_home, lang, gsdl3_src_home + File.separatorChar + "build.properties", "web"+File.separator+"logs");
    1717
    1818        Property = new Server3Property();
     
    4545    public void reload()
    4646    {
    47         GlobalProperties.loadGlobalProperties(null); // properties file may have changed, so reload it
     47        String fallback_gsdl3_home = System.getenv("GSDL3SRCHOME") + File.separator + "web";
     48        GlobalProperties.loadGlobalProperties(fallback_gsdl3_home); // properties file may have changed, so reload it
    4849    }
    4950
Note: See TracChangeset for help on using the changeset viewer.