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

Last change on this file since 18868 was 18868, checked in by ak19, 15 years ago

Updated Server files for Linux GS2 Local Library Server to work the same way as the Windows GS2 LLS. Basically the major difference is that build.properties is no longer used but glisite.cfg or llssite.cfg depending on whether or not gs2-server.sh is launched from gli. There are a few additional changes required for this to keep it consistent with the way the Windows GS2 LLS works: storing the preview URL in glisite.cfg/llssite.cfg while the server is running and removing it when the server has stopped, Server2.java's main method taking the configfile as an additional parameter (and corresponding adjustments in the gsicontrol.sh script of GS2).

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