source: gs3-extensions/webswing/trunk/web/etc/webswing.config.in@ 37357

Last change on this file since 37357 was 37357, checked in by davidb, 14 months ago

Tweak to font files used; addition of customArgs to load in a specific collection

File size: 2.4 KB
Line 
1{
2 "/" : {
3 "path" : "/",
4 "security" : {
5 "module" : "EMBEDED",
6 "config" : {
7 "users" : [ {
8 "username" : "webswing-admin",
9 "password" : "greenstone3",
10 "roles" : [ "admin" ]
11 }, {
12 "username" : "webswing-support",
13 "password" : "greenstone3",
14 "roles" : [ "support" ]
15 }, {
16 "username" : "gli",
17 "password" : "greenstone3"
18 } ]
19 },
20 "classPath" : [ ]
21 },
22 "langFolder" : "${webswing.configDir}/lang",
23 "homeDir" : "${user.dir}",
24 "allowedCorsOrigins" : [ "*" ],
25 "adminConsoleUrl" : "http://localhost:8383/webswing-server/admin"
26 },
27 "/gli" : {
28 "path" : "/gli",
29 "security" : {
30 "module" : "NONE",
31 "config" : { },
32 "classPath" : [ ]
33 },
34 "icon" : "classes/images/gatherer.png",
35 "webFolder" : "",
36 "swingConfig" : {
37 "jreExecutable" : "${java.home}/bin/java",
38 "javaVersion" : "${java.version}",
39 "vmArgs" : "",
40 "classPathEntries" : [ "*.jar", "lib/*.jar" ],
41 "theme" : "Murrine",
42 "fontConfig" : {
43 "dialog" : "${webswing.configDir}/fonts/Roboto-Regular.ttf",
44 "dialoginput" : "${webswing.configDir}/fonts/RobotoMono-Regular.ttf",
45 "monospaced" : "${webswing.configDir}/fonts/RobotoMono-Regular.ttf",
46 "serif" : "${webswing.configDir}/fonts/Roboto-Regular.ttf",
47 "sansserif" : "${webswing.configDir}/fonts/Roboto-Regular.ttf"
48 },
49 "swingSessionTimeout" : 300,
50 "antiAliasText" : true,
51 "isolatedFs" : true,
52 "debug" : false,
53 "directdraw" : true,
54 "allowDelete" : true,
55 "allowDownload" : true,
56 "allowAutoDownload" : true,
57 "allowUpload" : true,
58 "allowJsLink" : true,
59 "allowLocalClipboard" : true,
60 "launcherType" : "Desktop",
61 "launcherConfig" : {
62 "mainClass" : "org.greenstone.gatherer.GathererProg",
63 "args": "-gsdl @gsdl3srchomeunix@/gs2build -gsdlos @gsdlos@ -gsdl3 @gsdl3srchomeunix@/web -gsdl3src @gsdl3srchomeunix@ -library_url @external-servleturl@ -webswing ${customArgs}"
64 },
65 "homeDir" : "@gsdl3srchomeunix@/gli",
66 "goodbyeUrl" : "/"
67 },
68 "maxClients" : 4,
69 "maxConnections" : 4,
70 "allowStealSession" : true,
71 "name" : "Greenstone Librarian Interface",
72 "sessionMode" : "CONTINUE_FOR_BROWSER",
73 "uploadMaxSize" : 100,
74 "webHomeDir" : "@gsdl3srchomeunix@/gli"
75 }
76}
Note: See TracBrowser for help on using the repository browser.