Ignore:
Timestamp:
2011-08-24T16:52:43+12:00 (13 years ago)
Author:
ak19
Message:

Server2 now takes an additional parameter -mode, which can be 'gli' and represents the property prefix to use when looking for autoenter and start_browser properties in the config file. The way the arguments to Server2 are processed has also been changed, so that it is no longer dependent on order.

File:
1 edited

Legend:

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

    r24207 r24465  
    55public class Server2Property extends BaseProperty
    66{
    7     Server2Property()
     7    Server2Property(String property_prefix)
    88    {
    99    // Initialising customised final variables
    1010    // Version number, WEB_PORT
    11     super("2", "portnumber", "autoenter", "start_browser", "keepport");
     11    super("2", "portnumber", property_prefix+"autoenter", property_prefix+"start_browser", "keepport");
    1212    }
    1313
Note: See TracChangeset for help on using the changeset viewer.