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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
|
--- jmol-11.4.6/build.xml.orig 2008-09-16 15:27:28.388008850 -0500
+++ jmol-11.4.6/build.xml 2008-09-16 15:38:57.637384713 -0500
@@ -104,10 +104,6 @@
<srcfiles dir="doc/source"
includes="JmolGuide.docbook.xml, guide/*.docbook.xml"/>
</uptodate>
- <uptodate targetfile="build/doc/JmolUserGuide_fr/index.html">
- <srcfiles dir="doc/source"
- includes="JmolGuide_fr.docbook.xml, guide/*_fr.docbook.xml"/>
- </uptodate>
</and>
</condition>
@@ -117,14 +113,6 @@
<srcfiles dir="doc/source"
includes="JmolHistory.xml,JmolHistoryToHtml.xsl,history/changes.xml" />
</uptodate>
- <uptodate targetfile="build/doc/JmolHistory/ChangeLog_fr.html">
- <srcfiles dir="doc/source"
- includes="JmolHistory_fr.xml,JmolHistoryToHtml.xsl,history/changes_fr.xml" />
- </uptodate>
- <uptodate targetfile="build/doc/JmolHistory/ChangeLog_nl.html">
- <srcfiles dir="doc/source"
- includes="JmolHistory_nl.xml,JmolHistoryToHtml.xsl,history/changes_nl.xml" />
- </uptodate>
</and>
</condition>
@@ -134,14 +122,6 @@
<srcfiles dir="doc/source"
includes="JmolDevelopersGuide.docbook.xml"/>
</uptodate>
- <uptodate targetfile="build/doc/JmolDevelopersGuide_fr.html">
- <srcfiles dir="doc/source"
- includes="JmolDevelopersGuide_fr.docbook.xml"/>
- </uptodate>
- <uptodate targetfile="build/doc/JmolDevelopersGuide_de.html">
- <srcfiles dir="doc/source"
- includes="JmolDevelopersGuide_de.docbook.xml"/>
- </uptodate>
</and>
</condition>
@@ -151,14 +131,6 @@
<srcfiles dir="doc/source"
includes="JmolAppletGuide.docbook.xml, applet/*.docbook.xml"/>
</uptodate>
- <uptodate targetfile="build/doc/JmolAppletGuide_fr.html">
- <srcfiles dir="doc/source"
- includes="JmolAppletGuide_fr.docbook.xml, applet/*_fr.docbook.xml"/>
- </uptodate>
- <uptodate targetfile="build/doc/JmolAppletGuide_de.html">
- <srcfiles dir="doc/source"
- includes="JmolAppletGuide_de.docbook.xml"/>
- </uptodate>
</and>
</condition>
@@ -350,17 +322,12 @@
</target>
<target name="jar" id="jar"
- depends="init,classes,jmolGuide,jmolHistory,jmolDevelopersGuide,libjars,main-i18n">
+ depends="init,classes,jmolGuide,jmolHistory,jmolDevelopersGuide,libjars">
<copy todir="${classes.dir}/org/openscience/jmol/Data/guide" >
<fileset dir="build/doc/JmolUserGuide">
<include name="**/*.html" />
</fileset>
</copy>
- <copy todir="${classes.dir}/org/openscience/jmol/Data/guide_fr" >
- <fileset dir="build/doc/JmolUserGuide_fr">
- <include name="**/*.html" />
- </fileset>
- </copy>
<copy todir="${classes.dir}/org/openscience/jmol/Data" >
<fileset dir="build/doc/JmolHistory">
<include name="**/*.html" />
@@ -506,7 +473,6 @@
<!-- note that this class is included in JmolApplet0.jar -->
<exclude name="org/jmol/api/JmolAppletInterface.class" />
<include name="org/jmol/applet/**" />
- <include name="org/jmol/i18n/**" />
</fileset>
</jar>
@@ -602,12 +568,6 @@
</fileset>
</jar>
- <jar destfile="${jmol.applet.build.dir}/JmolApplet0_i18n.jar" manifest="manifest/applet_i18n.txt" >
- <fileset dir="${applet.classes.dir}">
- <include name="org/jmol/translation/**" />
- </fileset>
- </jar>
-
<!-- vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv -->
<!-- changes to this must be replicated below for the signed applet -->
@@ -636,7 +596,6 @@
<pathelement path="${jmol.applet.build.dir}/JmolApplet0_ShapeSpecial.jar" />
<pathelement path="${jmol.applet.build.dir}/JmolApplet0_Smiles.jar" />
<pathelement path="${jmol.applet.build.dir}/JmolApplet0_Viewer.jar" />
- <pathelement path="${jmol.applet.build.dir}/JmolApplet0_i18n.jar" />
</indexjars>
</jar>
<!-- changes to this must be replicated below for the signed applet -->
@@ -728,11 +687,6 @@
- <signjar jar="${jmol.applet.build.dir}/JmolApplet0_i18n.jar"
- signedjar="${jmol.applet.build.dir}/JmolAppletSigned0_i18n.jar"
- keystore="selfSignedCertificate/selfSignedCertificate.store"
- storepass="selfSignedCertificate" alias="selfSignedCertificate" />
-
<!-- vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv -->
<!-- this one must be treated specially because of jar indexing
we cannot simply rename the jar file, because the index has
@@ -762,7 +716,6 @@
<pathelement path="${jmol.applet.build.dir}/JmolAppletSigned0_ShapeSpecial.jar" />
<pathelement path="${jmol.applet.build.dir}/JmolAppletSigned0_Smiles.jar" />
<pathelement path="${jmol.applet.build.dir}/JmolAppletSigned0_Viewer.jar" />
- <pathelement path="${jmol.applet.build.dir}/JmolAppletSigned0_i18n.jar" />
</indexjars>
</jar>
<signjar jar="${jmol.applet.build.dir}/JmolAppletSigned0.jar"
@@ -772,7 +725,7 @@
</target>
<target name="dist" id="dist"
- depends="doc,main-i18n,main,signed-applet">
+ depends="doc,main,signed-applet">
<!-- first build binary distribution -->
<delete dir="build/dist/jmol-${version}"/>
<mkdir dir="build/dist/jmol-${version}"/>
@@ -829,7 +782,6 @@
<fileset dir=".">
<include name="applet.classes" />
<include name="build.xml" />
- <include name="build-i18n.xml" />
</fileset>
</copy>
@@ -908,7 +860,6 @@
<fileset dir=".">
<include name="apisio.classes" />
<include name="build.xml" />
- <include name="build-i18n.xml" />
</fileset>
</copy>
@@ -1000,7 +951,7 @@
<target name="xclean" id="xclean">
</target>
- <target name="spotless" id="spotless" depends="clean,spotless-i18n">
+ <target name="spotless" id="spotless" depends="clean">
<delete dir="build"/>
<delete dir="${javadoc.dir}"/>
<delete dir="packaging/rpm/dist"/>
@@ -1063,16 +1014,6 @@
<arg value="../../../doc/source/JmolGuide.docbook.xml" />
<arg value="../../${docbook-xsl}/html/chunk.xsl" />
</java>
- <echo message="Generating user's guide (fr)" />
- <mkdir dir="build/doc/JmolUserGuide_fr" />
- <java fork="true" dir="build/doc/JmolUserGuide_fr"
- classname="com.icl.saxon.StyleSheet"
- classpath="${lib.dir}/saxon.jar" >
- <jvmarg value="${proxyHost}" />
- <jvmarg value="${proxyPort}" />
- <arg value="../../../doc/source/JmolGuide_fr.docbook.xml" />
- <arg value="../../${docbook-xsl}/html/chunk.xsl" />
- </java>
</target>
<target name="jmolHistory" id="jmolHistory"
@@ -1087,26 +1028,6 @@
<arg value="../../../doc/source/JmolHistory.xml" />
<arg value="../../../doc/source/JmolHistoryToHtml.xsl" />
</java>
- <echo message="Generating history of changes (fr)" />
- <java fork="true" dir="build/doc/JmolHistory"
- classname="com.icl.saxon.StyleSheet"
- classpath="${lib.dir}/saxon.jar" >
- <arg value="-o" />
- <arg value="ChangeLog_fr.html" />
- <arg value="../../../doc/source/JmolHistory_fr.xml" />
- <arg value="../../../doc/source/JmolHistoryToHtml.xsl" />
- <arg value="lang=fr" />
- </java>
- <echo message="Generating history of changes (nl)" />
- <java fork="true" dir="build/doc/JmolHistory"
- classname="com.icl.saxon.StyleSheet"
- classpath="${lib.dir}/saxon.jar" >
- <arg value="-o" />
- <arg value="ChangeLog_nl.html" />
- <arg value="../../../doc/source/JmolHistory_nl.xml" />
- <arg value="../../../doc/source/JmolHistoryToHtml.xsl" />
- <arg value="lang=nl" />
- </java>
</target>
<target name="jmolDevelopersGuide" id="jmolDevelopersGuide"
@@ -1120,24 +1041,6 @@
<arg value="../../doc/source/JmolDevelopersGuide.docbook.xml" />
<arg value="../${docbook-xsl}/html/docbook.xsl" />
</java>
- <echo message="Generating developer's guide (fr)" />
- <java fork="true" dir="build/doc"
- classname="com.icl.saxon.StyleSheet"
- classpath="${lib.dir}/saxon.jar" >
- <arg value="-o" />
- <arg value="JmolDevelopersGuide_fr.html" />
- <arg value="../../doc/source/JmolDevelopersGuide_fr.docbook.xml" />
- <arg value="../${docbook-xsl}/html/docbook.xsl" />
- </java>
- <echo message="Generating developer's guide (de)" />
- <java fork="true" dir="build/doc"
- classname="com.icl.saxon.StyleSheet"
- classpath="${lib.dir}/saxon.jar" >
- <arg value="-o" />
- <arg value="JmolDevelopersGuide_de.html" />
- <arg value="../../doc/source/JmolDevelopersGuide_de.docbook.xml" />
- <arg value="../${docbook-xsl}/html/docbook.xsl" />
- </java>
</target>
<target name="jmolAppletGuide" id="jmolAppletGuide" depends="initdoc"
@@ -1151,24 +1054,6 @@
<arg value="../../doc/source/JmolAppletGuide.docbook.xml" />
<arg value="../${docbook-xsl}/html/docbook.xsl" />
</java>
- <echo message="Generating applet guide (fr)" />
- <java fork="true" dir="build/doc"
- classname="com.icl.saxon.StyleSheet"
- classpath="${lib.dir}/saxon.jar" >
- <arg value="-o" />
- <arg value="JmolAppletGuide_fr.html" />
- <arg value="../../doc/source/JmolAppletGuide_fr.docbook.xml" />
- <arg value="../${docbook-xsl}/html/docbook.xsl" />
- </java>
- <echo message="Generating applet guide (de)" />
- <java fork="true" dir="build/doc"
- classname="com.icl.saxon.StyleSheet"
- classpath="${lib.dir}/saxon.jar" >
- <arg value="-o" />
- <arg value="JmolAppletGuide_de.html" />
- <arg value="../../doc/source/JmolAppletGuide_de.docbook.xml" />
- <arg value="../${docbook-xsl}/html/docbook.xsl" />
- </java>
</target>
<target name="test" id="test" depends="main,compile-tests">
@@ -1200,12 +1085,4 @@
<jar destfile="${tests.dir}/Tests.jar" basedir="${test-classes.dir}" />
</target>
- <!-- i18n stuff -->
- <target name="main-i18n" depends="classes">
- <ant antfile="build-i18n.xml" target="main-i18n"/>
- </target>
- <target name="spotless-i18n">
- <ant antfile="build-i18n.xml" target="spotless-i18n"/>
- </target>
-
</project>
|