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:
397 bytes
|
Line | |
---|
1 | package org.greenstone.server;
|
---|
2 |
|
---|
3 | import org.greenstone.server.BaseProperty;
|
---|
4 |
|
---|
5 | public class Server3Property extends BaseProperty
|
---|
6 | {
|
---|
7 | Server3Property()
|
---|
8 | {
|
---|
9 | // Initialising customised final variables
|
---|
10 | // Version number, WEB_PORT, autoenter, startbrowser
|
---|
11 | // For GS3, the last two are controlled by the same property
|
---|
12 | super("3", "tomcat.port", "server.auto.start", "server.auto.start");
|
---|
13 | }
|
---|
14 |
|
---|
15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.