/[packages]/cauldron/xerces-j2/current/SOURCES/xerces-j2-build.patch
ViewVC logotype

Contents of /cauldron/xerces-j2/current/SOURCES/xerces-j2-build.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17862 - (show annotations) (download)
Fri Jan 14 19:54:19 2011 UTC (11 years ago) by ahmad
File size: 4369 byte(s)
imported package xerces-j2
1 --- xerces-2_9_0/build.xml.build 2006-11-23 00:37:02.000000000 +0100
2 +++ xerces-2_9_0/build.xml 2006-12-15 05:37:59.000000000 +0100
3 @@ -41,7 +41,7 @@
4 <!-- enable compilation under JDK 1.4 and above -->
5 <taskdef name="xjavac" classname="org.apache.xerces.util.XJavac">
6 <classpath>
7 - <pathelement location="${tools.dir}/bin/xjavac.jar"/>
8 + <pathelement location="./tools/bin/xjavac.jar"/>
9 </classpath>
10 </taskdef>
11
12 @@ -88,7 +88,7 @@
13 <property name="packages" value="org.*"/>
14
15 <property name="doc.generator" value="org.apache.stylebook.StyleBook"/>
16 - <property name="doc.generator.package" value="${tools.dir}/stylebook-1.0-b2.jar"/>
17 + <property name="doc.generator.package" value="./tools/stylebook-1.0-b2.jar"/>
18
19 <property name="build.src" value="${build.dir}/src"/>
20 <property name="build.dest" value="${build.dir}/classes"/>
21 @@ -101,7 +101,6 @@
22 <property name="distsrc.dir" value="${build.dir}/${parser.shortname}-${parser_version}"/>
23 <property name="disttools.dir" value="${build.dir}/tools"/>
24 <property name="distbin.dir" value="${build.dir}/${parser.shortname}-${parser_version}"/>
25 - <property name='src.apis.zip' value="${tools.dir}/xml-commons-external-src.zip"/>
26
27 <filter token="year" value="${year}"/>
28 <filter token="version" value="${parser.Version}"/>
29 @@ -214,28 +213,6 @@
30 </fileset>
31 </copy>
32
33 - <!-- now deal with API's: -->
34 - <unzip src="${src.apis.zip}" dest="${build.src}">
35 - <patternset
36 - includes="org/xml/sax/**
37 - javax/xml/**
38 - javax/xml/datatype/**
39 - javax/xml/namespace/**
40 - javax/xml/parsers/**
41 - javax/xml/transform/**
42 - javax/xml/validation/**
43 - javax/xml/xpath/**
44 - org/w3c/dom/*
45 - org/w3c/dom/bootstrap/**
46 - org/w3c/dom/events/**
47 - org/w3c/dom/html/**
48 - org/w3c/dom/ls/**
49 - org/w3c/dom/ranges/**
50 - org/w3c/dom/traversal/**
51 - org/w3c/dom/xpath/**"
52 - />
53 - </unzip>
54 -
55 <!-- substitute tokens as needed -->
56 <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"
57 token="@@VERSION@@" value="${parser.Name} ${parser.Version}"/>
58 @@ -333,7 +310,7 @@
59 </copy>
60 <xjavac srcdir="${build.tests}"
61 destdir="${build.dest}"
62 - classpath="${tools.dir}/${jar.apis}:${build.dir}/classes:./tools/junit.jar"
63 + classpath="${tools.dir}/${jar.apis}:${build.dir}/classes:${tools.dir}/junit.jar"
64 debug="${debug}"
65 includeAntRuntime="false"
66 includeJavaRuntime="true"/>
67 @@ -378,7 +355,7 @@
68 <target name="docs" depends="prepare, prepare-docs">
69 <echo message="Building docs for ${parser.Name} ${parser.Version} ..." />
70 <java fork="yes"
71 - classpath="${java.class.path}:${doc.generator.package}:./tools/xalan.jar"
72 + classpath="${java.class.path}:${doc.generator.package}:${tools.dir}/xalan.jar"
73 classname="${doc.generator}"
74 failOnError="yes">
75 <arg value="targetDirectory=${build.docs}"/>
76 @@ -1181,29 +1158,6 @@
77 <replace file="${build.dir}/src/org/apache/xerces/parsers/AbstractSAXParser.java"
78 token="return (fConfiguration instanceof XML11Configurable);" value="return false;"/>
79
80 - <!-- now deal with API's: -->
81 - <unzip src="${src.apis.zip}" dest="${build.src}">
82 - <patternset
83 - includes="org/xml/sax/**
84 - javax/xml/**
85 - javax/xml/datatype/**
86 - javax/xml/namespace/**
87 - javax/xml/parsers/**
88 - javax/xml/transform/**
89 - javax/xml/validation/**
90 - javax/xml/xpath/**
91 - org/w3c/dom/*
92 - org/w3c/dom/bootstrap/**
93 - org/w3c/dom/events/**
94 - org/w3c/dom/html/**
95 - org/w3c/dom/ls/**
96 - org/w3c/dom/ranges/**
97 - org/w3c/dom/traversal/**
98 - org/w3c/dom/xpath/**"
99 - />
100 - </unzip>
101 -
102 -
103 <!-- substitute tokens as needed -->
104 <replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"
105 token="@@VERSION@@" value="${parser.Name} ${parser.Version}"/>

  ViewVC Help
Powered by ViewVC 1.1.28