Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
<project basedir="." default="all" name="Saxon-B The XSLT and XQuery Processor" |
3 |
<project basedir="." default="all" name="Saxon-B The XSLT and XQuery Processor" |
4 |
xmlns:dn="antlib:org.apache.ant.dotnet"> |
4 |
xmlns:dn="antlib:org.apache.ant.dotnet"> |
5 |
|
5 |
|
|
|
6 |
<!-- hacked on by mjinks@uchicago.edu according to instructions |
7 |
found at: |
8 |
http://www.nabble.com/Compiling-saxon9.jar-for-OpenOffice.org-3-tt18334779.html#a18334779 |
9 |
|
10 |
- remove -bn, -san, and -saj tasks |
11 |
|
12 |
the same instructions also say you "might" want to remove: |
13 |
-jdom, -xom, -dom4j, -xqj, -sql |
14 |
...but previous ebuilds appear to have used them, so we'll try |
15 |
to do the same. |
16 |
|
17 |
--> |
18 |
|
6 |
<!--TODO: 1: ensure saxon9api.netmodule is included in the build |
19 |
<!--TODO: 1: ensure saxon9api.netmodule is included in the build |
7 |
2: remove the archive target before shipping this file--> |
20 |
2: remove the archive target before shipping this file--> |
8 |
|
21 |
|
Lines 49-67
Link Here
|
49 |
<!-- following locations are specific to the machine --> |
62 |
<!-- following locations are specific to the machine --> |
50 |
|
63 |
|
51 |
<!-- root drive --> |
64 |
<!-- root drive --> |
52 |
<property name="root" value="c:/"/> |
65 |
<property name="root" value="."/> |
53 |
|
66 |
|
54 |
<!-- root drive for built files --> |
67 |
<!-- root drive for built files --> |
55 |
<property name="oroot" value="e:/"/> |
68 |
<property name="oroot" value="."/> |
56 |
|
69 |
|
57 |
<!-- directory holding Java source code --> |
70 |
<!-- directory holding Java source code --> |
58 |
<property name="development-j.dir" value="${root}/MyJava/saxon8.x"/> |
71 |
<!-- <property name="development-j.dir" value="${root}/MyJava/saxon8.x"/> --> |
|
|
72 |
<property name="development-j.dir" value="${root}/src"/> |
59 |
|
73 |
|
60 |
<!-- directory holding Java source code as in Subversion --> |
74 |
<!-- directory holding Java source code as in Subversion --> |
61 |
<property name="subversion-j.dir" value="${root}/saxon-svn2/latest9.0/bj"/> |
75 |
<!-- <property name="subversion-j.dir" value="${root}/saxon-svn2/latest9.0/bj"/>--> |
62 |
|
76 |
|
63 |
<!-- directory holding latest patch state of Saxon-SA Java code --> |
77 |
<!-- directory holding latest patch state of Saxon-SA Java code --> |
64 |
<property name="saj-patch.dir" value="${root}/saxon-90-patch"/> |
78 |
<!-- <property name="saj-patch.dir" value="${root}/saxon-90-patch"/>--> |
65 |
|
79 |
|
66 |
<!-- directory holding Java test drivers --> |
80 |
<!-- directory holding Java test drivers --> |
67 |
<property name="drivers-j.dir" value="${root}/MyJava/testcode/test"/> |
81 |
<property name="drivers-j.dir" value="${root}/MyJava/testcode/test"/> |
Lines 83-89
Link Here
|
83 |
<property name="samples.dir" value="${root}/MyJava/samples"/> |
97 |
<property name="samples.dir" value="${root}/MyJava/samples"/> |
84 |
|
98 |
|
85 |
<!-- directory in which to build the product for release --> |
99 |
<!-- directory in which to build the product for release --> |
86 |
<property name="product.dir" value="${oroot}/saxon-build/${version}"/> |
100 |
<!--<property name="product.dir" value="${oroot}/saxon-build/${version}"/>--> |
|
|
101 |
<property name="product.dir" value="${oroot}/dist"/> |
87 |
|
102 |
|
88 |
<!-- directory in which to build the issued .ZIP files --> |
103 |
<!-- directory in which to build the issued .ZIP files --> |
89 |
<property name="issue.dir" value="${oroot}/saxon-issues/saxon-issue-${release.date}"/> |
104 |
<property name="issue.dir" value="${oroot}/saxon-issues/saxon-issue-${release.date}"/> |
Lines 97-107
Link Here
|
97 |
|
112 |
|
98 |
<!-- following locations are for IKVMC code used to build the .NET product --> |
113 |
<!-- following locations are for IKVMC code used to build the .NET product --> |
99 |
|
114 |
|
|
|
115 |
<!-- |
100 |
<property name="development-ikvm.dir" value="${root}/MyDotNet"/> |
116 |
<property name="development-ikvm.dir" value="${root}/MyDotNet"/> |
101 |
<property name="ikvm.dir" value="${development-ikvm.dir}/ikvm-0.36.0.11"/> |
117 |
<property name="ikvm.dir" value="${development-ikvm.dir}/ikvm-0.36.0.11"/> |
102 |
<property name="generated.stubs.dir" value="${development-ikvm.dir}/stubs"/> |
118 |
<property name="generated.stubs.dir" value="${development-ikvm.dir}/stubs"/> |
103 |
<property name="saxondotnet.snk" value="${development-ikvm.dir}/make/saxondotnet.snk"/> |
119 |
<property name="saxondotnet.snk" value="${development-ikvm.dir}/make/saxondotnet.snk"/> |
104 |
<property name="dot.net.debug" value="live"/> <!-- set to 'debug' for testing, 'live' for final build --> |
120 |
<property name="dot.net.debug" value="live"/>--> <!-- set to 'debug' for testing, 'live' for final build --> |
105 |
|
121 |
|
106 |
<!-- The other important thing to enable debugging is that the .pdb file is available in the same directory |
122 |
<!-- The other important thing to enable debugging is that the .pdb file is available in the same directory |
107 |
as the .dll. At present debugging Saxon-SA code is proving problematic: saxon9sa.dll is dynamically |
123 |
as the .dll. At present debugging Saxon-SA code is proving problematic: saxon9sa.dll is dynamically |
Lines 120-126
Link Here
|
120 |
|
136 |
|
121 |
<!-- following locations are relative to the build file --> |
137 |
<!-- following locations are relative to the build file --> |
122 |
|
138 |
|
123 |
<property name="lib.dir" value="libs"/> |
139 |
<property name="lib.dir" value="lib"/> |
124 |
<property name="temp.dir" value="temp"/> |
140 |
<property name="temp.dir" value="temp"/> |
125 |
<property name="services.dir" value="services"/> |
141 |
<property name="services.dir" value="services"/> |
126 |
<property name="temp-src-j.dir" value="${temp.dir}/j/source"/> |
142 |
<property name="temp-src-j.dir" value="${temp.dir}/j/source"/> |
Lines 134-142
Link Here
|
134 |
<!-- following locations are relative to the destination directory --> |
150 |
<!-- following locations are relative to the destination directory --> |
135 |
|
151 |
|
136 |
<property name="build-bj.dir" value="${product.dir}/bj"/> |
152 |
<property name="build-bj.dir" value="${product.dir}/bj"/> |
|
|
153 |
<!-- |
137 |
<property name="build-saj.dir" value="${product.dir}/saj"/> |
154 |
<property name="build-saj.dir" value="${product.dir}/saj"/> |
138 |
<property name="build-bn.dir" value="${product.dir}/bn"/> |
155 |
<property name="build-bn.dir" value="${product.dir}/bn"/> |
139 |
<property name="build-san.dir" value="${product.dir}/san"/> |
156 |
<property name="build-san.dir" value="${product.dir}/san"/> |
|
|
157 |
--> |
140 |
<property name="build-resources.dir" value="${product.dir}/resources"/> |
158 |
<property name="build-resources.dir" value="${product.dir}/resources"/> |
141 |
<property name="javadoc.dir" value="${build-resources.dir}/doc/javadoc"/> |
159 |
<property name="javadoc.dir" value="${build-resources.dir}/doc/javadoc"/> |
142 |
|
160 |
|
Lines 166-175
Link Here
|
166 |
<!-- development source --> |
184 |
<!-- development source --> |
167 |
|
185 |
|
168 |
<property name="source-bj.dir" value="${development-j.dir}"/> |
186 |
<property name="source-bj.dir" value="${development-j.dir}"/> |
|
|
187 |
<!-- |
169 |
<property name="source-saj.dir" value="${development-j.dir}"/> |
188 |
<property name="source-saj.dir" value="${development-j.dir}"/> |
170 |
<property name="source-api-n.dir" value="${vss-n.dir}"/> |
189 |
<property name="source-api-n.dir" value="${vss-n.dir}"/> |
171 |
<property name="source-cmd-n.dir" value="${vss-n.dir}"/> |
190 |
<property name="source-cmd-n.dir" value="${vss-n.dir}"/> |
172 |
<property name="source-samples-n.dir" value="${vss-n.dir}"/> |
191 |
<property name="source-samples-n.dir" value="${vss-n.dir}"/> |
|
|
192 |
--> |
173 |
|
193 |
|
174 |
|
194 |
|
175 |
<path id="classpath-j"> |
195 |
<path id="classpath-j"> |
Lines 316-327
Link Here
|
316 |
<!--<exclude name="**/s9api/**"/> s9api needs Java 5 --> |
336 |
<!--<exclude name="**/s9api/**"/> s9api needs Java 5 --> |
317 |
<include name="net/sf/saxon/**/package.html"/> |
337 |
<include name="net/sf/saxon/**/package.html"/> |
318 |
</fileset> |
338 |
</fileset> |
319 |
<fileset dir="${source-saj.dir}"> |
339 |
<!-- <fileset dir="${source-saj.dir}"> |
320 |
<include name="com/saxonica/**/*.java"/> |
340 |
<include name="com/saxonica/**/*.java"/> |
321 |
<exclude name="com/saxonica/validate/DotNetVerifier.java"/> |
341 |
<exclude name="com/saxonica/validate/DotNetVerifier.java"/> |
322 |
<include name="com/saxonica/**/package.html"/> |
342 |
<include name="com/saxonica/**/package.html"/> |
323 |
</fileset> |
343 |
</fileset> --> |
324 |
</copy> |
344 |
</copy> |
|
|
345 |
<!-- |
325 |
<replace file="${temp-src-j.dir}/com/saxonica/validate/SchemaAwareConfiguration.java" |
346 |
<replace file="${temp-src-j.dir}/com/saxonica/validate/SchemaAwareConfiguration.java" |
326 |
token="/*DOTNETONLY*/" |
347 |
token="/*DOTNETONLY*/" |
327 |
value="//" |
348 |
value="//" |
Lines 329-335
Link Here
|
329 |
<replace file="${temp-src-j.dir}/net/sf/saxon/Configuration.java" |
350 |
<replace file="${temp-src-j.dir}/net/sf/saxon/Configuration.java" |
330 |
token="/*DOTNETONLY*/" |
351 |
token="/*DOTNETONLY*/" |
331 |
value="//" |
352 |
value="//" |
332 |
summary="yes"/> |
353 |
summary="yes"/>--> |
333 |
<copy todir="${temp-src-nj.dir}"> |
354 |
<copy todir="${temp-src-nj.dir}"> |
334 |
<fileset dir="${source-bj.dir}"> |
355 |
<fileset dir="${source-bj.dir}"> |
335 |
<include name="net/sf/saxon/**/*.java"/> |
356 |
<include name="net/sf/saxon/**/*.java"/> |
Lines 348-354
Link Here
|
348 |
<exclude name="**/xpath/**"/> |
369 |
<exclude name="**/xpath/**"/> |
349 |
<exclude name="**/xqj/**"/> |
370 |
<exclude name="**/xqj/**"/> |
350 |
</fileset> |
371 |
</fileset> |
351 |
<fileset dir="${source-saj.dir}"> |
372 |
<!--<fileset dir="${source-saj.dir}"> |
352 |
<include name="com/saxonica/extra/*.java"/> |
373 |
<include name="com/saxonica/extra/*.java"/> |
353 |
<include name="com/saxonica/fsa/*.java"/> |
374 |
<include name="com/saxonica/fsa/*.java"/> |
354 |
<include name="com/saxonica/ptree/*.java"/> |
375 |
<include name="com/saxonica/ptree/*.java"/> |
Lines 357-373
Link Here
|
357 |
<include name="com/saxonica/update/*.java"/> |
378 |
<include name="com/saxonica/update/*.java"/> |
358 |
<include name="com/saxonica/validate/*.java"/> |
379 |
<include name="com/saxonica/validate/*.java"/> |
359 |
<include name="com/saxonica/Validate.java"/> |
380 |
<include name="com/saxonica/Validate.java"/> |
360 |
</fileset> |
381 |
</fileset>--> |
361 |
</copy> |
382 |
</copy> |
|
|
383 |
<!-- |
362 |
<replace file="${temp-src-nj.dir}/com/saxonica/validate/SchemaAwareConfiguration.java" |
384 |
<replace file="${temp-src-nj.dir}/com/saxonica/validate/SchemaAwareConfiguration.java" |
363 |
token="/*JAVAONLY*/" |
385 |
token="/*JAVAONLY*/" |
364 |
value="//" |
386 |
value="//" |
365 |
summary="yes"/> |
387 |
summary="yes"/> --> |
366 |
<replace file="${temp-src-nj.dir}/net/sf/saxon/Configuration.java" |
388 |
<replace file="${temp-src-nj.dir}/net/sf/saxon/Configuration.java" |
367 |
token="/*JAVAONLY*/" |
389 |
token="/*JAVAONLY*/" |
368 |
value="//" |
390 |
value="//" |
369 |
summary="yes"/> |
391 |
summary="yes"/> |
370 |
<copy todir="${temp-src-nc.dir}/api"> |
392 |
<!-- <copy todir="${temp-src-nc.dir}/api"> |
371 |
<fileset dir="${vss-n.dir}"> |
393 |
<fileset dir="${vss-n.dir}"> |
372 |
<include name="Saxon.Api/*.cs"/> |
394 |
<include name="Saxon.Api/*.cs"/> |
373 |
</fileset> |
395 |
</fileset> |
Lines 393-399
Link Here
|
393 |
<fileset dir="${source-samples-n.dir}/TestRunner"> |
415 |
<fileset dir="${source-samples-n.dir}/TestRunner"> |
394 |
<include name="*.cs"/> |
416 |
<include name="*.cs"/> |
395 |
</fileset> |
417 |
</fileset> |
396 |
</copy> |
418 |
</copy> --> |
397 |
|
419 |
|
398 |
|
420 |
|
399 |
</target> |
421 |
</target> |
Lines 444-449
Link Here
|
444 |
</javac> |
466 |
</javac> |
445 |
</target> |
467 |
</target> |
446 |
|
468 |
|
|
|
469 |
<!-- |
447 |
<target name="compile-saj" description="Compile Saxon-SA classes for Java." depends="copysource-development"> |
470 |
<target name="compile-saj" description="Compile Saxon-SA classes for Java." depends="copysource-development"> |
448 |
<mkdir dir="${classes-j.dir}"/> |
471 |
<mkdir dir="${classes-j.dir}"/> |
449 |
<javac debug="${build.debug}" debuglevel="${build.debuglevel}" |
472 |
<javac debug="${build.debug}" debuglevel="${build.debuglevel}" |
Lines 459-467
Link Here
|
459 |
</classpath> |
482 |
</classpath> |
460 |
</javac> |
483 |
</javac> |
461 |
</target> |
484 |
</target> |
|
|
485 |
--> |
462 |
|
486 |
|
463 |
<target name="compile-s9api" description="Compile s9api classes for Java." |
487 |
<target name="compile-s9api" description="Compile s9api classes for Java." |
464 |
depends="compile-bj, compile-saj, copysource-development"> |
488 |
depends="compile-bj, copysource-development"> |
465 |
<!-- Compiling the s9api package requires JDK 1.5 --> |
489 |
<!-- Compiling the s9api package requires JDK 1.5 --> |
466 |
<!-- The bj and saj source must be compiled first to ensure that it is done using 1.4, otherwise |
490 |
<!-- The bj and saj source must be compiled first to ensure that it is done using 1.4, otherwise |
467 |
it will be compiled in 1.5 mode because the classes are referenced from the s9api package --> |
491 |
it will be compiled in 1.5 mode because the classes are referenced from the s9api package --> |
Lines 477-482
Link Here
|
477 |
</javac> |
501 |
</javac> |
478 |
</target> |
502 |
</target> |
479 |
|
503 |
|
|
|
504 |
<!-- |
480 |
<target name="compile-bn" description="Compile Saxon-B classes for .NET" depends="copysource-development"> |
505 |
<target name="compile-bn" description="Compile Saxon-B classes for .NET" depends="copysource-development"> |
481 |
<mkdir dir="${classes-n.dir}"/> |
506 |
<mkdir dir="${classes-n.dir}"/> |
482 |
<javac debug="${build.debug}" debuglevel="${build.debuglevel}" |
507 |
<javac debug="${build.debug}" debuglevel="${build.debuglevel}" |
Lines 506-513
Link Here
|
506 |
</classpath> |
531 |
</classpath> |
507 |
</javac> |
532 |
</javac> |
508 |
</target> |
533 |
</target> |
|
|
534 |
--> |
509 |
|
535 |
|
510 |
<target name="jar-bj" description="Create Saxon-B jar files for Java" depends="compile-bj, compile-s9api"> |
536 |
<target name="jar-bj" description="Create Saxon-B jar files for Java" depends="compile-bj, compile-s9api, create-meta-inf"> |
511 |
<mkdir dir="${product.dir}/bj"/> |
537 |
<mkdir dir="${product.dir}/bj"/> |
512 |
<jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9.jar"> |
538 |
<jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9.jar"> |
513 |
<include name="net/**/*.class"/> |
539 |
<include name="net/**/*.class"/> |
Lines 562-575
Link Here
|
562 |
<provider classname="http\://jdom.org/jaxp/xpath/jdom: net.sf.saxon.xpath.XPathFactoryImpl"/> |
588 |
<provider classname="http\://jdom.org/jaxp/xpath/jdom: net.sf.saxon.xpath.XPathFactoryImpl"/> |
563 |
<provider classname="http\://www.dom4j.org/jaxp/xpath/dom4j: net.sf.saxon.xpath.XPathFactoryImpl"/> |
589 |
<provider classname="http\://www.dom4j.org/jaxp/xpath/dom4j: net.sf.saxon.xpath.XPathFactoryImpl"/> |
564 |
</service>--> |
590 |
</service>--> |
565 |
</jar> |
591 |
</jar> |
566 |
<jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-xqj.jar"> |
592 |
<jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-xqj.jar"> |
567 |
<include name="net/sf/saxon/xqj/*.class"/> |
593 |
<include name="net/sf/saxon/xqj/*.class"/> |
568 |
<include name="javax/xml/namespace/*.class"/> |
594 |
<include name="javax/xml/namespace/*.class"/> |
569 |
<include name="javax/xml/xquery/*.class"/> |
595 |
<include name="javax/xml/xquery/*.class"/> |
570 |
</jar> |
596 |
</jar> |
571 |
</target> |
597 |
</target> |
572 |
|
598 |
|
|
|
599 |
<!-- |
573 |
<target name="jar-saj" description="Create Saxon-SA jar files for Java" depends="compile-saj, jar-bj"> |
600 |
<target name="jar-saj" description="Create Saxon-SA jar files for Java" depends="compile-saj, jar-bj"> |
574 |
<mkdir dir="${product.dir}/saj"/> |
601 |
<mkdir dir="${product.dir}/saj"/> |
575 |
<copy todir="${product.dir}/saj"> |
602 |
<copy todir="${product.dir}/saj"> |
Lines 595-627
Link Here
|
595 |
<attribute name="Project-Name" value="Saxon-SA"/> |
622 |
<attribute name="Project-Name" value="Saxon-SA"/> |
596 |
</manifest> |
623 |
</manifest> |
597 |
<metainf dir="${services.dir}/saxon9sa/META-INF"/> |
624 |
<metainf dir="${services.dir}/saxon9sa/META-INF"/> |
|
|
625 |
--> |
598 |
<!-- |
626 |
<!-- |
599 |
<service type="javax.xml.transform.TransformerFactory" |
627 |
<service type="javax.xml.transform.TransformerFactory" |
600 |
provider="com.saxonica.SchemaAwareTransformerFactory"/> |
628 |
provider="com.saxonica.SchemaAwareTransformerFactory"/> |
601 |
--> |
629 |
--> |
|
|
630 |
<!-- |
602 |
</jar> |
631 |
</jar> |
603 |
<jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/saj/saxon9sa-jaxp.jar"> |
632 |
<jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/saj/saxon9sa-jaxp.jar"> |
604 |
<include name="com/saxonica/jaxp/*.class"/> |
633 |
<include name="com/saxonica/jaxp/*.class"/> |
605 |
<include name="net/sf/saxon/dom/TypeInfoImpl.class"/> |
634 |
<include name="net/sf/saxon/dom/TypeInfoImpl.class"/> |
606 |
<metainf dir="${services.dir}/saxon9sa-jaxp/META-INF"/> |
635 |
<metainf dir="${services.dir}/saxon9sa-jaxp/META-INF"/> |
|
|
636 |
--> |
607 |
<!-- |
637 |
<!-- |
608 |
<service type="javax.xml.validation.SchemaFactory"> |
638 |
<service type="javax.xml.validation.SchemaFactory"> |
609 |
<provider classname="com.saxonica.jaxp.SchemaFactoryImpl"/> |
639 |
<provider classname="com.saxonica.jaxp.SchemaFactoryImpl"/> |
610 |
<provider classname="http\://www.w3.org/2001/XMLSchema: com.saxonica.jaxp.SchemaFactoryImpl"/> |
640 |
<provider classname="http\://www.w3.org/2001/XMLSchema: com.saxonica.jaxp.SchemaFactoryImpl"/> |
611 |
</service> |
641 |
</service> |
612 |
--> |
642 |
--> |
|
|
643 |
<!-- |
613 |
</jar> |
644 |
</jar> |
614 |
<jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/saj/saxon9sa-qc.jar"> |
645 |
<jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/saj/saxon9sa-qc.jar"> |
615 |
<include name="com/saxonica/codegen/*.class"/> |
646 |
<include name="com/saxonica/codegen/*.class"/> |
616 |
<include name="com.saxonica.CompileQuery.class"/> |
647 |
<include name="com.saxonica.CompileQuery.class"/> |
617 |
</jar> |
648 |
</jar> |
|
|
649 |
--> |
618 |
<!-- The Saxon-Ant task is delivered with Saxon-B but it won't compile without Saxon-SA present, |
650 |
<!-- The Saxon-Ant task is delivered with Saxon-B but it won't compile without Saxon-SA present, |
619 |
unless modified |
651 |
unless modified |
620 |
<jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-ant.jar"> |
652 |
<jar basedir="${classes-j.dir}" compress="${build.compress}" jarfile="${product.dir}/bj/saxon9-ant.jar"> |
621 |
<include name="net/sf/saxon/ant/*.class"/> |
653 |
<include name="net/sf/saxon/ant/*.class"/> |
622 |
</jar>--> |
654 |
</jar>--> |
|
|
655 |
<!-- |
623 |
</target> |
656 |
</target> |
|
|
657 |
--> |
624 |
|
658 |
|
|
|
659 |
<!-- |
625 |
<target name="jar-bn" description="Create Saxon-B jar files for .NET" depends="compile-bn"> |
660 |
<target name="jar-bn" description="Create Saxon-B jar files for .NET" depends="compile-bn"> |
626 |
<mkdir dir="${jar-n.dir}"/> |
661 |
<mkdir dir="${jar-n.dir}"/> |
627 |
<jar basedir="${classes-n.dir}" compress="${build.compress}" jarfile="${jar-n.dir}/saxon9.jar"> |
662 |
<jar basedir="${classes-n.dir}" compress="${build.compress}" jarfile="${jar-n.dir}/saxon9.jar"> |
Lines 645-655
Link Here
|
645 |
</fileset> |
680 |
</fileset> |
646 |
</copy> |
681 |
</copy> |
647 |
<copy file="${saxondotnet.snk}" todir="${basedir}"/> |
682 |
<copy file="${saxondotnet.snk}" todir="${basedir}"/> |
|
|
683 |
--> |
648 |
<!-- |
684 |
<!-- |
649 |
Invoke IKVMC to cross-compile the JAR files into DLLs |
685 |
Invoke IKVMC to cross-compile the JAR files into DLLs |
650 |
--> |
686 |
--> |
|
|
687 |
<!-- |
651 |
<exec dir="." executable="ikvmc.cmd" > |
688 |
<exec dir="." executable="ikvmc.cmd" > |
652 |
<arg line="${dot.net.debug}"/> <!-- set to 'debug' for testing, 'live' for final build --> |
689 |
<arg line="${dot.net.debug}"/> --> <!-- set to 'debug' for testing, 'live' for final build --> |
|
|
690 |
<!-- |
653 |
<arg line="${basedir}/${jar-n.dir}"/> |
691 |
<arg line="${basedir}/${jar-n.dir}"/> |
654 |
<arg line="${basedir}/${dll-n.dir}"/> |
692 |
<arg line="${basedir}/${dll-n.dir}"/> |
655 |
<arg line="${version}"/> |
693 |
<arg line="${version}"/> |
Lines 729-734
Link Here
|
729 |
</fileset> |
767 |
</fileset> |
730 |
</copy> |
768 |
</copy> |
731 |
</target> |
769 |
</target> |
|
|
770 |
--> |
732 |
|
771 |
|
733 |
<target name="samples" description="Assemble Cross-Platform Samples and Use-Cases"> |
772 |
<target name="samples" description="Assemble Cross-Platform Samples and Use-Cases"> |
734 |
<mkdir dir="${build-resources.dir}/samples"/> |
773 |
<mkdir dir="${build-resources.dir}/samples"/> |
Lines 750-757
Link Here
|
750 |
</copy> |
789 |
</copy> |
751 |
</target> |
790 |
</target> |
752 |
|
791 |
|
753 |
<target name="samples-j" description="Copy and Compile Java Samples" |
792 |
<target name="samples-j" description="Copy and Compile Java Samples"> |
754 |
depends="jar-saj"> |
|
|
755 |
<mkdir dir="${product.dir}/resources/samples/java"/> |
793 |
<mkdir dir="${product.dir}/resources/samples/java"/> |
756 |
<mkdir dir="${product.dir}/resources/samples/java/classes"/> |
794 |
<mkdir dir="${product.dir}/resources/samples/java/classes"/> |
757 |
<copy todir="${product.dir}/resources/samples/java"> |
795 |
<copy todir="${product.dir}/resources/samples/java"> |
Lines 802-807
Link Here
|
802 |
</copy> |
840 |
</copy> |
803 |
</target> |
841 |
</target> |
804 |
|
842 |
|
|
|
843 |
<!-- |
805 |
<target name="samples-n" description="Assemble release samples for .NET" |
844 |
<target name="samples-n" description="Assemble release samples for .NET" |
806 |
depends="csharp-n"> |
845 |
depends="csharp-n"> |
807 |
<mkdir dir="${build-resources.dir}/samples/cs"/> |
846 |
<mkdir dir="${build-resources.dir}/samples/cs"/> |
Lines 826-831
Link Here
|
826 |
</fileset> |
865 |
</fileset> |
827 |
</copy> |
866 |
</copy> |
828 |
</target> |
867 |
</target> |
|
|
868 |
--> |
829 |
|
869 |
|
830 |
<target name="product-javadoc" description="Generate Javadoc."> |
870 |
<target name="product-javadoc" description="Generate Javadoc."> |
831 |
<javadoc bottom="Copyright (c) Saxonica Limited. All rights reserved." |
871 |
<javadoc bottom="Copyright (c) Saxonica Limited. All rights reserved." |
Lines 851-856
Link Here
|
851 |
overwrite="true"/> |
891 |
overwrite="true"/> |
852 |
</target> |
892 |
</target> |
853 |
|
893 |
|
|
|
894 |
<!-- |
854 |
<target name="product-dotnetdoc" description="Copy .NET API documentation" |
895 |
<target name="product-dotnetdoc" description="Copy .NET API documentation" |
855 |
depends="copysource-development"> |
896 |
depends="copysource-development"> |
856 |
<taskdef name="saxon-xslt" |
897 |
<taskdef name="saxon-xslt" |
Lines 880-885
Link Here
|
880 |
tofile="${build-resources.dir}/doc/dotnetdoc/stylesheet.css" |
921 |
tofile="${build-resources.dir}/doc/dotnetdoc/stylesheet.css" |
881 |
overwrite="true"/> |
922 |
overwrite="true"/> |
882 |
</target> |
923 |
</target> |
|
|
924 |
--> |
883 |
|
925 |
|
884 |
|
926 |
|
885 |
<target name="release-userdoc" description="Generate User Documentation"> |
927 |
<target name="release-userdoc" description="Generate User Documentation"> |
Lines 897-902
Link Here
|
897 |
<include name="notices/**"/> |
939 |
<include name="notices/**"/> |
898 |
</fileset> |
940 |
</fileset> |
899 |
</copy> |
941 |
</copy> |
|
|
942 |
<!-- |
900 |
<copy todir="${product.dir}/saj"> |
943 |
<copy todir="${product.dir}/saj"> |
901 |
<fileset dir="${userdoc.dir}/welcome"> |
944 |
<fileset dir="${userdoc.dir}/welcome"> |
902 |
<include name="doc/**"/> |
945 |
<include name="doc/**"/> |
Lines 915-920
Link Here
|
915 |
<include name="notices/**"/> |
958 |
<include name="notices/**"/> |
916 |
</fileset> |
959 |
</fileset> |
917 |
</copy> |
960 |
</copy> |
|
|
961 |
--> |
918 |
<saxon-xslt in="${userdoc.dir}/catalog.xml" |
962 |
<saxon-xslt in="${userdoc.dir}/catalog.xml" |
919 |
style="${userdoc.dir}/render-page2.xsl" |
963 |
style="${userdoc.dir}/render-page2.xsl" |
920 |
schemaAware="true" |
964 |
schemaAware="true" |
Lines 956-963
Link Here
|
956 |
</target> |
1000 |
</target> |
957 |
|
1001 |
|
958 |
<target name="resources" description="Generate contents of released resources file" |
1002 |
<target name="resources" description="Generate contents of released resources file" |
959 |
depends="release-userdoc, product-javadoc, product-dotnetdoc, |
1003 |
depends="release-userdoc, product-javadoc, |
960 |
samples, samples-j, testdrivers-j, samples-n, release-source"> |
1004 |
samples, samples-j, testdrivers-j, release-source"> |
961 |
<mkdir dir="${product.dir}/resources/build"/> |
1005 |
<mkdir dir="${product.dir}/resources/build"/> |
962 |
<copy todir="${product.dir}/resources/build"> |
1006 |
<copy todir="${product.dir}/resources/build"> |
963 |
<fileset dir="${basedir}"> |
1007 |
<fileset dir="${basedir}"> |
Lines 976-989
Link Here
|
976 |
<target name="bj" depends="compile-bj, jar-bj" |
1020 |
<target name="bj" depends="compile-bj, jar-bj" |
977 |
description="Generate Saxon-B for the Java platform"/> |
1021 |
description="Generate Saxon-B for the Java platform"/> |
978 |
|
1022 |
|
|
|
1023 |
<!-- |
979 |
<target name="saj" depends="bj, jar-saj" |
1024 |
<target name="saj" depends="bj, jar-saj" |
980 |
description="Generate Saxon-SA for the Java platform"/> |
1025 |
description="Generate Saxon-SA for the Java platform"/> |
981 |
|
1026 |
|
982 |
<target name="n" depends="product-bn, product-san" |
1027 |
<target name="n" depends="product-bn, product-san" |
983 |
description="Generate Saxon for the .NET platform"/> |
1028 |
description="Generate Saxon for the .NET platform"/> |
|
|
1029 |
--> |
984 |
|
1030 |
|
985 |
<target name="build" description="Complete Saxon product build" |
1031 |
<target name="build" description="Complete Saxon product build" |
986 |
depends="bj, saj, n"/> <!-- add resources --> |
1032 |
depends="bj"/> <!-- add resources --> |
|
|
1033 |
|
1034 |
<target name="jar" description="Probably a mistake but jar is the only target the gentoo build wants to call" |
1035 |
depends="build"/> |
987 |
|
1036 |
|
988 |
<target name="release" description="Create .ZIP files for release" |
1037 |
<target name="release" description="Create .ZIP files for release" |
989 |
> <!--depends="build, resources"--> |
1038 |
> <!--depends="build, resources"--> |