1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
diff -uprN rhino1_6R1.orig/build.properties rhino1_6R1/build.properties
--- rhino1_6R1.orig/build.properties 2004-11-30 22:11:12.000000000 +0100
+++ rhino1_6R1/build.properties 2004-12-22 19:41:54.452624448 +0100
@@ -49,6 +49,7 @@ classes: ${build.dir}/classes
# compilation settings
debug: on
target-jvm: 1.1
+source-jvm: 1.3
# jar generation settings
jar-compression: true
diff -uprN rhino1_6R1.orig/src/build.xml rhino1_6R1/src/build.xml
--- rhino1_6R1.orig/src/build.xml 2004-11-30 22:11:12.000000000 +0100
+++ rhino1_6R1/src/build.xml 2004-12-22 19:42:23.355230584 +0100
@@ -15,6 +15,7 @@ Requires Ant version 1.2
deprecation="on"
debug="${debug}"
target="${target-jvm}"
+ source="${source-jvm}"
>
</javac>
<copy todir="${classes}">
diff -uprN rhino1_6R1.orig/toolsrc/build.xml rhino1_6R1/toolsrc/build.xml
--- rhino1_6R1.orig/toolsrc/build.xml 2004-11-30 22:11:12.000000000 +0100
+++ rhino1_6R1/toolsrc/build.xml 2004-12-22 19:42:40.661599616 +0100
@@ -18,7 +18,8 @@ Requires Ant version 1.2
destdir="${classes}"
includes="org/**/*.java"
deprecation="on"
- debug="${debug}"
+ debug="${debug}"
+ source="${source-jvm}"
target="${target-jvm}">
</javac>
<copy todir="${classes}">
diff -uprN rhino1_6R1.orig/toolsrc/org/mozilla/javascript/tools/debugger/build.xml rhino1_6R1/toolsrc/org/mozilla/javascript/tools/debugger/build.xml
--- rhino1_6R1.orig/toolsrc/org/mozilla/javascript/tools/debugger/build.xml 2004-11-30 22:11:12.000000000 +0100
+++ rhino1_6R1/toolsrc/org/mozilla/javascript/tools/debugger/build.xml 2004-12-22 19:06:04.299497408 +0100
@@ -3,7 +3,6 @@
<project name="toolsrc" default="help" basedir=".">
<target name="properties">
- <property name="swing-ex-url" value="http://java.sun.com/products/jfc/tsc/articles/treetable2/downloads/src.zip"/>
<available file="downloaded/AbstractCellEditor.java"
property="swing-ex-available"/>
</target>
@@ -13,8 +12,7 @@
the files we don't need, and change the package
-->
<mkdir dir="downloaded"/>
- <get src="${swing-ex-url}" dest="downloaded/swingExSrc.zip"/>
- <unzip src="downloaded/swingExSrc.zip" dest="downloaded/">
+ <unzip src="../../../../../../swingExSrc.zip" dest="downloaded/">
<patternset>
<include name="AbstractCellEditor.java"/>
<include name="JTreeTable.java"/>
diff -uprN rhino1_6R1.orig/xmlimplsrc/build.xml rhino1_6R1/xmlimplsrc/build.xml
--- rhino1_6R1.orig/xmlimplsrc/build.xml 2004-11-30 22:11:12.000000000 +0100
+++ rhino1_6R1/xmlimplsrc/build.xml 2004-12-22 19:42:52.882741720 +0100
@@ -12,7 +12,6 @@
<target name="compile" unless="without-xmlimpl">
<available property="xbean-present?" file="${xbean.jar}" />
- <antcall target="xbean-get" />
<condition property="xmlimpl-compile?">
<and>
@@ -35,7 +34,6 @@
</condition>
<antcall target="do-compile" />
- <antcall target="do-not-compile" />
</target>
@@ -48,6 +46,7 @@
deprecation="on"
debug="${debug}"
target="${target-jvm}"
+ source="${source-jvm}"
classpathref="xmlimpl.classpath"
failonerror="${xmlimpl.compile.failonerror}"
>
@@ -55,15 +54,6 @@
</target>
- <target name="do-not-compile" unless="xmlimpl-compile?">
-
-<echo>
-Skipping compilation of E4X implementation due to lack of
-javax.xml.namespace.*, org.apache.xmlbeans.* classes
-</echo>
-
- </target>
-
<target name="copy-source">
<mkdir dir="${dist.dir}/xmlimplsrc"/>
<copy todir="${dist.dir}/xmlimplsrc">
@@ -79,39 +69,4 @@ javax.xml.namespace.*, org.apache.xmlbea
includes="org/mozilla/javascript/xmlimpl/**"/>
</delete>
</target>
-
-
- <target name="xbean-get" unless="xbean-present?">
-
- <property
- name="xbean.url"
- value="http://www.apache.org/dist/xml/xmlbeans/xmlbeans-current.zip"
- />
-
- <property name="xbean.tmp" location="${build.dir}/tmp-xbean" />
- <property name="xbean.zip" location="${xbean.tmp}/xbean.zip" />
-
- <mkdir dir="${xbean.tmp}"/>
- <get src="${xbean.url}" dest="${xbean.zip}" ignoreerrors="true" />
-
- <available property="xbean-zip-present?" file="${xbean.zip}" />
-
- <antcall target="xbean-unzip" />
- </target>
-
- <target name="xbean-unzip" if="xbean-zip-present?">
-
- <unzip src="${xbean.zip}" dest="${xbean.tmp}">
- <patternset includes="xmlbeans-*/lib/xbean.jar" />
- </unzip>
- <mkdir dir="${lib}" />
- <copy tofile="${xbean.jar}">
- <fileset dir="${xbean.tmp}" includes="xmlbeans-*/lib/xbean.jar" />
- </copy>
-
- <delete dir="${xbean.tmp}" />
- </target>
-
-
-
</project>
|