Ignore:
Timestamp:
2024-04-22T18:05:50+12:00 (4 weeks ago)
Author:
anupama
Message:

Comments on how to run the appletviewer, before I forget that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/applet/GsdlCollageApplet/GsdlCollageApplet.java

    r38937 r38939  
    945945    /**
    946946     * After building the GS3 Multimedia collection, try running this Application as:
    947 java -cp ./web/applet/GsdlCollageApplet.jar:./web/WEB-INF/lib/log4j-1.2.8.jar:./web/WEB-INF/classes:./web/ext/webswing/api/webswing-api.jar org.greenstone.applet.GsdlCollageApplet.GsdlCollageApplet --statusbar 0 --baseurl "http://localhost:8383/greenstone3/" --library library --collection smallbea --gsdlversion 3 --hrefMustHave "library/collection/smallbea/browse/CL3" --documentroot greenstone3 --verbosity 3 --imageType ".jpg%.png" --imageMustNotHave "interfaces/" --classifier "CL3.1" --maxDepth 500 --maxDisplay 25 --refreshDelay 1500 --isJava2 auto --bgcolor "#96c29a" --width 645 --height 780
     947     *
     948     java -cp ./web/applet/GsdlCollageApplet.jar:./web/WEB-INF/lib/log4j-1.2.8.jar:./web/WEB-INF/classes:./web/ext/webswing/api/webswing-api.jar org.greenstone.applet.GsdlCollageApplet.GsdlCollageApplet --statusbar 0 --baseurl "http://localhost:8383/greenstone3/" --library library --collection smallbea --gsdlversion 3 --hrefMustHave "library/collection/smallbea/browse/CL3" --documentroot greenstone3 --verbosity 3 --imageType ".jpg%.png" --imageMustNotHave "interfaces/" --classifier "CL3.1" --maxDepth 500 --maxDisplay 25 --refreshDelay 1500 --isJava2 auto --bgcolor "#96c29a" --width 645 --height 780
     949     *
     950     * If wanting to run this with the appletviewer, need to ensure a copy of webswing-api.jar exists in web/applet
     951     * as specified in classifier.xsl's applet element's tag (because of the webswing import statements I think).
     952     * Then ensure the GS3 server is running and you've built your collection with the collage classifier
     953     * and run the appletviewer with the collage classifier's URL embedded in quotes, e.g:
     954     *    appletviewer "http://localhost:8383/greenstone3/library/collection/smallbea/browse/CL3"
     955     * Note that appletviewer is being deprecated in Java and may not be available in future Java downloads.
     956     * Sadly, the appletviewer runs in a sort of sandbox that doesn't allow downloading from URLs, so the applet window
     957     * appears and shows an infinite message it's trying to download, but fails to do so because of security exceptions.
    948958     */
    949959    public static void main(String[] args) {
Note: See TracChangeset for help on using the changeset viewer.