Changeset 27823

Show
Ignore:
Timestamp:
12.07.2013 17:04:51 (6 years ago)
Author:
davidb
Message:

Introduction of 'writable' version of some properties to help with operating in a read-only environment, such as Greenstone installed on a DVD

Location:
main/trunk/greenstone3/resources
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/resources/java/global.properties.in

    r25954 r27823  
    77#the latter is repeatedly re-generated from global.properties.in 
    88#gsdl3.home=@gsdl3home@ 
     9#gsdl3.writablehome=@gsdl3writablehome@ 
    910gsdl3.version=@gsdl3version@ 
    1011 
  • main/trunk/greenstone3/resources/java/log4j.properties.in

    r16653 r27823  
    11## greenstone home  
    22gsdl3.home=@gsdl3home@ 
     3gsdl3.writablehome=@gsdl3writablehome@ 
    34 
    45##Configure log4j's operation at the meta level                               
     
    3031##general logger 
    3132log4j.appender.infolog=org.apache.log4j.RollingFileAppender 
    32 log4j.appender.infolog.File=${gsdl3.home}/logs/greenstone.log 
     33log4j.appender.infolog.File=${gsdl3.writablehome}/logs/greenstone.log 
    3334#Control the maximum log file size 
    3435log4j.appender.infolog.MaxFileSize=10000KB 
     
    3839##usage logger 
    3940log4j.appender.usagelog=org.apache.log4j.RollingFileAppender 
    40 log4j.appender.usagelog.File=${gsdl3.home}/logs/usage.log 
     41log4j.appender.usagelog.File=${gsdl3.writablehome}/logs/usage.log 
    4142#Control the maximum log file size 
    4243log4j.appender.usagelog.MaxFileSize=10000KB 
     
    4445##Server's logger 
    4546log4j.appender.serverlog=org.apache.log4j.RollingFileAppender 
    46 log4j.appender.serverlog.File=${gsdl3.home}/logs/server.log 
     47log4j.appender.serverlog.File=${gsdl3.writablehome}/logs/server.log 
    4748 
    4849 
  • main/trunk/greenstone3/resources/tomcat/greenstone3.xml

    r25161 r27823  
    44         
    55<Context path="/greenstone3"  
    6     docBase="@gsdl3webhome@"  
     6    docBase="@gsdl3webwritablehome@"  
     7    aliases="/interfaces=@gsdl3webhome@/interfaces,/sites=@gsdl3webhome@/sites" 
    78    debug="1" reloadable="true"  
    89    @privilegedattribute@