/[packages]/cauldron/libreoffice/releases/3.6.3.2/5.mga3/SOURCES/0004-remove-all-traces-of-saxon.patch
ViewVC logotype

Contents of /cauldron/libreoffice/releases/3.6.3.2/5.mga3/SOURCES/0004-remove-all-traces-of-saxon.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (show annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 3 months ago) by pterjan
File size: 71534 byte(s)
oops
1 From acbef0543f72f48ff135864eed181a1111fc0700 Mon Sep 17 00:00:00 2001
2 From: David Tardon <dtardon@redhat.com>
3 Date: Wed, 10 Oct 2012 17:42:46 +0200
4 Subject: [PATCH 4/4] remove all traces of saxon
5
6 (cherry picked from commit 725eba738eae4eee6cd9b833d375db5463833119)
7
8 Conflicts:
9 Makefile.top
10 Module_tail_build.mk
11 RepositoryExternal.mk
12 config_host.mk.in
13 configure.ac
14 ooo.lst.in
15 readlicense_oo/html/LICENSE.html
16 saxon/prj/build.lst
17 saxon/prj/d.lst
18 tail_build/prj/build.lst
19
20 Change-Id: I33ca2c27d557d24e3900d7ebf8f3ea2d99b3cfb0
21 ---
22 Makefile.top | 1 -
23 RepositoryExternal.mk | 14 -
24 config_host.mk.in | 3 -
25 configure.in | 138 ---
26 filter/prj/build.lst | 2 +-
27 ooo.lst.in | 5 -
28 readlicense_oo/html/THIRDPARTYLICENSEREADME.html | 14 +-
29 readlicense_oo/txt/NOTICE | 5 -
30 readlicense_oo/txt/license.txt | 14 -
31 saxon/README | 1 -
32 saxon/makefile.mk | 69 --
33 saxon/prj/build.lst | 2 -
34 saxon/prj/d.lst | 1 -
35 saxon/saxon-9.0.0.7-bj.patch | 1031 ----------------------
36 stax/README | 1 -
37 stax/makefile.mk | 78 --
38 stax/prj/build.lst | 2 -
39 stax/prj/d.lst | 1 -
40 tail_build/prj/build.lst | 2 +-
41 19 files changed, 3 insertions(+), 1381 deletions(-)
42 delete mode 100644 saxon/README
43 delete mode 100644 saxon/makefile.mk
44 delete mode 100644 saxon/prj/build.lst
45 delete mode 100644 saxon/prj/d.lst
46 delete mode 100644 saxon/prj/dmake
47 delete mode 100644 saxon/saxon-9.0.0.7-bj.patch
48 delete mode 100644 stax/README
49 delete mode 100644 stax/makefile.mk
50 delete mode 100644 stax/prj/build.lst
51 delete mode 100644 stax/prj/d.lst
52 delete mode 100644 stax/prj/dmake
53
54 diff --git a/Makefile.top b/Makefile.top
55 index 7451445..c84cc6f 100644
56 --- a/Makefile.top
57 +++ b/Makefile.top
58 @@ -232,7 +232,6 @@ rhino\
59 saxon\
60 setup_native\
61 soltools\
62 -stax\
63 stlport\
64 sysui\
65 tomcat\
66 diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
67 index 730043c..b8a3cbd 100644
68 --- a/RepositoryExternal.mk
69 +++ b/RepositoryExternal.mk
70 @@ -1698,20 +1698,6 @@ endif
71
72 ### Jars ############################################################
73
74 -ifeq ($(SYSTEM_SAXON),YES)
75 -
76 -define gb_JavaClassSet__use_saxon
77 -$(call gb_JavaClassSet_use_system_jar,$(1),$(SAXON_JAR))
78 -endef
79 -
80 -else # !SYSTEM_SAXON
81 -
82 -define gb_JavaClassSet__use_saxon
83 -$(call gb_JavaClassSet_use_jar,$(1),$(OUTDIR)/bin/saxon9.jar)
84 -endef
85 -
86 -endif # SYSTEM_SAXON
87 -
88 ifeq ($(SYSTEM_BSH),YES)
89
90 define gb_JavaClassSet__use_bsh
91 diff --git a/config_host.mk.in b/config_host.mk.in
92 index 4fb80d1..f643039 100644
93 --- a/config_host.mk.in
94 +++ b/config_host.mk.in
95 @@ -32,7 +32,6 @@ export BUILD_MOZAB=@BUILD_MOZAB@
96 export BUILD_NCPUS=@BUILD_NCPUS@
97 export BUILD_PLATFORM=@build@
98 export BUILD_POSTGRESQL_SDBC=@BUILD_POSTGRESQL_SDBC@
99 -export BUILD_STAX=@BUILD_STAX@
100 export BUILD_TYPE=@BUILD_TYPE@
101 export BUILD_UNOWINREG=@BUILD_UNOWINREG@
102 export BUILD_VER_STRING=@BUILD_VER_STRING@
103 @@ -433,7 +432,6 @@ export RTL_OS=@RTL_OS@
104 export RTL_ARCH=@RTL_ARCH@
105 export SAC_JAR=@SAC_JAR@
106 export SAL_ENABLE_FILE_LOCKING=1
107 -export SAXON_JAR=@SAXON_JAR@
108 export SCPDEFS=@SCPDEFS@
109 export SERVLETAPI_JAR=@SERVLETAPI_JAR@
110 export SHOWINCLUDES_PREFIX=@SHOWINCLUDES_PREFIX@
111 @@ -528,7 +526,6 @@ export SYSTEM_POSTGRESQL=@SYSTEM_POSTGRESQL@
112 export SYSTEM_PYTHON=@SYSTEM_PYTHON@
113 export SYSTEM_REDLAND=@SYSTEM_REDLAND@
114 export SYSTEM_RHINO=@SYSTEM_RHINO@
115 -export SYSTEM_SAXON=@SYSTEM_SAXON@
116 export SYSTEM_SERVLETAPI=@SYSTEM_SERVLETAPI@
117 export SYSTEM_STDLIBS=@SYSTEM_STDLIBS@
118 export SYSTEM_VIGRA=@SYSTEM_VIGRA@
119 diff --git a/configure.in b/configure.in
120 index b2ae537..0b286ee 100644
121 --- a/configure.in
122 +++ b/configure.in
123 @@ -1427,16 +1427,6 @@ AC_ARG_WITH(libbase-jar,
124 [Specify path to jarfile manually.]),
125 LIBBASE_JAR=$withval)
126
127 -AC_ARG_WITH(system-saxon,
128 - AS_HELP_STRING([--with-system-saxon],
129 - [Use saxon already on system.]),,
130 - [with_system_saxon="$with_system_jars"])
131 -
132 -AC_ARG_WITH(saxon-jar,
133 - AS_HELP_STRING([--with-saxon-jar=JARFILE],
134 - [Specify path to jarfile manually.]),
135 - SAXON_JAR=$withval)
136 -
137 AC_ARG_WITH(system-odbc,
138 AS_HELP_STRING([--with-system-odbc],
139 [Use the odbc headers already on system.]),,
140 @@ -7066,134 +7056,6 @@ AC_SUBST(SYSTEM_POSTGRESQL)
141 AC_SUBST(POSTGRESQL_INC)
142 AC_SUBST(POSTGRESQL_LIB)
143
144 -
145 -dnl ===================================================================
146 -dnl Check for system saxon
147 -dnl ===================================================================
148 -if test "$with_java" != "no"; then
149 -AC_MSG_CHECKING([which saxon to use])
150 -if test "$with_system_saxon" = "yes"; then
151 - AC_MSG_RESULT([external])
152 - SYSTEM_SAXON=YES
153 - if test -z $SAXON_JAR; then
154 - AC_CHECK_FILE(/usr/share/java/saxon9.jar,
155 - [ SAXON_JAR=/usr/share/java/saxon9.jar ],
156 - [
157 - AC_CHECK_FILE(/usr/share/java/saxon.jar,
158 - [ SAXON_JAR=/usr/share/java/saxon.jar ],
159 - [ AC_CHECK_FILE(/usr/share/java/saxon9.jar,
160 - [ SAXON_JAR=/usr/share/java/saxon9.jar ],
161 - [ AC_MSG_ERROR(saxon.jar replacement not found)]
162 - )
163 - ]
164 - )
165 - ]
166 - )
167 - else
168 - AC_CHECK_FILE($SAXON_JAR, [],
169 - [AC_MSG_ERROR(saxon.jar replacement not found.)], [])
170 - fi
171 - if test -n "$SERIALIZER_JAR"; then
172 - AC_CHECK_FILE($SERIALIZER_JAR, [],
173 - [AC_MSG_ERROR(serializer.jar not found.)], [])
174 - AC_SUBST(SERIALIZER_JAR)
175 - fi
176 -
177 - dnl Saxon comes in two practically available versions, the out-of-date saxonb which
178 - dnl supports the Java extensions that LibreOffice uses, and the up-to-date saxon he
179 - dnl "home edition" version, which is crippled to not support those Java extensions.
180 - dnl And as an aside the he one also needs to be tweaked to include
181 - dnl a META-INF/services to broadcast that it supports the jaxp transform factory
182 -
183 - AC_MSG_CHECKING([if saxon works])
184 - cat > saxontest.java <<_ACEOF
185 -[import javax.xml.transform.TransformerFactory;
186 -import javax.xml.transform.Transformer;
187 -import javax.xml.transform.stream.StreamSource;
188 -import java.io.*;
189 -
190 -import net.sf.saxon.FeatureKeys;
191 -
192 -class saxontest {
193 - public static void main(String[] args) {
194 - System.setProperty("javax.xml.transform.TransformerFactory",
195 - "net.sf.saxon.TransformerFactoryImpl");
196 - try {
197 - TransformerFactory tfactory = TransformerFactory.newInstance();
198 - // some external saxons (Debian, Ubuntu, ...) have this disabled
199 - // per default
200 - tfactory.setAttribute(FeatureKeys.ALLOW_EXTERNAL_FUNCTIONS, new Boolean(true));
201 - System.out.println("TransformerFactory is" +
202 - tfactory.getClass().getName());
203 - Transformer transformer = tfactory.newTransformer(
204 - new StreamSource(new File(args[0])));
205 - } catch(Exception e){
206 - e.printStackTrace(System.err);
207 - System.exit(-1);
208 - }
209 - System.exit(0);
210 - }
211 -}
212 -]
213 -_ACEOF
214 -
215 - cat > saxontest.xsl<<_ACEOF
216 -[<?xml version="1.0" encoding="UTF-8"?>
217 -<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
218 - <xsl:template match="/">
219 - <xsl:value-of select="math:sqrt(1)" xmlns:math="java:java.lang.Math"/>
220 - </xsl:template>
221 -</xsl:stylesheet>
222 -]
223 -_ACEOF
224 -
225 - javac_cmd="$JAVACOMPILER -cp $SAXON_JAR saxontest.java 1>&2"
226 - AC_TRY_EVAL(javac_cmd)
227 - if test $? = 0 -a -f ./saxontest.class; then
228 - java_cmd="$JAVAINTERPRETER -cp $SAXON_JAR:. saxontest saxontest.xsl 1>&2"
229 - AC_TRY_EVAL(java_cmd)
230 - if test $? = 0; then
231 - AC_MSG_RESULT([yes])
232 - else
233 - cat saxontest.java >&5
234 - AC_MSG_RESULT([no])
235 - AC_MSG_ERROR([Non-functional saxon jar, e.g. crippled saxon-he instead of saxonb])
236 - fi
237 - else
238 - AC_MSG_RESULT([no])
239 - cat saxontest.java >&5
240 - AC_MSG_ERROR([saxontest could not be compiled, non-functional saxon jar])
241 - fi
242 -else
243 - AC_MSG_RESULT([internal])
244 - SYSTEM_SAXON=NO
245 - NEED_SAXON=TRUE
246 -fi
247 -fi
248 -AC_SUBST(SYSTEM_SAXON)
249 -AC_SUBST(SAXON_JAR)
250 -
251 -if test -n "$NEED_SAXON"; then
252 - BUILD_TYPE="$BUILD_TYPE SAXON"
253 -fi
254 -
255 -# ===================================================================
256 -# Check whether to build stax
257 -# ===================================================================
258 -AC_MSG_CHECKING([whether building the stax is required])
259 -BUILD_STAX=NO
260 -if test -z "$SOLAR_JAVA"; then
261 - AC_MSG_RESULT([no (java disabled)])
262 -elif test "$SYSTEM_SAXON" = "YES"; then
263 - AC_MSG_RESULT([no (already provided by system saxon)])
264 -elif test -f "./stax/download/jsr173_1.0_api.jar"; then
265 - AC_MSG_RESULT([no (will use the prebuilt stax/download/jsr173_1.0_api.jar)])
266 -else
267 - BUILD_STAX=YES
268 - AC_MSG_RESULT([yes (no system saxon and no prebuilt copy)])
269 -fi
270 -AC_SUBST(BUILD_STAX)
271 -
272 dnl ===================================================================
273 dnl Check for system curl
274 dnl ===================================================================
275 diff --git a/filter/prj/build.lst b/filter/prj/build.lst
276 index 9083dc7..2319f39 100644
277 --- a/filter/prj/build.lst
278 +++ b/filter/prj/build.lst
279 @@ -1,2 +1,2 @@
280 -fl filter : TRANSLATIONS:translations svtools unotools xmloff cppu tools cppuhelper sal salhelper svx javaunohelper XPDF:xpdf jvmaccess canvas SAXON:saxon LIBXSLT:libxslt basegfx package PYTHON:python NULL
281 +fl filter : TRANSLATIONS:translations svtools unotools xmloff cppu tools cppuhelper sal salhelper svx javaunohelper XPDF:xpdf jvmaccess canvas LIBXSLT:libxslt basegfx package PYTHON:python NULL
282 fl filter\prj nmake - all fl_prj NULL
283 diff --git a/ooo.lst.in b/ooo.lst.in
284 index 02d14b0..4d5b977 100644
285 --- a/ooo.lst.in
286 +++ b/ooo.lst.in
287 @@ -8,7 +8,6 @@ c63f411b3ad147db2bcce1bf262a0e02-pixman-0.24.4.tar.bz2
288 1756c4fa6c616ae15973c104cd8cb256-Adobe-Core35_AFMs-314.tar.gz
289 18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz
290 1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
291 -24be19595acad0a2cae931af77a0148a-LICENSE_source-9.0.0.7-bj.html
292 26b3e95ddf3d9c077c480ea45874b3b8-lp_solve_5.5.tar.gz
293 284e768eeda0e2898b0d5bf7e26a016e-raptor-1.4.18.tar.gz
294 2a177023f9ea8ec8bd00837605c5df1b-jakarta-tomcat-5.0.30-src.tar.gz
295 @@ -30,12 +29,9 @@ f101a9e88b783337b20b2e26dfd26d5f-cairo-1.10.2.tar.gz
296 7376930b0d3f3d77a685d94c4a3acda8-STLport-4.5-0119.tar.gz
297 798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
298 ecb2e37e45c9933e2a963cabe03670ab-curl-7.19.7.tar.gz
299 -8294d6c42e3553229af9934c5c0ed997-stax-api-1.0-2-sources.jar
300 bd30e9cf5523cdfc019b94f5e1d7fd19-cppunit-1.12.1.tar.gz
301 a169ab152209200a7bad29a275cb0333-seamonkey-1.1.14.source.tar.gz
302 -a4d9b30810a434a3ed39fc0003bbd637-LICENSE_stax-api-1.0-2-sources.html
303 a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
304 -ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip
305 af3c3acf618de6108d65fcdc92b492e1-commons-codec-1.3-src.tar.gz
306 bc702168a2af16869201dbe91e46ae48-LICENSE_Python-2.6.1
307 c441926f3a552ed3e5b274b62e86af16-STLport-4.0.tar.gz
308 @@ -48,7 +44,6 @@ e61d0364a30146aaa3001296f853b2b9-libxslt-1.1.26.tar.gz
309 ea570af93c284aa9e5621cd563f54f4d-bsh-2.0b1-src.tar.gz
310 ea91f2fb4212a21d708aced277e6e85a-vigra1.4.0.tar.gz
311 dd7dab7a5fea97d2a6a43f511449b7cd-expat-2.1.0.tar.gz
312 -fb7ba5c2182be4e73748859967455455-README_stax-api-1.0-2-sources.txt
313 fca8706f2c4619e2fa3f8f42f8fc1e9d-rasqal-0.9.16.tar.gz
314 f872f4ac066433d8ff92f5e316b36ff9-dejavu-fonts-ttf-2.33.zip
315 0981bda6548a8c8233ffce2b6e4b2a23-mysql-connector-c++-1.1.0.tar.gz
316 diff --git a/readlicense_oo/html/THIRDPARTYLICENSEREADME.html b/readlicense_oo/html/THIRDPARTYLICENSEREADME.html
317 index 46fc32f..4fca83d 100644
318 --- a/readlicense_oo/html/THIRDPARTYLICENSEREADME.html
319 +++ b/readlicense_oo/html/THIRDPARTYLICENSEREADME.html
320 @@ -2110,18 +2110,6 @@ FITNESS FOR A PARTICULAR PURPOSE.</P>
321 <P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">This
322 file declares SANE application interface. See the SANE standard for a
323 detailed explanation of the interface.</P>
324 -<H2 CLASS="western">Saxon (B)</H2>
325 -<P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">The
326 -following software may be included in this product: Saxon (B). Use of
327 -any of this software is governed by the terms of the license below:</P>
328 -<P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm"><A HREF="#10.Mozilla Public License Version 1.1|outline">Jump
329 -to MPL Version 1.1</A></P>
330 -<H2 CLASS="western">Stax</H2>
331 -<P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">The
332 -following software may be included in this product: Stax API. Use of
333 -any of this software is governed by the terms of the license below:</P>
334 -<P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm"><A HREF="#11.Apache License|outline">Jump
335 -to Apache License Version 2.0</A></P>
336 <H2 CLASS="western">STLPort</H2>
337 <P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">The
338 following software may be included in this product:STLport. Use of
339 @@ -9429,4 +9417,4 @@ this trademark restriction does not form part of the License.</P>
340 <P CLASS="western" STYLE="margin-top: 0.3cm; margin-bottom: 0.3cm">Creative
341 Commons may be contacted at <A HREF="http://creativecommons.org/">http://creativecommons.org/</A>.</P>
342 </BODY>
343 -</HTML>
344 \ No newline at end of file
345 +</HTML>
346 diff --git a/readlicense_oo/txt/NOTICE b/readlicense_oo/txt/NOTICE
347 index 181aea7..8edf0f0 100644
348 --- a/readlicense_oo/txt/NOTICE
349 +++ b/readlicense_oo/txt/NOTICE
350 @@ -139,7 +139,6 @@ As part of the base system this product also includes code from the following
351 projects which are licensed under the Apache license:
352 - serf
353 - redland
354 -- StAX
355
356 The notices from these projects are following:
357
358 @@ -153,10 +152,6 @@ This product includes Redland software (http://librdf.org/)
359 developed at the Institute for Learning and Research Technology,
360 University of Bristol, UK (http://www.bristol.ac.uk/).
361
362 -
363 -StAX
364 -[no notices]
365 -
366 ____
367
368 This product includes software developed by the OpenSSL Project
369 diff --git a/readlicense_oo/txt/license.txt b/readlicense_oo/txt/license.txt
370 index 6acf5b6d..137a892 100644
371 --- a/readlicense_oo/txt/license.txt
372 +++ b/readlicense_oo/txt/license.txt
373 @@ -2057,20 +2057,6 @@ SANE
374 This file declares SANE application interface. See the SANE standard
375 for a detailed explanation of the interface.
376
377 -Saxon (B)
378 -
379 - The following software may be included in this product: Saxon (B). Use
380 - of any of this software is governed by the terms of the license below:
381 -
382 - See MPL Version 1.1 below
383 -
384 -Stax
385 -
386 - The following software may be included in this product: Stax API. Use
387 - of any of this software is governed by the terms of the license below:
388 -
389 - See Apache License Version 2.0 below
390 -
391 STLPort
392
393 The following software may be included in this product:STLport. Use of
394 diff --git a/saxon/README b/saxon/README
395 deleted file mode 100644
396 index 26344a7..0000000
397 --- a/saxon/README
398 +++ /dev/null
399 @@ -1 +0,0 @@
400 -XSLT and XQuery Processor from [[http://saxon.sourceforge.net/]]
401 diff --git a/saxon/makefile.mk b/saxon/makefile.mk
402 deleted file mode 100644
403 index 40a7404..0000000
404 --- a/saxon/makefile.mk
405 +++ /dev/null
406 @@ -1,69 +0,0 @@
407 -#*************************************************************************
408 -#
409 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
410 -#
411 -# Copyright 2000, 2010 Oracle and/or its affiliates.
412 -#
413 -# OpenOffice.org - a multi-platform office productivity suite
414 -#
415 -# This file is part of OpenOffice.org.
416 -#
417 -# OpenOffice.org is free software: you can redistribute it and/or modify
418 -# it under the terms of the GNU Lesser General Public License version 3
419 -# only, as published by the Free Software Foundation.
420 -#
421 -# OpenOffice.org is distributed in the hope that it will be useful,
422 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
423 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
424 -# GNU Lesser General Public License version 3 for more details
425 -# (a copy is included in the LICENSE file that accompanied this code).
426 -#
427 -# You should have received a copy of the GNU Lesser General Public License
428 -# version 3 along with OpenOffice.org. If not, see
429 -# <http://www.openoffice.org/license.html>
430 -# for a copy of the LGPLv3 License.
431 -#
432 -#*************************************************************************
433 -
434 -PRJ=.
435 -
436 -PRJNAME=saxon
437 -TARGET=saxon
438 -
439 -# --- Settings -----------------------------------------------------
440 -
441 -.INCLUDE : settings.mk
442 -.INCLUDE : antsettings.mk
443 -
444 -.IF "$(SOLAR_JAVA)" != ""
445 -.IF "$(SYSTEM_SAXON)" == "YES"
446 -all:
447 - @echo "An already available installation of saxon should exist on your system."
448 - @echo "Therefore the version provided here does not need to be built in addition."
449 -.ENDIF
450 -
451 -# --- Files --------------------------------------------------------
452 -
453 -TARFILE_NAME=source-9.0.0.7-bj
454 -TARFILE_MD5=ada24d37d8d638b3d8a9985e80bc2978
455 -ADDITIONAL_FILES=build.xml
456 -TARFILE_ROOTDIR=src
457 -
458 -PATCH_FILES=saxon-9.0.0.7-bj.patch
459 -
460 -BUILD_ACTION="$(ANT)" $(ANT_FLAGS) -Dsolarbindir=$(SOLARBINDIR) jar-bj
461 -
462 -OUT2CLASS= saxon-build$/9.0.0.7$/bj$/saxon9.jar
463 -
464 -.ELSE # $(SOLAR_JAVA)!= ""
465 -nojava:
466 - @echo "Not building $(PRJNAME) because Java is disabled"
467 -.ENDIF # $(SOLAR_JAVA)!= ""
468 -# --- Targets ------------------------------------------------------
469 -
470 -.INCLUDE : set_ext.mk
471 -.INCLUDE : target.mk
472 -.IF "$(SOLAR_JAVA)" != ""
473 -.INCLUDE : tg_ext.mk
474 -.ENDIF
475 -
476 diff --git a/saxon/prj/build.lst b/saxon/prj/build.lst
477 deleted file mode 100644
478 index 813097c..0000000
479 --- a/saxon/prj/build.lst
480 +++ /dev/null
481 @@ -1,2 +0,0 @@
482 -xx saxon : solenv stax NULL
483 -xx saxon nmake - all xx_saxon NULL
484 diff --git a/saxon/prj/d.lst b/saxon/prj/d.lst
485 deleted file mode 100644
486 index 0793dad..0000000
487 --- a/saxon/prj/d.lst
488 +++ /dev/null
489 @@ -1 +0,0 @@
490 -..\%__SRC%\class\saxon9.jar %_DEST%\bin\saxon9.jar
491 diff --git a/saxon/prj/dmake b/saxon/prj/dmake
492 deleted file mode 100644
493 index e69de29..0000000
494 diff --git a/saxon/saxon-9.0.0.7-bj.patch b/saxon/saxon-9.0.0.7-bj.patch
495 deleted file mode 100644
496 index 11d3091..0000000
497 --- a/saxon/saxon-9.0.0.7-bj.patch
498 +++ /dev/null
499 @@ -1,1031 +0,0 @@
500 ---- misc/src/build.xml 2008-07-11 12:11:50.079281000 +0200
501 -+++ misc/build/src/build.xml 2008-07-11 12:17:29.848740000 +0200
502 -@@ -1 +1,1027 @@
503 --dummy
504 -+<?xml version="1.0" encoding="UTF-8"?>
505 -+
506 -+<project basedir="." default="all" name="Saxon-B The XSLT and XQuery Processor"
507 -+ xmlns:dn="antlib:org.apache.ant.dotnet">
508 -+
509 -+
510 -+ <!-- TODO *really* Must publish NOTICES directory with patch releases. Should also
511 -+ publish doc directory, and add a notice concerning Saxon/MPL itself, as per section 3.6 of MPL 1.0 -->
512 -+
513 -+ <!--TODO: 1: ensure saxon9api.netmodule is included in the build
514 -+ 2: remove the archive target before shipping this file-->
515 -+
516 -+ <!-- note : Ant 1.7 is needed for this script -->
517 -+
518 -+ <!-- Ant 1.7 introduces a <service> element to allow META-INF/services
519 -+ directories to be created in JAR files. Unfortunately it is broken,
520 -+ see http://issues.apache.org/bugzilla/show_bug.cgi?id=41201. The relevant
521 -+ code here is retained in the form of comments, and can be reinstated
522 -+ when the bug is fixed. Meanwhile the directories are created manually -->
523 -+
524 -+ <!-- Build file for Saxon. This builds all four for the released products:
525 -+ Saxon-B and Saxon-SA, on both the Java and .NET platforms. It also builds
526 -+ the released resources file. A full build requires access to Saxonica
527 -+ proprietary source code. The open source Saxon-B product can be built for
528 -+ Java using target "bj"; but building Saxon-B for .NET may require some
529 -+ disentangling of tasks that depend on Saxon-SA being present. -->
530 -+
531 -+ <!-- Useful targets:
532 -+
533 -+ clean clears temporary directories
534 -+ bj builds executables for Saxon-B
535 -+ saj builds executables for Saxon-B and Saxon-SA
536 -+ n builds executables for Saxon on .NET
537 -+ build builds all executables
538 -+ resources builds samples and documentation
539 -+ release builds ZIP files for published downloads
540 -+ archive produces a back-up archive -->
541 -+
542 -+
543 -+ <!-- Naming conventions:
544 -+ -n : .NET
545 -+ -j : Java
546 -+ -b : Saxon-B
547 -+ -sa : Saxon-SA
548 -+ combined as appropriate, so -bj denotes Saxon-B on the Java platform
549 -+ -->
550 -+
551 -+ <property name="version" value="9.0.0.7"/>
552 -+ <property name="versionh" value="9-0-0-7"/>
553 -+ <property name="release.date" value="2008-07-03"/>
554 -+
555 -+ <!-- following locations are specific to the machine -->
556 -+
557 -+ <!-- root drive for input files-->
558 -+ <property name="root" value="."/>
559 -+
560 -+ <!-- root drive for generated files-->
561 -+ <property name="troot" value="."/>
562 -+
563 -+ <!-- directory holding Java source code -->
564 -+ <property name="development-j.dir" value="${root}/MyJava/saxon8.x"/>
565 -+
566 -+ <!-- directory holding Java source code as in Subversion -->
567 -+ <property name="subversion-j.dir" value="${root}"/>
568 -+
569 -+ <!-- directory holding latest patch state of Saxon-SA Java code -->
570 -+ <property name="saj-patch.dir" value="${root}/saxon-90-patch"/>
571 -+
572 -+ <!-- directory holding Java test drivers -->
573 -+ <property name="drivers-j.dir" value="${root}/MyJava/test"/>
574 -+
575 -+ <!-- directories holding C# source code -->
576 -+ <property name="vss-n.dir" value="${root}/Documents and Settings/Mike/My Documents/Visual Studio 2005/Projects/Saxon.Api"/>
577 -+
578 -+ <!-- directory holding C# source code as in Subversion -->
579 -+ <property name="subversion-n.dir" value="${root}/saxon-svn/latest9.0/bn/csource"/>
580 -+
581 -+ <!-- directory holding XML user documentation -->
582 -+ <property name="userdoc.dir" value="${root}/MyJava/doc/saxon8"/>
583 -+
584 -+ <!-- directory holding .NET API documentation (which is built manually using NDOC -->
585 -+ <property name="dotnetdoc.dir" value="${root}/MyDotNet/dotnetdoc"/>
586 -+
587 -+ <!-- directories holding use cases and sample applications -->
588 -+ <property name="usercases.dir" value="${root}/MyJava/use-cases"/>
589 -+ <property name="samples.dir" value="${root}/MyJava/samples"/>
590 -+
591 -+ <!-- directory in which to build the product for release -->
592 -+ <property name="product.dir" value="${troot}/saxon-build/${version}"/>
593 -+
594 -+ <!-- directory in which to build the issued .ZIP files -->
595 -+ <property name="issue.dir" value="${troot}/saxon-issues/saxon-issue-${release.date} (${version})"/>
596 -+
597 -+ <!-- location of the C# compiler -->
598 -+ <property name="csharp.compiler" value="c:/Windows/Microsoft.NET/Framework/v1.1.4322/csc.exe"/>
599 -+
600 -+
601 -+ <!-- following locations are for IKVMC code used to build the .NET product -->
602 -+
603 -+ <property name="development-ikvm.dir" value="${root}/MyDotNet"/>
604 -+ <property name="ikvm.dir" value="${development-ikvm.dir}/ikvm-0.32.0.0"/>
605 -+ <property name="generated.stubs.dir" value="${development-ikvm.dir}/stubs"/>
606 -+ <property name="saxondotnet.snk" value="${development-ikvm.dir}/make/saxondotnet.snk"/>
607 -+
608 -+ <!-- Precondition for .NET compilation: IKVM is installed.
609 -+ * Download from www.ikvm.net
610 -+ * Unzip into ${development-ikvm.dir}
611 -+ * Register in the GAC (access the Microsoft .NET Framework Configuration item in the
612 -+ Windows Control Panel, and add the assemblies to the Assembly Cache.
613 -+ At a minimum, install the IKVM.GNU.Classpath.dll and IKVM.Runtime.dll)
614 -+ * Generate stubs in ${generated.stubs.dir}
615 -+ for System.Xml.dll, System.Security.dll, and IKVM.GNU.Classpath.dll
616 -+ -->
617 -+
618 -+ <!-- following locations are relative to the build file -->
619 -+
620 -+ <property name="lib.dir" value="libs"/>
621 -+ <property name="temp.dir" value="temp"/>
622 -+ <property name="archive.dir" value="archive"/>
623 -+ <property name="services.dir" value="services"/>
624 -+ <property name="temp-src-j.dir" value="${temp.dir}/j/source"/>
625 -+ <property name="temp-src-nj.dir" value="${temp.dir}/n/jsource"/>
626 -+ <property name="temp-src-nc.dir" value="${temp.dir}/n/csource"/>
627 -+ <property name="classes-j.dir" value="${temp.dir}/j/classes"/>
628 -+ <property name="classes-n.dir" value="${temp.dir}/n/classes"/>
629 -+ <property name="jar-n.dir" value="${temp.dir}/n/jar"/>
630 -+ <property name="dll-n.dir" value="${temp.dir}/n/dll"/>
631 -+
632 -+ <!-- following locations are relative to the destination directory -->
633 -+
634 -+ <property name="build-bj.dir" value="${product.dir}/bj"/>
635 -+ <property name="build-saj.dir" value="${product.dir}/saj"/>
636 -+ <property name="build-bn.dir" value="${product.dir}/bn"/>
637 -+ <property name="build-san.dir" value="${product.dir}/san"/>
638 -+ <property name="build-resources.dir" value="${product.dir}/resources"/>
639 -+ <property name="javadoc.dir" value="${build-resources.dir}/doc/javadoc"/>
640 -+
641 -+
642 -+ <property name="build.debug" value="true"/>
643 -+ <property name="build.debuglevel" value="source,lines,vars"/>
644 -+ <property name="build.deprecation" value="true"/>
645 -+ <property name="build.optimize" value="true"/>
646 -+ <property name="build.compiler.source" value="1.4"/>
647 -+ <property name="build.compiler.target" value="1.4"/>
648 -+ <property name="build.s9api.compiler.source" value="1.5"/>
649 -+ <property name="build.s9api.compiler.target" value="1.5"/>
650 -+ <property name="build.compress" value="false"/>
651 -+
652 -+ <!-- following properties can be switched to determine whether to build from patch source
653 -+ or from development source -->
654 -+
655 -+ <!-- patch source -->
656 -+
657 -+ <property name="source-bj.dir" value="${subversion-j.dir}"/>
658 -+ <property name="source-saj.dir" value="${saj-patch.dir}"/>
659 -+ <property name="source-api-n.dir" value="${subversion-n.dir}/api/Saxon.Api"/>
660 -+ <property name="source-cmd-n.dir" value="${subversion-n.dir}/cmd"/>
661 -+ <property name="source-samples-n.dir" value="${subversion-n.dir}/samples"/>
662 -+
663 -+ <!-- development source -->
664 -+ <!--
665 -+ <property name="source-bj.dir" value="${development-j.dir}"/>
666 -+ <property name="source-saj.dir" value="${development-j.dir}"/>
667 -+ <property name="source-api-n.dir" value="${vss-n.dir}"/>
668 -+ <property name="source-cmd-n.dir" value="${vss-n.dir}"/>
669 -+ <property name="source-samples-n.dir" value="${vss-n.dir}"/>
670 -+ -->
671 -+
672 -+ <property name="solar.bin" value="${solarbindir}"/>
673 -+ <path id="classpath-j">
674 -+ <fileset dir="${solar.bin}">
675 -+ <include name="jsr173_1.0_api.jar"/>
676 -+ </fileset>
677 -+ </path>
678 -+
679 -+ <path id="classpath-n">
680 -+ <fileset dir="${lib.dir}">
681 -+ <include name="*.jar"/>
682 -+ </fileset>
683 -+ <fileset dir="${ikvm.dir}">
684 -+ <include name="classpath/mscorlib.jar"/>
685 -+ <include name="classpath/System.jar"/>
686 -+ <include name="bin/IKVM.GNU.Classpath.jar"/>
687 -+ <include name="bin/IKVM.Runtime.jar"/>
688 -+ </fileset>
689 -+ <fileset dir="${generated.stubs.dir}">
690 -+ <include name="System.Xml.jar"/>
691 -+ <include name="System.Security.jar"/>
692 -+ </fileset>
693 -+ </path>
694 -+
695 -+ <path id="classpath-samples">
696 -+ <fileset dir="${lib.dir}">
697 -+ <include name="*.jar"/>
698 -+ </fileset>
699 -+ <fileset dir="${build-saj.dir}">
700 -+ <include name="*.jar"/>
701 -+ </fileset>
702 -+ <!-- Substitute build-bj.dir if there is no requirement to compile the sample applications
703 -+ that depend on Saxon-SA -->
704 -+ </path>
705 -+
706 -+ <target name="clean" description="Clean all files other than source code and downloaded jars.">
707 -+ <delete dir="${temp.dir}"/>
708 -+ <delete dir="${product.dir}"/>
709 -+ <mkdir dir="${product.dir}"/>
710 -+ </target>
711 -+
712 -+ <target name="download" description="Download third-party jar files.">
713 -+ <get src="http://mirrors.ibiblio.org/pub/mirrors/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar"
714 -+ dest="${lib.dir}/dom4j-1.6.1.jar" verbose="true"/>
715 -+
716 -+ <get src="http://www.ibiblio.org/maven/jdom/jars/jdom-1.0.jar"
717 -+ dest="${lib.dir}/jdom-1.0.jar" verbose="true"/>
718 -+
719 -+ <get src="http://www.cafeconleche.org/XOM/xom-1.1.jar" dest="${lib.dir}/xom-1.1.jar"
720 -+ verbose="true"/>
721 -+
722 -+ <get src="http://dist.codehaus.org/stax/jars/stax-api-1.0.1.jar" dest="${lib.dir}/stax-api-1.0.1.jar"
723 -+ verbose="true"/>
724 -+
725 -+ <!-- TODO: add servlet.jar, ant.jar -->
726 -+
727 -+ </target>
728 -+
729 -+
730 -+ <target name="copysource-development" description="Copy relevant source files from development directory">
731 -+ <copy todir="${temp-src-j.dir}">
732 -+ <fileset dir="${source-bj.dir}">
733 -+ <include name="net/sf/saxon/**/*.java"/>
734 -+ <exclude name="**/dotnet/**"/>
735 -+ <!--<exclude name="**/s9api/**"/> s9api needs Java 5 -->
736 -+ <include name="net/sf/saxon/**/package.html"/>
737 -+ </fileset>
738 -+ <!--
739 -+ <fileset dir="${source-saj.dir}">
740 -+ <include name="com/saxonica/**/*.java"/>
741 -+ <exclude name="com/saxonica/validate/DotNetVerifier.java"/>
742 -+ <include name="com/saxonica/**/package.html"/>
743 -+ </fileset>
744 -+ -->
745 -+ </copy>
746 -+ <!--
747 -+ <replace file="${temp-src-j.dir}/com/saxonica/validate/SchemaAwareConfiguration.java"
748 -+ token="/*DOTNETONLY*/"
749 -+ value="//"
750 -+ summary="yes"/>
751 -+ -->
752 -+ <replace file="${temp-src-j.dir}/net/sf/saxon/Configuration.java"
753 -+ token="/*DOTNETONLY*/"
754 -+ value="//"
755 -+ summary="yes"/>
756 -+ <copy todir="${temp-src-nj.dir}">
757 -+ <fileset dir="${source-bj.dir}">
758 -+ <include name="net/sf/saxon/**/*.java"/>
759 -+ <exclude name="**/ant/**"/>
760 -+ <exclude name="**/dom/**"/>
761 -+ <exclude name="**/dom4j/**"/>
762 -+ <exclude name="**/java/**"/>
763 -+ <exclude name="**/javax/**"/>
764 -+ <exclude name="**/jdom/**"/>
765 -+ <exclude name="**/pull/PullToStax.java"/>
766 -+ <exclude name="**/pull/StaxBridge.java"/>
767 -+ <!-- <exclude name="**/s9api/**"/> s9api needs Java 5 -->
768 -+ <exclude name="**/xom/**"/>
769 -+ <exclude name="**/xpath/**"/>
770 -+ <exclude name="**/xqj/**"/>
771 -+ </fileset>
772 -+ <!--
773 -+ <fileset dir="${source-saj.dir}">
774 -+ <include name="com/saxonica/extra/*.java"/>
775 -+ <include name="com/saxonica/fsa/*.java"/>
776 -+ <include name="com/saxonica/ptree/*.java"/>
777 -+ <include name="com/saxonica/schema/*.java"/>
778 -+ <include name="com/saxonica/sdoc/*.java"/>
779 -+ <include name="com/saxonica/validate/*.java"/>
780 -+ <include name="com/saxonica/Validate.java"/>
781 -+ </fileset>-->
782 -+ </copy>
783 -+ <!--
784 -+ <replace file="${temp-src-nj.dir}/com/saxonica/validate/SchemaAwareConfiguration.java"
785 -+ token="/*JAVAONLY*/"
786 -+ value="//"
787 -+ summary="yes"/>
788 -+ -->
789 -+ <replace file="${temp-src-nj.dir}/net/sf/saxon/Configuration.java"
790 -+ token="/*JAVAONLY*/"
791 -+ value="//"
792 -+ summary="yes"/>
793 -+ <!-- when building from development source
794 -+ <copy todir="${temp-src-nc.dir}/api">
795 -+ <fileset dir="${source-api-n.dir}">
796 -+ <include name="Saxon.Api/*.cs"/>
797 -+ </fileset>
798 -+ </copy>
799 -+
800 -+ <copy todir="${temp-src-nc.dir}/cmd">
801 -+ <fileset dir="${source-cmd-n.dir}/Transform">
802 -+ <include name="*.cs"/>
803 -+ </fileset>
804 -+ <fileset dir="${source-cmd-n.dir}/Query">
805 -+ <include name="*.cs"/>
806 -+ </fileset>
807 -+ <fileset dir="${source-cmd-n.dir}/Validate">
808 -+ <include name="*.cs"/>
809 -+ </fileset>
810 -+ </copy>
811 -+ <copy todir="${temp-src-nc.dir}/samples">
812 -+ <fileset dir="${source-samples-n.dir}/XQueryExamples">
813 -+ <include name="*.cs"/>
814 -+ </fileset>
815 -+ <fileset dir="${source-samples-n.dir}/XPathExample">
816 -+ <include name="*.cs"/>
817 -+ </fileset>
818 -+ <fileset dir="${source-samples-n.dir}/XsltExamples">
819 -+ <include name="*.cs"/>
820 -+ </fileset>
821 -+ <fileset dir="${source-samples-n.dir}/SchemaExamples">
822 -+ <include name="*.cs"/>
823 -+ </fileset>
824 -+ <fileset dir="${source-samples-n.dir}/XsltTestSuiteDriver">
825 -+ <include name="*.cs"/>
826 -+ </fileset>
827 -+ <fileset dir="${source-samples-n.dir}/XQueryTestSuiteDriver">
828 -+ <include name="*.cs"/>
829 -+ </fileset>
830 -+ <fileset dir="${source-samples-n.dir}/SampleExtensions">
831 -+ <include name="*.cs"/>
832 -+ </fileset>
833 -+ </copy>
834 -+ -->
835 -+ <!-- when building from patch source
836 -+ <copy todir="${temp-src-nc.dir}/api/Saxon.Api">
837 -+ <fileset dir="${source-api-n.dir}">
838 -+ <include name="*.cs"/>
839 -+ </fileset>
840 -+ </copy>
841 -+ <copy todir="${temp-src-nc.dir}/cmd" >
842 -+ <fileset dir="${source-cmd-n.dir}">
843 -+ <include name="*.cs"/>
844 -+ </fileset>
845 -+ </copy>
846 -+ <copy todir="${temp-src-nc.dir}/samples">
847 -+ <fileset dir="${source-samples-n.dir}">
848 -+ <include name="*.cs"/>
849 -+ </fileset>
850 -+ </copy>
851 -+ -->
852 -+ <!-- -->
853 -+
854 -+ </target>
855 -+
856 -+ <target name="create-meta-inf" description="Create contents of META-INF/services files">
857 -+
858 -+ <!-- given the Ant 1.7.0 bug, create the services files here for copying into the JARS -->
859 -+ <mkdir dir="${services.dir}/saxon9/META-INF/services"/>
860 -+ <echo file="${services.dir}/saxon9/META-INF/services/javax.xml.transform.TransformerFactory"
861 -+ message="net.sf.saxon.TransformerFactoryImpl"/>
862 -+ <mkdir dir="${services.dir}/saxon9-xpath/META-INF/services"/>
863 -+ <echo file="${services.dir}/saxon9-xpath/META-INF/services/javax.xml.xpath.XPathFactory"
864 -+>net.sf.saxon.xpath.XPathFactoryImpl
865 -+http\://java.sun.com/jaxp/xpath/dom: net.sf.saxon.xpath.XPathFactoryImpl
866 -+http\://saxon.sf.net/jaxp/xpath/om: net.sf.saxon.xpath.XPathFactoryImpl
867 -+http\://www.xom.nu/jaxp/xpath/xom: net.sf.saxon.xpath.XPathFactoryImpl
868 -+http\://jdom.org/jaxp/xpath/jdom: net.sf.saxon.xpath.XPathFactoryImpl
869 -+http\://www.dom4j.org/jaxp/xpath/dom4j: net.sf.saxon.xpath.XPathFactoryImpl
870 -+</echo>
871 -+ <mkdir dir="${services.dir}/saxon9sa/META-INF/services"/>
872 -+ <echo file="${services.dir}/saxon9sa/META-INF/services/javax.xml.transform.TransformerFactory"
873 -+ message="com.saxonica.SchemaAwareTransformerFactory"/>
874 -+ <mkdir dir="${services.dir}/saxon9sa-jaxp/META-INF/services"/>
875 -+ <echo file="${services.dir}/saxon9sa-jaxp/META-INF/services/javax.xml.validation.SchemaFactory"
876 -+>com.saxonica.jaxp.SchemaFactoryImpl
877 -+http\://www.w3.org/2001/XMLSchema: com.saxonica.jaxp.SchemaFactoryImpl
878 -+</echo>
879 -+
880 -+
881 -+ </target>
882 -+
883 -+ <target name="compile-bj" description="Compile Saxon-B classes for Java." depends="copysource-development">
884 -+ <mkdir dir="${classes-j.dir}"/>
885 -+ <javac encoding="ISO-8859-1" debug="${build.debug}" debuglevel="${build.debuglevel}"
886 -+ deprecation="${build.deprecation}" destdir="${classes-j.dir}"
887 -+ optimize="${build.optimize}" srcdir="${temp-src-j.dir}" source="${build.compiler.source}"
888 -+ target="${build.compiler.target}">
889 -+
890 -+ <include name="net/**"/>
891 -+ <exclude name="**/dom/**"/>
892 -+ <exclude name="**/dom4j/**"/>
893 -+ <exclude name="**/javax/**"/>
894 -+ <exclude name="**/jdom/**"/>
895 -+ <exclude name="**/sql/**"/>
896 -+ <exclude name="**/xom/**"/>
897 -+ <exclude name="**/xpath/**"/>
898 -+ <exclude name="**/xqj/**"/>
899 -+ <exclude name="**/dotnet/**"/>
900 -+ <exclude name="**/s9api/**"/>
901 -+
902 -+ <exclude name="**/ant/**"/>
903 -+ <exclude name="**/dotnet/**"/>
904 -+ <exclude name="**/s9api/**"/>
905 -+ <classpath>
906 -+ <path refid="classpath-j"/>
907 -+ </classpath>
908 -+ </javac>
909 -+ </target>
910 -+
911 -+ <target name="compile-saj" description="Compile Saxon-SA classes for Java." depends="copysource-development">
912 -+ <mkdir dir="${classes-j.dir}"/>
913 -+ <javac debug="${build.debug}" debuglevel="${build.debuglevel}"
914 -+ deprecation="${build.deprecation}" destdir="${classes-j.dir}"
915 -+ optimize="${build.optimize}" srcdir="${temp-src-j.dir}" source="${build.compiler.source}"
916 -+ target="${build.compiler.target}">
917 -+
918 -+ <include name="com/saxonica/**"/>
919 -+ <include name="net/sf/saxon/ant/**"/>
920 -+ <exclude name="com/saxonica/validate/DotNetVerifier.java"/>
921 -+ <classpath>
922 -+ <path refid="classpath-j"/>
923 -+ </classpath>
924 -+ </javac>
925 -+ </target>
926 -+
927 -+ <target name="compile-s9api" description="Compile s9api classes for Java."
928 -+ depends="compile-bj, compile-saj, copysource-development">
929 -+ <!-- Compiling the s9api package requires JDK 1.5 -->
930 -+ <!-- The bj and saj source must be compiled first to ensure that it is done using 1.4, otherwise
931 -+ it will be compiled in 1.5 mode because the classes are referenced from the s9api package -->
932 -+ <javac debug="${build.debug}" debuglevel="${build.debuglevel}"
933 -+ deprecation="${build.deprecation}" destdir="${classes-j.dir}"
934 -+ optimize="${build.optimize}" srcdir="${temp-src-j.dir}" source="${build.s9api.compiler.source}"
935 -+ target="${build.s9api.compiler.target}">
936 -+
937 -+ <include name="**/s9api/**"/>
938 -+ <classpath>
939 -+ <path refid="classpath-j"/>
940 -+ </classpath>
941 -+ </javac>
942 -+ </target>
943 -+
944 -+ <target name="compile-bn" description="Compile Saxon-B classes for .NET" depends="copysource-development">
945 -+ <mkdir dir="${classes-n.dir}"/>
946 -+ <javac debug="${build.debug}" debuglevel="${build.debuglevel}"
947 -+ deprecation="${build.deprecation}" destdir="${classes-n.dir}"
948 -+ optimize="${build.optimize}" srcdir="${temp-src-nj.dir}" source="${build.compiler.source}"
949 -+ target="${build.compiler.target}">
950 -+
951 -+ <include name="net/**"/>
952 -+ <exclude name="**/s9api/**"/>
953 -+ <classpath>
954 -+ <path refid="classpath-n"/>
955 -+ </classpath>
956 -+ </javac>
957 -+ </target>
958 -+
959 -+ <target name="compile-san" description="Compile Saxon-SA classes for .NET" depends="copysource-development">
960 -+ <mkdir dir="${classes-n.dir}"/>
961 -+ <javac debug="${build.debug}" debuglevel="${build.debuglevel}"
962 -+ deprecation="${build.deprecation}" destdir="${classes-n.dir}"
963 -+ optimize="${build.optimize}" srcdir="${temp-src-nj.dir}" source="${build.compiler.source}"
964 -+ target="${build.compiler.target}">
965 -+
966 -+ <include name="com/saxonica/**"/>
967 -+ <exclude name="com/saxonica/validate/JavaVerifier.java"/>
968 -+ <classpath>
969 -+ <path refid="classpath-n"/>
970 -+ </classpath>
971 -+ </javac>
972 -+ </target>
973 -+
974 -+ <target name="jar-bj" description="Create Saxon-B jar files for Java" depends="create-meta-inf, compile-bj">
975 -+ <mkdir dir="${product.dir}/bj"/>
976 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9.jar">
977 -+ <include name="net/**/*.class"/>
978 -+ <exclude name="**/ant/**/*.class"/>
979 -+ <exclude name="**/dom/**/*.class"/>
980 -+ <exclude name="**/dom4j/**/*.class"/>
981 -+ <exclude name="**/javax/**/*.class"/>
982 -+ <exclude name="**/jdom/**/*.class"/>
983 -+ <exclude name="**/sql/**/*.class"/>
984 -+ <exclude name="**/xom/**/*.class"/>
985 -+ <exclude name="**/xpath/**/*.class"/>
986 -+ <exclude name="**/xqj/**/*.class"/>
987 -+ <exclude name="**/s9api/**/*.class"/>
988 -+ <include name="META-INF/**"/>
989 -+ <manifest>
990 -+ <attribute name="Project-Name" value="Saxon-B"/>
991 -+ <attribute name="Main-Class" value="net.sf.saxon.Transform"/>
992 -+ </manifest>
993 -+ <metainf dir="${services.dir}/saxon9/META-INF"/>
994 -+ <!--
995 -+ <service type="javax.xml.transform.TransformerFactory"
996 -+ provider="net.sf.saxon.TransformerFactoryImpl"/>
997 -+ -->
998 -+ </jar>
999 -+ <!--
1000 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-dom.jar">
1001 -+ <include name="net/sf/saxon/dom/*.class"/>
1002 -+ </jar>
1003 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-dom4j.jar">
1004 -+ <include name="net/sf/saxon/dom4j/*.class"/>
1005 -+ </jar>
1006 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-jdom.jar">
1007 -+ <include name="net/sf/saxon/jdom/*.class"/>
1008 -+ </jar>
1009 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-s9api.jar">
1010 -+ <include name="net/sf/saxon/s9api/*.class"/>
1011 -+ </jar>
1012 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-sql.jar">
1013 -+ <include name="net/sf/saxon/sql/*.class"/>
1014 -+ </jar>
1015 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-xom.jar">
1016 -+ <include name="net/sf/saxon/xom/*.class"/>
1017 -+ </jar>
1018 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-xpath.jar">
1019 -+ <include name="net/sf/saxon/xpath/*.class"/>
1020 -+ <metainf dir="${services.dir}/saxon9-xpath/META-INF"/>
1021 -+ <!==
1022 -+ <service type="javax.xml.xpath.XPathFactory">
1023 -+ <provider classname="net.sf.saxon.xpath.XPathFactoryImpl"/>
1024 -+ <provider classname="http\://java.sun.com/jaxp/xpath/dom: net.sf.saxon.xpath.XPathFactoryImpl"/>
1025 -+ <provider classname="http\://saxon.sf.net/jaxp/xpath/om: net.sf.saxon.xpath.XPathFactoryImpl"/>
1026 -+ <provider classname="http\://www.xom.nu/jaxp/xpath/xom: net.sf.saxon.xpath.XPathFactoryImpl"/>
1027 -+ <provider classname="http\://jdom.org/jaxp/xpath/jdom: net.sf.saxon.xpath.XPathFactoryImpl"/>
1028 -+ <provider classname="http\://www.dom4j.org/jaxp/xpath/dom4j: net.sf.saxon.xpath.XPathFactoryImpl"/>
1029 -+ </service> ==>
1030 -+ </jar>
1031 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-xqj.jar">
1032 -+ <include name="net/sf/saxon/xqj/*.class"/>
1033 -+ <include name="net/sf/saxon/javax/xml/namespace/*.class"/>
1034 -+ <include name="net/sf/saxon/javax/xml/xquery/*.class"/>
1035 -+ </jar>
1036 -+ -->
1037 -+ </target>
1038 -+
1039 -+ <target name="jar-saj" description="Create Saxon-SA jar files for Java" depends="compile-s9api, jar-bj">
1040 -+ <mkdir dir="${product.dir}/saj"/>
1041 -+ <copy todir="${product.dir}/saj">
1042 -+ <fileset dir="${product.dir}/bj">
1043 -+ <include name="*.jar"/>
1044 -+ </fileset>
1045 -+ </copy>
1046 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/saj/saxon9sa.jar">
1047 -+ <include name="net/**/*.class"/>
1048 -+ <exclude name="**/dom/**/*.class"/>
1049 -+ <exclude name="**/dom4j/**/*.class"/>
1050 -+ <exclude name="**/javax/**/*.class"/>
1051 -+ <exclude name="**/jdom/**/*.class"/>
1052 -+ <exclude name="**/s9api/**/*.class"/>
1053 -+ <exclude name="**/sql/**/*.class"/>
1054 -+ <exclude name="**/xom/**/*.class"/>
1055 -+ <exclude name="**/xpath/**/*.class"/>
1056 -+ <exclude name="**/xqj/**/*.class"/>
1057 -+ <include name="com/saxonica/**/*.class"/>
1058 -+ <exclude name="com/saxonica/jaxp/*.class"/>
1059 -+ <exclude name="com.saxonica.CompileQuery.class"/>
1060 -+ <manifest>
1061 -+ <attribute name="Project-Name" value="Saxon-SA"/>
1062 -+ </manifest>
1063 -+ <metainf dir="${services.dir}/saxon9sa/META-INF"/>
1064 -+ <!--
1065 -+ <service type="javax.xml.transform.TransformerFactory"
1066 -+ provider="com.saxonica.SchemaAwareTransformerFactory"/>
1067 -+ -->
1068 -+ </jar>
1069 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/saj/saxon9sa-jaxp.jar">
1070 -+ <include name="com/saxonica/jaxp/*.class"/>
1071 -+ <include name="net/sf/saxon/dom/TypeInfoImpl.class"/>
1072 -+ <metainf dir="${services.dir}/saxon9sa-jaxp/META-INF"/>
1073 -+ <!--
1074 -+ <service type="javax.xml.validation.SchemaFactory">
1075 -+ <provider classname="com.saxonica.jaxp.SchemaFactoryImpl"/>
1076 -+ <provider classname="http\://www.w3.org/2001/XMLSchema: com.saxonica.jaxp.SchemaFactoryImpl"/>
1077 -+ </service>
1078 -+ -->
1079 -+ </jar>
1080 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/saj/saxon9sa-qc.jar">
1081 -+ <include name="com/saxonica/codegen/*.class"/>
1082 -+ <include name="com.saxonica.CompileQuery.class"/>
1083 -+ </jar>
1084 -+ <!-- The Saxon-Ant task is delivered with Saxon-B but it won't compile without Saxon-SA present,
1085 -+ unless modified -->
1086 -+ <jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-ant.jar">
1087 -+ <include name="net/sf/saxon/ant/*.class"/>
1088 -+ </jar>
1089 -+ </target>
1090 -+
1091 -+ <target name="jar-bn" description="Create Saxon-B jar files for .NET" depends="compile-bn">
1092 -+ <mkdir dir="${jar-n.dir}"/>
1093 -+ <jar basedir="${classes-n.dir}" compress="${build.compress}" jarfile="${jar-n.dir}/saxon9.jar">
1094 -+ <include name="net/**/*.class"/>
1095 -+ </jar>
1096 -+ </target>
1097 -+
1098 -+ <target name="jar-san" description="Create Saxon-SA jar files for .NET" depends="compile-san">
1099 -+ <mkdir dir="${jar-n.dir}"/>
1100 -+ <jar basedir="${classes-n.dir}" compress="${build.compress}" jarfile="${jar-n.dir}/saxon9sa.jar">
1101 -+ <include name="com/saxonica/**/*.class"/>
1102 -+ </jar>
1103 -+ </target>
1104 -+
1105 -+ <target name="dll-n" description="Create DLLs for .NET" depends="jar-bn, jar-san">
1106 -+ <mkdir dir="${dll-n.dir}"/>
1107 -+ <copy todir="${dll-n.dir}">
1108 -+ <fileset dir="${ikvm.dir}/bin">
1109 -+ <include name="IKVM.GNU.Classpath.dll"/>
1110 -+ <include name="IKVM.Runtime.dll"/>
1111 -+ </fileset>
1112 -+ </copy>
1113 -+ <copy file="${saxondotnet.snk}" todir="${basedir}"/>
1114 -+ <!--
1115 -+ Invoke IKVMC to cross-compile the JAR files into DLLs
1116 -+ -->
1117 -+ <exec dir="." executable="ikvmc.cmd" >
1118 -+ <arg line="live"/> <!-- set to 'debug' for testing, 'live' for final build -->
1119 -+ <arg line="${basedir}/${jar-n.dir}"/>
1120 -+ <arg line="${basedir}/${dll-n.dir}"/>
1121 -+ <arg line="${version}"/>
1122 -+ </exec>
1123 -+ </target>
1124 -+
1125 -+ <target name="csharp-n" description="Compile C# source for .NET commands and API library"
1126 -+ depends="dll-n">
1127 -+
1128 -+ <mkdir dir="${dll-n.dir}/samples"/>
1129 -+ <mkdir dir="${dll-n.dir}/tests"/>
1130 -+
1131 -+ <exec dir="." executable="csharp-compile.cmd" >
1132 -+ <arg line="${basedir}/${temp-src-nc.dir}"/>
1133 -+ <arg line="${basedir}/${dll-n.dir}"/>
1134 -+ <arg line="${version}"/>
1135 -+ </exec>
1136 -+
1137 -+
1138 -+<!-- <taskdef
1139 -+ uri="antlib:org.apache.ant.dotnet">
1140 -+ <classpath>
1141 -+ <pathelement location="c:/javalib/ant-dotnet-1.0/ant-dotnet-1.0.jar"/>
1142 -+ </classpath>
1143 -+ </taskdef>
1144 -+ <dn:csc xmlns:dn="antlib:org.apache.ant.dotnet"
1145 -+ executable="${csharp.compiler}"
1146 -+ srcdir="${temp-src-nc.dir}/cmd"
1147 -+ targettype="exe"
1148 -+ win32icon="c:\MyDotNet\icons\gyfu.ico"
1149 -+ destdir="${dll-n.dir}">
1150 -+ <reference file="${dll-n.dir}/IKVM.GNU.Classpath.dll"/>
1151 -+ <reference file="${dll-n.dir}/IKVM.Runtime.dll"/>
1152 -+ <reference file="${dll-n.dir}/saxon9.dll"/>
1153 -+ <reference file="${dll-n.dir}/saxon9sa.dll"/>
1154 -+ </dn:csc>
1155 -+ <dn:csc xmlns:dn="antlib:org.apache.ant.dotnet"
1156 -+ executable="${csharp.compiler}"
1157 -+ srcdir="${temp-src-nc.dir}/api"
1158 -+ targettype="module"
1159 -+ win32icon="c:\MyDotNet\icons\gyfu.ico"
1160 -+ destdir="${dll-n.dir}">
1161 -+ <reference file="${dll-n.dir}/IKVM.GNU.Classpath.dll"/>
1162 -+ <reference file="${dll-n.dir}/IKVM.Runtime.dll"/>
1163 -+ <reference file="${dll-n.dir}/saxon9.dll"/>
1164 -+ <reference file="${dll-n.dir}/saxon9sa.dll"/>
1165 -+ </dn:csc>
1166 -+-->
1167 -+ </target>
1168 -+
1169 -+ <target name="basic-userdoc" description="Generate Basic Documentation for release with executable">
1170 -+ <mkdir dir="${product.dir}/bj"/>
1171 -+ <copy todir="${product.dir}/bj">
1172 -+ <fileset dir="${userdoc.dir}/welcome">
1173 -+ <include name="doc/**"/>
1174 -+ <include name="notices/**"/>
1175 -+ </fileset>
1176 -+ </copy>
1177 -+ <mkdir dir="${product.dir}/saj"/>
1178 -+ <copy todir="${product.dir}/saj">
1179 -+ <fileset dir="${userdoc.dir}/welcome">
1180 -+ <include name="doc/**"/>
1181 -+ <include name="notices/**"/>
1182 -+ </fileset>
1183 -+ </copy>
1184 -+ <mkdir dir="${product.dir}/bn"/>
1185 -+ <copy todir="${product.dir}/bn">
1186 -+ <fileset dir="${userdoc.dir}/welcome">
1187 -+ <include name="doc/**"/>
1188 -+ <include name="notices/**"/>
1189 -+ </fileset>
1190 -+ </copy>
1191 -+ <mkdir dir="${product.dir}/san"/>
1192 -+ <copy todir="${product.dir}/san">
1193 -+ <fileset dir="${userdoc.dir}/welcome">
1194 -+ <include name="doc/**"/>
1195 -+ <include name="notices/**"/>
1196 -+ </fileset>
1197 -+ </copy>
1198 -+ </target>
1199 -+
1200 -+ <target name="product-bn" description="Assemble product.directory for Saxon-B on .NET"
1201 -+ depends="csharp-n, dll-n, basic-userdoc">
1202 -+ <mkdir dir="${build-bn.dir}/bin"/>
1203 -+ <copy todir="${build-bn.dir}/bin">
1204 -+ <fileset dir="${dll-n.dir}">
1205 -+ <include name="IKVM.GNU.Classpath.dll"/>
1206 -+ <include name="IKVM.Runtime.dll"/>
1207 -+ <include name="saxon9.dll"/>
1208 -+ <include name="saxon9api.dll"/>
1209 -+ <include name="saxon9api.netmodule"/>
1210 -+ <include name="Query.exe"/>
1211 -+ <include name="Transform.exe"/>
1212 -+ </fileset>
1213 -+ </copy>
1214 -+ <echo file="${build-bn.dir}/bin/install-gac.cmd">
1215 -+ set NET="%PROGRAMFILES%\Microsoft.NET\SDK\v1.1\Bin"
1216 -+ %NET%\gacutil /if IKVM.Runtime.dll
1217 -+ %NET%\gacutil /if IKVM.GNU.Classpath.dll
1218 -+ %NET%\gacutil /if saxon9.dll
1219 -+ %NET%\gacutil /if saxon9api.dll
1220 -+ </echo>
1221 -+ </target>
1222 -+
1223 -+ <target name="product-san" description="Assemble product.directory for Saxon-SA on .NET"
1224 -+ depends="csharp-n, dll-n, basic-userdoc">
1225 -+ <copy todir="${build-san.dir}/bin">
1226 -+ <fileset dir="${dll-n.dir}">
1227 -+ <include name="IKVM.GNU.Classpath.dll"/>
1228 -+ <include name="IKVM.Runtime.dll"/>
1229 -+ <include name="saxon9.dll"/>
1230 -+ <include name="saxon9sa.dll"/>
1231 -+ <include name="saxon9api.dll"/>
1232 -+ <include name="saxon9api.netmodule"/>
1233 -+ <include name="Query.exe"/>
1234 -+ <include name="Transform.exe"/>
1235 -+ <include name="Validate.exe"/>
1236 -+ </fileset>
1237 -+ </copy>
1238 -+ <echo file="${build-san.dir}/bin/install-gac.cmd">
1239 -+ set NET="%PROGRAMFILES%\Microsoft.NET\SDK\v1.1\Bin"
1240 -+ %NET%\gacutil /if IKVM.Runtime.dll
1241 -+ %NET%\gacutil /if IKVM.GNU.Classpath.dll
1242 -+ %NET%\gacutil /if saxon9.dll
1243 -+ %NET%\gacutil /if saxon9sa.dll
1244 -+ %NET%\gacutil /if saxon9api.dll
1245 -+ </echo>
1246 -+ </target>
1247 -+
1248 -+ <target name="samples" description="Assemble Cross-Platform Samples and Use-Cases">
1249 -+ <mkdir dir="${build-resources.dir}/samples"/>
1250 -+ <copy todir="${product.dir}/resources/use-cases">
1251 -+ <fileset dir="${usercases.dir}"/>
1252 -+ </copy>
1253 -+ <copy todir="${product.dir}/resources/samples">
1254 -+ <fileset dir="${samples.dir}">
1255 -+ <include name="analysis/timing-profile.xsl"/>
1256 -+ <include name="data/*.xml"/>
1257 -+ <include name="data/*.xsd"/>
1258 -+ <include name="data/*.dtd"/>
1259 -+ <include name="query/*.xq"/>
1260 -+ <include name="styles/*.xsl"/>
1261 -+ <include name="trax/xml/**/*.xml"/>
1262 -+ <include name="trax/xsl/**/*.xsl"/>
1263 -+ <include name="trax/xsl/**/preamble.txt"/>
1264 -+ </fileset>
1265 -+ </copy>
1266 -+ </target>
1267 -+
1268 -+ <target name="samples-j" description="Copy and Compile Java Samples"
1269 -+ depends="jar-saj">
1270 -+ <mkdir dir="${product.dir}/resources/samples/java"/>
1271 -+ <mkdir dir="${product.dir}/resources/samples/java/classes"/>
1272 -+ <copy todir="${product.dir}/resources/samples/java">
1273 -+ <fileset dir="${samples.dir}/java">
1274 -+ <include name="ApplyXPathJAXP.java"/>
1275 -+ <include name="ExampleContentHandler.java"/>
1276 -+ <include name="JDOMExample.java"/>
1277 -+ <include name="PullExamples.java"/>
1278 -+ <include name="QueryAPIExamples.java"/>
1279 -+ <include name="QuickValidator.java"/>
1280 -+ <include name="SaxonServlet.java"/>
1281 -+ <include name="SaxonSAServlet.java"/>
1282 -+ <include name="SchemaValidatorExample.java"/>
1283 -+ <include name="SchemaValidatorHandlerExample.java"/>
1284 -+ <include name="TraxExamples.java"/>
1285 -+ <include name="XMarkBenchmark.java"/>
1286 -+ <include name="XPathExample.java"/>
1287 -+ <include name="XPathExampleDOM.java"/>
1288 -+ <include name="XPathExampleSA.java"/>
1289 -+ <include name="XPathExampleServlet.java"/>
1290 -+ <include name="XQJExamples.java"/>
1291 -+ </fileset>
1292 -+ </copy>
1293 -+ <javac debug="true" debuglevel="source, lines"
1294 -+ destdir="${product.dir}/resources/samples/java/classes"
1295 -+ srcdir="${product.dir}/resources/samples/java"
1296 -+ source="${build.compiler.source}"
1297 -+ target="${build.compiler.target}">
1298 -+ <include name="*.java"/>
1299 -+ <classpath>
1300 -+ <path refid="classpath-samples"/>
1301 -+ </classpath>
1302 -+ </javac>
1303 -+ </target>
1304 -+
1305 -+ <target name="testdrivers-j" description="Copy Java Test Drivers">
1306 -+ <mkdir dir="${product.dir}/resources/drivers/java/test"/>
1307 -+ <copy todir="${product.dir}/resources/drivers/java/test">
1308 -+ <fileset dir="${drivers-j.dir}">
1309 -+ <include name="XQueryTestSuiteDriver.java"/>
1310 -+ <include name="XsltTestSuiteDriver.java"/>
1311 -+ <include name="CanonicalXML.java"/>
1312 -+ <include name="XQTSModuleURIResolver.java"/>
1313 -+ <include name="XQTSCollectionURIResolver.java"/>
1314 -+ <include name="SchemaTestSuiteDriver.java"/>
1315 -+ </fileset>
1316 -+ </copy>
1317 -+ </target>
1318 -+
1319 -+ <target name="samples-n" description="Assemble release samples for .NET"
1320 -+ depends="csharp-n">
1321 -+ <mkdir dir="${build-resources.dir}/samples/cs"/>
1322 -+ <copy todir="${build-resources.dir}/samples/cs">
1323 -+ <fileset dir="${temp-src-nc.dir}/samples">
1324 -+ <include name="*.cs"/>
1325 -+ </fileset>
1326 -+ </copy>
1327 -+ <mkdir dir="${build-resources.dir}/samples/cs/bin"/>
1328 -+ <copy todir="${build-resources.dir}/samples/cs/bin">
1329 -+ <fileset dir="${dll-n.dir}/samples">
1330 -+ <include name="*.exe"/>
1331 -+ <include name="*.dll"/>
1332 -+ <include name="*.pdb"/>
1333 -+ </fileset>
1334 -+ </copy>
1335 -+ <copy todir="${build-resources.dir}/samples/cs/bin">
1336 -+ <fileset dir="${dll-n.dir}/tests">
1337 -+ <include name="*.exe"/>
1338 -+ <include name="*.dll"/>
1339 -+ <include name="*.pdb"/>
1340 -+ </fileset>
1341 -+ </copy>
1342 -+ </target>
1343 -+
1344 -+ <target name="product-javadoc" description="Generate Javadoc.">
1345 -+ <javadoc bottom="Copyright (C) Michael H. Kay. All rights reserved."
1346 -+ destdir="${javadoc.dir}" doctitle="saxon9 Javadocs"
1347 -+ noindex="true" notree="true" access="public"
1348 -+ maxmemory="512M" source="1.5">
1349 -+ <packageset dir="${temp-src-j.dir}">
1350 -+ <include name="net/**"/>
1351 -+ <include name="com/**"/>
1352 -+ <exclude name="**/dotnet/**"/>
1353 -+ <exclude name="**/DotNetVerifier.java"/>
1354 -+ </packageset>
1355 -+ <classpath>
1356 -+ <path refid="classpath-j"/>
1357 -+ </classpath>
1358 -+
1359 -+ <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
1360 -+ <link href="http://www.xom.nu/apidocs/"/>
1361 -+
1362 -+ </javadoc>
1363 -+ <copy file="${userdoc.dir}/fixed/javadoc/stylesheet.css"
1364 -+ tofile="${javadoc.dir}/stylesheet.css"
1365 -+ overwrite="true"/>
1366 -+ </target>
1367 -+
1368 -+ <target name="product-dotnetdoc" description="Copy .NET API documentation">
1369 -+ <mkdir dir="${build-resources.dir}/doc/dotnetdoc"/>
1370 -+ <copy todir="${build-resources.dir}/doc/dotnetdoc">
1371 -+ <fileset dir="${dotnetdoc.dir}"/>
1372 -+ </copy>
1373 -+ </target>
1374 -+
1375 -+
1376 -+ <target name="release-userdoc" description="Generate User Documentation">
1377 -+ <taskdef name="saxon-xslt"
1378 -+ classname="net.sf.saxon.ant.AntTransform"
1379 -+ classpath="c:\saxon-build\9.0.0.1\saj\saxon9sa.jar;c:\saxon-licenses"/>
1380 -+ <copy todir="${build-resources.dir}/doc">
1381 -+ <fileset dir="${userdoc.dir}/fixed"/>
1382 -+ </copy>
1383 -+ <copy todir="${product.dir}/bj">
1384 -+ <fileset dir="${userdoc.dir}/welcome">
1385 -+ <include name="doc/**"/>
1386 -+ <include name="notices/**"/>
1387 -+ </fileset>
1388 -+ </copy>
1389 -+ <copy todir="${product.dir}/saj">
1390 -+ <fileset dir="${userdoc.dir}/welcome">
1391 -+ <include name="doc/**"/>
1392 -+ <include name="notices/**"/>
1393 -+ </fileset>
1394 -+ </copy>
1395 -+ <copy todir="${product.dir}/bn">
1396 -+ <fileset dir="${userdoc.dir}/welcome">
1397 -+ <include name="doc/**"/>
1398 -+ <include name="notices/**"/>
1399 -+ </fileset>
1400 -+ </copy>
1401 -+ <copy todir="${product.dir}/san">
1402 -+ <fileset dir="${userdoc.dir}/welcome">
1403 -+ <include name="doc/**"/>
1404 -+ <include name="notices/**"/>
1405 -+ </fileset>
1406 -+ </copy>
1407 -+ <saxon-xslt in="${userdoc.dir}/catalog.xml"
1408 -+ style="${userdoc.dir}/render-page2.xsl"
1409 -+ schemaAware="true"
1410 -+ xmlVersion="1.0"
1411 -+ schemaValidation="strict"
1412 -+ out="${product.dir}/resources/doc/dummy.html"><!--validation="strict" -->
1413 -+ <param name="destination" expression="offline"/>
1414 -+ </saxon-xslt>
1415 -+ <zip zipfile="${build-resources.dir}/source-userdoc.zip">
1416 -+ <fileset dir="${userdoc.dir}">
1417 -+ <include name="**/*.xml"/>
1418 -+ <include name="**/*.xsl"/>
1419 -+ <include name="**/*.xsd"/>
1420 -+ <include name="**/*.css"/>
1421 -+ <include name="fixed/**"/>
1422 -+ <include name="welcome/**"/>
1423 -+ </fileset>
1424 -+ </zip>
1425 -+ </target>
1426 -+
1427 -+ <target name="release-source" description="Generate Zip file containing issued Source Code">
1428 -+ <mkdir dir="${build-resources.dir}"/>
1429 -+ <zip zipfile="${build-resources.dir}/source.zip">
1430 -+ <fileset dir="${source-bj.dir}">
1431 -+ <include name="net/**/*.java"/>
1432 -+ <include name="net/**/package.html"/>
1433 -+ </fileset>
1434 -+ <fileset dir="${source-bj.dir}">
1435 -+ <include name="net/sf/saxon/dotnet/*.java"/>
1436 -+ <include name="net/sf/saxon/dotnet/package.html"/>
1437 -+ </fileset>
1438 -+ <fileset dir="${temp-src-nc.dir}">
1439 -+ <include name="api/**/*.cs"/>
1440 -+ <include name="cmd/**/*.cs"/>
1441 -+ </fileset>
1442 -+ </zip>
1443 -+ <zip zipfile="${build-resources.dir}/sa-source.zip">
1444 -+ <fileset dir="${source-saj.dir}">
1445 -+ <include name="com/saxonica/**/*.java"/>
1446 -+ <include name="com/saxonica/**/package.html"/>
1447 -+ </fileset>
1448 -+ </zip>
1449 -+ </target>
1450 -+
1451 -+ <target name="resources" description="Generate contents of released resources file"
1452 -+ depends="release-userdoc, product-javadoc, product-dotnetdoc,
1453 -+ samples, samples-j, testdrivers-j, samples-n, release-source">
1454 -+ <mkdir dir="${product.dir}/resources/build"/>
1455 -+ <copy todir="${product.dir}/resources/build">
1456 -+ <fileset dir="${basedir}">
1457 -+ <include name="build.xml"/>
1458 -+ <include name="ikvmc.cmd"/>
1459 -+ <include name="csharp-compile.cmd"/>
1460 -+ </fileset>
1461 -+ </copy>
1462 -+ <copy todir="${product.dir}/resources">
1463 -+ <fileset dir="${userdoc.dir}/welcome">
1464 -+ <include name="notices/**"/>
1465 -+ </fileset>
1466 -+ </copy>
1467 -+ </target>
1468 -+
1469 -+ <target name="bj" depends="compile-bj, jar-bj, basic-userdoc"
1470 -+ description="Generate Saxon-B for the Java platform"/>
1471 -+
1472 -+ <target name="saj" depends="bj, jar-saj, basic-userdoc"
1473 -+ description="Generate Saxon-SA for the Java platform"/>
1474 -+
1475 -+ <target name="n" depends="product-bn, product-san"
1476 -+ description="Generate Saxon for the .NET platform"/>
1477 -+
1478 -+ <target name="build" description="Complete Saxon product build"
1479 -+ depends="bj, saj, n"/> <!-- add resources -->
1480 -+
1481 -+ <target name="release" description="Create .ZIP files for release" depends="build"
1482 -+ > <!--depends="build, resources"-->
1483 -+ <mkdir dir="${issue.dir}"/>
1484 -+ <zip zipfile="${issue.dir}/saxonb${versionh}j.zip">
1485 -+ <fileset dir="${product.dir}/bj"/>
1486 -+ </zip>
1487 -+ <zip zipfile="${issue.dir}/saxonb${versionh}n.zip">
1488 -+ <fileset dir="${product.dir}/bn"/>
1489 -+ </zip>
1490 -+ <zip zipfile="${issue.dir}/saxonsa${versionh}j.zip">
1491 -+ <fileset dir="${product.dir}/saj"/>
1492 -+ </zip>
1493 -+ <zip zipfile="${issue.dir}/saxonsa${versionh}n.zip">
1494 -+ <fileset dir="${product.dir}/san"/>
1495 -+ </zip>
1496 -+ <!--
1497 -+ <zip zipfile="${issue.dir}/saxon-resources${versionh}.zip">
1498 -+ <fileset dir="${product.dir}/resources"/>
1499 -+ </zip>
1500 -+ -->
1501 -+ </target>
1502 -+
1503 -+ <target name="archive" description="Archive everything needed for backup">
1504 -+ <mkdir dir="${archive.dir}"/>
1505 -+ <copy todir="${archive.dir}">
1506 -+ <fileset dir="${issue.dir}"/>
1507 -+ <fileset dir="${development-j.dir}" includes="sa-source.zip"/>
1508 -+ <fileset dir="${build-resources.dir}" includes="source.zip"/>
1509 -+ </copy>
1510 -+ <zip zipfile="${archive.dir}/saxontests.zip">
1511 -+ <fileset dir="e:/tests">
1512 -+ <include name="testsuite/*.*"/>
1513 -+ <include name="java/**/*.java"/>
1514 -+ <include name="xqts-current/SaxonDriver/**"/>
1515 -+ <include name="xqts-extra/**"/>
1516 -+ <include name="xslts_1_0_4/**/SaxonDriver/**"/>
1517 -+ </fileset>
1518 -+ <fileset dir="e:/tests/java" includes ="**/*.java"/>
1519 -+ </zip>
1520 -+ <zip zipfile="${archive.dir}/licensetool.zip">
1521 -+ <fileset dir="c:/MyJava/licensetool"/>
1522 -+ </zip>
1523 -+ <zip zipfile="${archive.dir}/licenses.zip">
1524 -+ <fileset dir="c:/saxon-licenses"/>
1525 -+ </zip>
1526 -+ </target>
1527 -+
1528 -+
1529 -+
1530 -+</project>
1531 diff --git a/stax/README b/stax/README
1532 deleted file mode 100644
1533 index 13e69fb..0000000
1534 --- a/stax/README
1535 +++ /dev/null
1536 @@ -1 +0,0 @@
1537 -Library implementing the Streaming API for XML. (CH: Which one, probably the one by Sun???)
1538 diff --git a/stax/makefile.mk b/stax/makefile.mk
1539 deleted file mode 100644
1540 index ff3238b..0000000
1541 --- a/stax/makefile.mk
1542 +++ /dev/null
1543 @@ -1,78 +0,0 @@
1544 -#*************************************************************************
1545 -#
1546 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1547 -#
1548 -# Copyright 2000, 2010 Oracle and/or its affiliates.
1549 -#
1550 -# OpenOffice.org - a multi-platform office productivity suite
1551 -#
1552 -# This file is part of OpenOffice.org.
1553 -#
1554 -# OpenOffice.org is free software: you can redistribute it and/or modify
1555 -# it under the terms of the GNU Lesser General Public License version 3
1556 -# only, as published by the Free Software Foundation.
1557 -#
1558 -# OpenOffice.org is distributed in the hope that it will be useful,
1559 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
1560 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1561 -# GNU Lesser General Public License version 3 for more details
1562 -# (a copy is included in the LICENSE file that accompanied this code).
1563 -#
1564 -# You should have received a copy of the GNU Lesser General Public License
1565 -# version 3 along with OpenOffice.org. If not, see
1566 -# <http://www.openoffice.org/license.html>
1567 -# for a copy of the LGPLv3 License.
1568 -#
1569 -#*************************************************************************
1570 -
1571 -PRJ=.
1572 -
1573 -PRJNAME=stax
1574 -TARGET=stax
1575 -USE_JAVAVER=TRUE
1576 -
1577 -# --- Settings -----------------------------------------------------
1578 -
1579 -.INCLUDE : settings.mk
1580 -.INCLUDE : antsettings.mk
1581 -
1582 -.IF "$(SOLAR_JAVA)" != ""
1583 -.IF "$(JAVANUMVER:s/.//)" >= "000100060000" || "$(JDK)"=="gcj"
1584 -all:
1585 - @echo "Your java version already contains StAX"
1586 -.ENDIF # "$(JAVANUMVER:s/.//)" >= "000100060000"
1587 -.IF "$(SYSTEM_SAXON)" == "YES"
1588 -all:
1589 - @echo "An already available installation of saxon should exist on your system."
1590 - @echo "Therefore the files provided here does not need to be built in addition."
1591 -.ENDIF
1592 -
1593 -.IF "$(BUILD_STAX)" != "YES"
1594 -
1595 -$(OUT)$/class$/jsr173_1.0_api.jar : $(PRJ)$/download$/jsr173_1.0_api.jar
1596 - +$(COPY) $< $@
1597 -
1598 -.ELSE # "$(BUILD_STAX)" != "YES"
1599 -
1600 -# --- Files --------------------------------------------------------
1601 -TARFILE_NAME=stax-api-1.0-2-sources
1602 -TARFILE_MD5=8294d6c42e3553229af9934c5c0ed997
1603 -TARFILE_ROOTDIR=src
1604 -
1605 -BUILD_ACTION=$(JAVAC) javax$/xml$/stream$/*.java && jar -cf jsr173_1.0_api.jar javax$/xml$/stream$/*.class javax$/xml$/stream$/events$/*.class javax$/xml$/stream$/util$/*.class
1606 -
1607 -OUT2CLASS=jsr173_1.0_api.jar
1608 -.ENDIF # "$(BUILD_STAX)" != "YES"
1609 -
1610 -.ELSE # $(SOLAR_JAVA)!= ""
1611 -nojava:
1612 - @echo "Not building $(PRJNAME) because Java is disabled"
1613 -.ENDIF # $(SOLAR_JAVA)!= ""
1614 -# --- Targets ------------------------------------------------------
1615 -
1616 -.INCLUDE : set_ext.mk
1617 -.INCLUDE : target.mk
1618 -.IF "$(SOLAR_JAVA)" != ""
1619 -.INCLUDE : tg_ext.mk
1620 -.ENDIF
1621 -
1622 diff --git a/stax/prj/build.lst b/stax/prj/build.lst
1623 deleted file mode 100644
1624 index cbfc6ea..0000000
1625 --- a/stax/prj/build.lst
1626 +++ /dev/null
1627 @@ -1,2 +0,0 @@
1628 -tx stax : solenv NULL
1629 -tx stax nmake - all tx_stax NULL
1630 diff --git a/stax/prj/d.lst b/stax/prj/d.lst
1631 deleted file mode 100644
1632 index a4fd204..0000000
1633 --- a/stax/prj/d.lst
1634 +++ /dev/null
1635 @@ -1 +0,0 @@
1636 -..\%__SRC%\class\jsr*.jar %_DEST%\bin
1637 diff --git a/stax/prj/dmake b/stax/prj/dmake
1638 deleted file mode 100644
1639 index e69de29..0000000
1640 diff --git a/tail_build/prj/build.lst b/tail_build/prj/build.lst
1641 index c96ae74..0dced2b 100644
1642 --- a/tail_build/prj/build.lst
1643 +++ b/tail_build/prj/build.lst
1644 @@ -1,2 +1,2 @@
1645 -tb tail_build : AFMS:afms APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo CPPUNIT:cppunit DESKTOP:codemaker CURL:curl EXPAT:expat FONTCONFIG:fontconfig FREETYPE:freetype GRAPHITE:graphite HSQLDB:hsqldb HUNSPELL:hunspell HYPHEN:hyphen ICU:icu DESKTOP:l10ntools JFREEREPORT:jfreereport JPEG:jpeg LCMS2:lcms2 LIBCDR:libcdr LIBCMIS:libcmis LIBEXTTEXTCAT:libexttextcat LIBXML2:libxml2 LIBXMLSEC:libxmlsec LIBXSLT:libxslt LIBWPG:libwpg LIBWPS:libwps LIBWPD:libwpd LIBVISIO:libvisio LPSOLVE:lpsolve MDDS:mdds MOZ:moz MYTHES:mythes NEON:neon NSS:nss OPENSSL:openssl POSTGRESQL:postgresql PYTHON:python REDLAND:redland SAXON:saxon DESKTOP:setup_native TRANSLATIONS:translations VIGRA:vigra XPDF:xpdf ZLIB:zlib bridges cli_ure comphelper cppu cppuhelper external jurt jvmaccess jvmfwk offapi officecfg DESKTOP:rdbmaker readlicense_oo remotebridges RHINO:rhino ridljar sal salhelper solenv soltools stoc sysui ucbhelper udkapi xmlreader xsltml NULL
1646 +tb tail_build : AFMS:afms APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo CPPUNIT:cppunit DESKTOP:codemaker CURL:curl EXPAT:expat FONTCONFIG:fontconfig FREETYPE:freetype GRAPHITE:graphite HSQLDB:hsqldb HUNSPELL:hunspell HYPHEN:hyphen ICU:icu DESKTOP:l10ntools JFREEREPORT:jfreereport JPEG:jpeg LCMS2:lcms2 LIBCDR:libcdr LIBCMIS:libcmis LIBEXTTEXTCAT:libexttextcat LIBXML2:libxml2 LIBXMLSEC:libxmlsec LIBXSLT:libxslt LIBWPG:libwpg LIBWPS:libwps LIBWPD:libwpd LIBVISIO:libvisio LPSOLVE:lpsolve MDDS:mdds MOZ:moz MYTHES:mythes NEON:neon NSS:nss OPENSSL:openssl POSTGRESQL:postgresql PYTHON:python REDLAND:redland DESKTOP:setup_native TRANSLATIONS:translations VIGRA:vigra XPDF:xpdf ZLIB:zlib bridges cli_ure comphelper cppu cppuhelper external jurt jvmaccess jvmfwk offapi officecfg DESKTOP:rdbmaker readlicense_oo remotebridges RHINO:rhino ridljar sal salhelper solenv soltools stoc sysui ucbhelper udkapi xmlreader xsltml NULL
1647 tb tail_build\prj nmake - all tb_prj NULL
1648 --
1649 1.7.11.7
1650

  ViewVC Help
Powered by ViewVC 1.1.30