Changeset 38886


Ignore:
Timestamp:
2024-03-28T00:13:52+13:00 (6 weeks ago)
Author:
anupama
Message:

Changed the webswing collage applet into a webswing collage application and it works with the GS3 multimedia collection called smallbea, with commandline values hardcoded (for testing). I will next customise these parameters before proceeding with going backwards fixing other issues like optional status, removing site as a parameter, compiler warnings about deprecation (thread related issues, perhaps I won't be able to fix it, but will try as the current code deprecated methods are not safe). Finally need to ask Dr Bainbridge or Kathy about what the actual classifier is that the applet should work on: where it needs to start getting URLs from and what to do about GS3 not having the same kind of easy path to a collection's image folder as GS2 (there's no _httpimgs_).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/webswing/trunk/web/etc/webswing.config.in

    r38874 r38886  
    156156      "allowJsLink" : true,
    157157      "allowLocalClipboard" : true,
    158       "launcherType" : "Applet",
     158      "launcherType" : "Desktop",
    159159      "launcherConfig" : {
    160         "appletClass" : "org.greenstone.applet.GsdlCollageApplet.GsdlCollageApplet",
    161         "parameters" : {
    162          "library" : "library",
    163          "collection" : "smallbea",
    164             "gsdlversion" : "3",
    165             "sitename" : "localsite",
    166         "baseurl" : "'http://localhost:8383/greenstone3/",
    167             "documentroot" : "greenstone3",
    168             "verbosity" : "3",
    169             "imageType" : ".jpg%.png",
    170             "imageMustNotHave" : "interfaces/",
    171         "gwcgi" : "http://localhost:8383/greenstone3/library/collection/smallbea/",
    172         "classifier" : "CL2.3",
    173         "maxDepth" : "500",
    174         "maxDisplay" : "25",
    175         "refreshDelay" : "1500",
    176         "isJava2" : "auto",
    177         "bgcolor" : "#96c29a"
    178         }
    179       },
     160        "mainClass" : "org.greenstone.applet.GsdlCollageApplet.GsdlCollageApplet",
     161    "args" : "--webswing 1 --baseurl \"http://localhost:8383/greenstone3/\" --library library --collection smallbea --gsdlversion 3 --sitename localsite --documentroot greenstone3 --verbosity 3 --imageType \".jpg%.png\" --imageMustNotHave \"interfaces/\" --classifier \"CL2.3\" --maxDepth 500 --maxDisplay 25 --refreshDelay 1500 --isJava2 auto --bgcolor \"#96c29a\""
     162      },     
    180163      "homeDir" : "@gsdl3webwritablehomeunix@"
    181164    },
Note: See TracChangeset for help on using the changeset viewer.