root/main/trunk/gli/GLIapplet.jnlp @ 32136

Revision 32136, 2.1 KB (checked in by ak19, 2 years ago)

Committing the first checkpoint of getting the GLIApplet to work with Java Web Start/JNLP, along with the important gli\README_WebGLI.txt with instructions. This commit uses the Java Web Start as fallback if the GLI applet can't be displayed. Some strings are hardcoded in the version of the gli\GLIApplet.jnlp file at this point.

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 *    Java Web Start support for Greenstone Librarian Interface (GLI) applet.
5 *    Copyright (C) 2002 New Zealand Digital Library, http://www.nzdl.org
6 *
7 *    This program is free software; you can redistribute it and/or modify
8 *    it under the terms of the GNU General Public License as published by
9 *    the Free Software Foundation; either version 2 of the License, or
10 *    (at your option) any later version.
11 *
12 *    This program is distributed in the hope that it will be useful,
13 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
14 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 *    GNU General Public License for more details.
16 *
17 *    You should have received a copy of the GNU General Public License
18 *    along with this program; if not, write to the Free Software
19 *    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */
21-->
22<!--
23/*
24 *  https://docs.oracle.com/javase/9/deploy/migrating-java-applets-jnlp.htm#JSDPG-GUID-1F95EBB3-D5CB-434A-B069-2261900738F5
25 *  section "Migrating an Existing Java Applet"
26 */
27-->
28
29<!-- JNLP File for GLI applet -->
30<jnlp
31  spec="1.0+"
32  codebase="http://localhost:8383/greenstone3/applet"
33  href="GLIapplet.jnlp">
34  <information>
35    <title>Greenstone Librarian Interface</title>
36    <vendor>New Zealand Digital Library</vendor>
37    <homepage href="http://www.nzdl.org/"/>
38    <description>GLI</description>
39    <description kind="short">Greenstone Librarian Interface (GLI) applet via JNLP support</description>
40    <offline-allowed/>
41  </information>
42  <resources>
43    <j2se version="1.7+"/>
44    <jar href="SignedGatherer.jar"/>
45  </resources>
46  <!--<application-desc main-class="org.greenstone.gatherer.WebGatherer"/>-->
47  <applet-desc main-class="org.greenstone.gatherer.GathererApplet" name="GLIapplet" height="50" width="380">
48    <param name="gwcgi" value="/greenstone3" />
49    <param name="gsdl3" value="true" />
50  </applet>
51  <!-- https://stackoverflow.com/questions/12600076/getting-user-home-folder-from-jws-signed-jar -->
52  <security>
53    <all-permissions/>
54  </security>
55</jnlp>
Note: See TracBrowser for help on using the browser.