Commit af182a1f authored by Lubomir Bulej's avatar Lubomir Bulej

Set default target for Java to 1.8, except for the DiSL bypass and Shadow VM dispatch classes.

parent 13aa05d2
......@@ -85,6 +85,9 @@ release.bin.tar=${release}/disl-${disl.version}-bin.tar.bz2
release.src.zip=${release}/disl-${disl.version}-src.zip
release.src.tar=${release}/disl-${disl.version}-src.tar.bz2
# Java versions for different targets
# Java versions for specific components
target.disl.bypass=1.4
target.disl.client=1.6
target.shvm.dispatch=1.6
# Default Java target
ant.build.javac.target=1.8
......@@ -381,7 +381,7 @@
<target name="compile-shvm-dispatch">
<mkdir dir="${build.shvm.dispatch}" />
<javac destdir="${build.shvm.dispatch}" srcdir="${src.shvm.dispatch}" debug="true" source="${target.disl.client}" target="${target.disl.client}" />
<javac destdir="${build.shvm.dispatch}" srcdir="${src.shvm.dispatch}" debug="true" source="${target.shvm.dispatch}" target="${target.shvm.dispatch}" />
</target>
......@@ -441,7 +441,7 @@
<target name="compile-test" depends="compile-util,compile-disl,compile-shvm">
<mkdir dir="${build.test}" />
<javac destdir="${build.test}" srcdir="${src.test}" debug="true" source="${target.disl.client}" target="${target.disl.client}">
<javac destdir="${build.test}" srcdir="${src.test}" debug="true">
<classpath refid="test.classpath" />
</javac>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment