1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
GL4Java Installer
Copyright (c) 1999 Ronald B. Cemer
You may use, redistribute, and/or modify this software under the terms of the
GNU General Public License (GPL). GL4Java, which is included in binary form
as part of this software, is covered under the GNU Library General Public
License (LGPL).
To see the GPL, visit:
http://www.gnu.org/copyleft/gpl.html
To see the LGPL, visit:
http://www.gnu.org/copyleft/lgpl.html
To generate a copy of the distributed files (files which should be deployed on
a web server), run the following batch file (Win32 only):
makedist (path)
where (path) is replaced by the path to a directory where the files are to be
copied. Only the files required to deploy the installer on a web server will
be copied to this directory. Be careful, though, since it does copy some HTML
files. Any existing HTML files of the same name(s) in the target directory
could be wiped out by this batch file. For safety's sake, it's probably best
to copy the files to an empty directory first, instead of a directory on a
live web server.
For Netscape, there is an included x509.crt file, which must be imported into
Netscape's certificate database by the user. Netscape comes pre-configured to
know the correct MIME type for this file when loading it from local disk.
There is, however, a special requirement when delivering the x509.crt via a
web server. The MIME type for ".crt" files must be set properly. Some web
servers come configured correctly for ".crt" files by default. For Apache web
server, for example, you will need to add the following line to
/etc/mime.types if isn't already there:
application/x-x509-ca-cert crt
In order for the change to take effect, you may need to reboot, or at least
stop and restart the web server.
The GL4Java installer can read the files to be installed from zip files on the
web server (the GL4JLibs*.zip files that are generated by running libarc.bat),
or straight from a directory on the web server. By default, the GL4Java
installer reads from GL4JLibs*.zip files on the web server.
You can change the the source for these files to a subdirectory of your
choosing (on the web server) by making the changes listed below. Note that
"mysource" should be replaced with the name of a subdirectory into which
the GL4JLibs*.zip files have been extracted. For example, if you wanted to
copy files from a directory on the web server, you could make a subdirectory
named "libs", then change to that directory and unzip the GL4JLibs*.zip files
from there.
*** IMPORTANT *** After unzipping under Unix, you must be sure that all
directories under the libs directory are mode 755 in order for the web server
to be able to read from them. Change to the newly created "libs" directory
(or whatever you called it), and enter the following commands EXACTLY as
shown here:
for i in `find . -type d -print`
do
chmod 755 $i
done
Keep in mind that when you are copying from a directory, the files are not
compressed so they will take longer to download via modem. For this reason,
it is highly recommended that you use the supplied zip files.
Here are the changes to the html files which are required in order to make the
GL4Java installer read from a sudirectory (remember to replace mysource with
the name of your subdirectory which contains the extracted GL4JLibs*.zip
files).
Changes to GL4JInst_ie.html:
old:
<applet code="GL4JInst.class" width=400 height=400>
<param name="cabbase" value="GL4JInst.cab">
</applet>
new:
<applet code="GL4JInst.class" width=400 height=400>
<param name="cabbase" value="GL4JInst.cab">
<param name="sourcedir" value="mysource">
</applet>
Changes to GL4JInst_ns.html:
old:
<applet code="GL4JInst.class" archive="GL4JInst.jar" width=400 height=400>
</applet>
new:
<applet code="GL4JInst.class" archive="GL4JInst.jar" width=400 height=400>
<param name="sourcedir" value="mysource">
</applet>
|