aboutsummaryrefslogtreecommitdiffstats
path: root/build/release
diff options
context:
space:
mode:
authorwisberg <wisberg>2005-04-21 18:36:23 +0000
committerwisberg <wisberg>2005-04-21 18:36:23 +0000
commit105a6345ddff474ff95658f59eab6c1c67607ec2 (patch)
tree8742cf2e485a28cf827b11e08057dbe632df60e2 /build/release
parent21f753b76c1bafb580f32888ea9ea6bae0b45d88 (diff)
downloadaspectj-105a6345ddff474ff95658f59eab6c1c67607ec2.tar.gz
aspectj-105a6345ddff474ff95658f59eab6c1c67607ec2.zip
compile runtime under 1.1, see how badly it fails
Diffstat (limited to 'build/release')
-rw-r--r--build/release/build.xml20
-rw-r--r--build/release/readme.txt5
2 files changed, 25 insertions, 0 deletions
diff --git a/build/release/build.xml b/build/release/build.xml
index 61823ca05..c2846f6d6 100644
--- a/build/release/build.xml
+++ b/build/release/build.xml
@@ -520,6 +520,26 @@
value="-Djavarun.fork=true -Djavarun.java=${java11.command} -Djavarun.java.home=${j11.home} -Djavarun.bootclasspath=${java11.classes.zip}"/>
</antcall>
</target>
+
+ <target name="compile-runtime-11" depends="init-variables"
+ description="compile runtime under 1.1 - fails, but by how much?">
+ <mkdir dir="${aj.build.dir}/classes-1.1"/>
+ <property name="j11.classes"
+ location="${j11.home}/lib/classes.zip"/>
+ <javac
+ compiler="javac1.1"
+ bootclasspath="${j11.classes}"
+ source="1.3"
+ includejavaruntime="no"
+ includeantruntime="no"
+ destdir="${aj.build.dir}/classes-1.1"
+ srcdir="${aspectj.modules.dir}/runtime/src"
+ target="1.1"
+ verbose="false"
+ failonerror="false"
+ />
+ <delete dir="${aj.build.dir}/classes-1.1"/>
+ </target>
<target name="test-harness-tests" depends="init-harness-available">
<!-- we could use harness variants, e.g., "-emacssym-",
diff --git a/build/release/readme.txt b/build/release/readme.txt
index aa9df9c4b..455783aab 100644
--- a/build/release/readme.txt
+++ b/build/release/readme.txt
@@ -64,3 +64,8 @@ cd release
# test installation and sources in local tree:
[ -z "$skipTest" ] && "$myant" test ${sp} -Dskip.build=true
+
+# check 1.1 runtime - compile will fail,
+# but should only be in known 1.2-dependent classes
+#export JAVA_HOME=c:/home/apps/jdk13
+#"$myant" compile-runtime-11 ${sp}