Last change
on this file since 24207 was 24207, checked in by ak19, 13 years ago |
Part 1 of 2 commits for ticket 766 (the other commits will be in GS2): the GSI settings dialog now provides the ability to freeze the port number.
|
File size:
1.1 KB
|
Line | |
---|
1 | package org.greenstone.server;
|
---|
2 |
|
---|
3 | public class BaseProperty {
|
---|
4 |
|
---|
5 | public final String GSDL_HOME;
|
---|
6 | public final String GSDL_VERSION;
|
---|
7 | public final String AUTOSTART;
|
---|
8 | public final String KEEPPORT;
|
---|
9 | public final String START_BROWSER;
|
---|
10 |
|
---|
11 | public final String DEFAULT_SERVLET = "server.default.servlet";
|
---|
12 |
|
---|
13 | public final String WEB_PORT;
|
---|
14 |
|
---|
15 | public static final String WIN_9X_OPEN_COMMAND = "command.com /c start %1";
|
---|
16 | public static final String WIN_OPEN_COMMAND = "cmd.exe /c start \"\" %1";
|
---|
17 | public static final String MAC_OPEN_COMMAND = "open %1";
|
---|
18 |
|
---|
19 | public final String BROWSER_PATH = "browser.path";
|
---|
20 |
|
---|
21 | public final String SERVER_CONTROL;
|
---|
22 | public final String SERVER_SETTINGS;
|
---|
23 |
|
---|
24 | protected BaseProperty(String version, String web_port, String autostart, String startbrowser, String keepport)
|
---|
25 | {
|
---|
26 | // property names
|
---|
27 | WEB_PORT = web_port;
|
---|
28 | GSDL_HOME = "gsdl"+version +".home";
|
---|
29 | GSDL_VERSION = "gsdl"+version+".version";
|
---|
30 | SERVER_CONTROL = "Server"+version+"Control";
|
---|
31 | SERVER_SETTINGS = "Server"+version+"Settings";
|
---|
32 | AUTOSTART = autostart;
|
---|
33 | START_BROWSER = startbrowser;
|
---|
34 | KEEPPORT = keepport;
|
---|
35 | }
|
---|
36 |
|
---|
37 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.