source: main/trunk/greenstone3/src/java/org/greenstone/server/Server2Property.java@ 24465

Last change on this file since 24465 was 24465, checked in by ak19, 13 years ago

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 size: 363 bytes
Line 
1package org.greenstone.server;
2
3import org.greenstone.server.BaseProperty;
4
5public class Server2Property extends BaseProperty
6{
7 Server2Property(String property_prefix)
8 {
9 // Initialising customised final variables
10 // Version number, WEB_PORT
11 super("2", "portnumber", property_prefix+"autoenter", property_prefix+"start_browser", "keepport");
12 }
13
14}
Note: See TracBrowser for help on using the repository browser.