~sword-devel/jsword/trunk

« back to all changes in this revision

Viewing changes to bibledesktop-web/web/download.jsp

  • Committer: joe
  • Date: 2004-08-07 19:03:58 UTC
  • Revision ID: svn-v4:a88caf3b-7e0a-0410-8d0d-cecb45342206:trunk:505
first checkin

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2">
 
3
<html xmlns="http://www.w3.org/1999/xhtml">
 
4
 
 
5
<head>
 
6
  <title>Bible Desktop - Download</title>
 
7
</head>
 
8
<body>
 
9
 
 
10
<jsp:directive.page import="org.crosswire.jsword.view.web.DownloadSet" contentType="text/html"/>
 
11
 
 
12
<jsp:scriptlet><![CDATA[
 
13
  String localprefix = application.getInitParameter("localprefix");
 
14
  if (localprefix == null)
 
15
        throw new NullPointerException("localprefix");
 
16
 
 
17
  String webprefix = application.getInitParameter("webprefix");
 
18
  if (webprefix == null)
 
19
        throw new NullPointerException("webprefix");
 
20
]]></jsp:scriptlet>
 
21
 
 
22
<h1>Stable Release</h1>
 
23
 
 
24
<h2>Webstart</h2>
 
25
<p>
 
26
  The latest release of Bible Desktop is 0.97.
 
27
  It is available via <a href="http://java.sun.com/products/javawebstart/">WebStart</a> which
 
28
  you will need installed. On MacOSX that job is done for you.
 
29
  On Windows it is an easy download either from
 
30
  the <a href="http://java.sun.com/products/javawebstart/">webstart download page</a> or
 
31
  it <a href="http://java.sun.com/j2se/1.4.2/download.html">comes with J2SE 1.4</a>.
 
32
  Once you have Java installed ...
 
33
</p>
 
34
<div align="center">
 
35
  <a href="stable/jsword-stable.jnlp"><img src="images/webstart.jpg" width="247" height="60" border="0"/></a>
 
36
</div>
 
37
 
 
38
<h2>Zip/Tar Based Downloads</h2>
 
39
<p>We keep official releases hanging around for a while.</p>
 
40
<table width="90%" align="center" border="1" bordercolor="#000000" cellspacing="0" cellpadding="2">
 
41
  <tr>
 
42
        <td>-</td>
 
43
        <td colspan="2" align="center">Binary</td>
 
44
        <td colspan="2" align="center">Source</td>
 
45
        <td colspan="2" align="center">Docs</td>
 
46
  </tr>
 
47
  <tr>
 
48
    <td>Compression</td>
 
49
    <td>.zip</td>
 
50
    <td>.tar.gz</td>
 
51
    <td>.zip</td>
 
52
    <td>.tar.gz</td>
 
53
    <td>.zip</td>
 
54
    <td>.tar.gz</td>
 
55
  </tr>
 
56
  <jsp:scriptlet><![CDATA[
 
57
  DownloadSet[] dls = DownloadSet.getDownloadSets(localprefix+"/release", webprefix+"/release", false);
 
58
  for (int i=0; i<dls.length; i++)
 
59
  {
 
60
  ]]></jsp:scriptlet>
 
61
  <tr>
 
62
        <td><jsp:expression>dls[i].getVersionString()</jsp:expression></td>
 
63
        <td><jsp:expression>dls[i].getLinkString(DownloadSet.BIN_ZIP)</jsp:expression></td>
 
64
        <td><jsp:expression>dls[i].getLinkString(DownloadSet.BIN_TGZ)</jsp:expression></td>
 
65
        <td><jsp:expression>dls[i].getLinkString(DownloadSet.SRC_ZIP)</jsp:expression></td>
 
66
        <td><jsp:expression>dls[i].getLinkString(DownloadSet.SRC_TGZ)</jsp:expression></td>
 
67
        <td><jsp:expression>dls[i].getLinkString(DownloadSet.DOC_ZIP)</jsp:expression></td>
 
68
        <td><jsp:expression>dls[i].getLinkString(DownloadSet.DOC_TGZ)</jsp:expression></td>
 
69
  </tr>
 
70
  <jsp:scriptlet><![CDATA[
 
71
  }
 
72
  ]]></jsp:scriptlet>
 
73
</table>
 
74
 
 
75
 
 
76
<h1>Nightly Releases</h1>
 
77
 
 
78
<h2>Webstart</h2>
 
79
<p>
 
80
  A nightly webstart build of Bible Desktop is available. You'll need an installation
 
81
  of Java as for the stable release of Bible Desktop.
 
82
</p>
 
83
<div align="center">
 
84
  <a href="jnlp/jsword.jnlp"><img src="images/webstart.jpg" width="247" height="60" border="0"/></a>
 
85
</div>
 
86
 
 
87
<h2>Zip/Tar Based Downloads</h2>
 
88
<p>
 
89
  Regular releases are made and stored for a short time. You will need to use GNU
 
90
  tar to extract the doc.tar.gz files, although any tar should do for the others.
 
91
</p>
 
92
<table width="90%" align="center" border="1" bordercolor="#000000" cellspacing="0" cellpadding="2">
 
93
  <tr>
 
94
        <td>-</td>
 
95
        <td colspan="2" align="center">Binary</td>
 
96
        <td colspan="2" align="center">Source</td>
 
97
        <td colspan="2" align="center">Docs</td>
 
98
  </tr>
 
99
  <tr>
 
100
    <td>Compression</td>
 
101
    <td>.zip</td>
 
102
    <td>.tar.gz</td>
 
103
    <td>.zip</td>
 
104
    <td>.tar.gz</td>
 
105
    <td>.zip</td>
 
106
    <td>.tar.gz</td>
 
107
  </tr>
 
108
  <jsp:scriptlet><![CDATA[
 
109
  dls = DownloadSet.getDownloadSets(localprefix+"/nightly", webprefix+"/nightly", true);
 
110
  for (int i=0; i<dls.length; i++)
 
111
  {
 
112
  ]]></jsp:scriptlet>
 
113
  <tr>
 
114
        <td><jsp:expression>dls[i].getDateString()</jsp:expression></td>
 
115
        <td><jsp:expression>dls[i].getLinkString(DownloadSet.BIN_ZIP)</jsp:expression></td>
 
116
        <td><jsp:expression>dls[i].getLinkString(DownloadSet.BIN_TGZ)</jsp:expression></td>
 
117
        <td><jsp:expression>dls[i].getLinkString(DownloadSet.SRC_ZIP)</jsp:expression></td>
 
118
        <td><jsp:expression>dls[i].getLinkString(DownloadSet.SRC_TGZ)</jsp:expression></td>
 
119
        <td><jsp:expression>dls[i].getLinkString(DownloadSet.DOC_ZIP)</jsp:expression></td>
 
120
        <td><jsp:expression>dls[i].getLinkString(DownloadSet.DOC_TGZ)</jsp:expression></td>
 
121
  </tr>
 
122
  <jsp:scriptlet><![CDATA[
 
123
  }
 
124
  ]]></jsp:scriptlet>
 
125
</table>
 
126
 
 
127
<h3>CVS Access</h3>
 
128
<p>
 
129
The most up to date access is via CVS. There are CVS access instruction 
 
130
on the <a href="devt.html">Getting Involved</a> page.
 
131
</p>
 
132
 
 
133
<h3>Modules</h3>
 
134
<p>
 
135
Sword modules are available <a href="http://www.crossire.org/sword/modules/index.jsp">here</a>. 
 
136
Most of these modules are working with Bible Desktop so please report any that fail.
 
137
</p>
 
138
 
 
139
</body>
 
140
</html>
 
141
</jsp:root>