Use source.version and target.version when compiling test classes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@491210 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
20
build.xml
20
build.xml
@@ -502,7 +502,9 @@
|
|||||||
destdir="${build.home}/tests"
|
destdir="${build.home}/tests"
|
||||||
debug="${compile.debug}"
|
debug="${compile.debug}"
|
||||||
deprecation="${compile.deprecation}"
|
deprecation="${compile.deprecation}"
|
||||||
optimize="${compile.optimize}">
|
optimize="${compile.optimize}"
|
||||||
|
source="${source.version}"
|
||||||
|
target="${target.version}">
|
||||||
<classpath refid="test.classpath"/>
|
<classpath refid="test.classpath"/>
|
||||||
<include name='**/jdk14/**'/>
|
<include name='**/jdk14/**'/>
|
||||||
</javac>
|
</javac>
|
||||||
@@ -513,7 +515,9 @@
|
|||||||
destdir="${build.home}/tests"
|
destdir="${build.home}/tests"
|
||||||
debug="${compile.debug}"
|
debug="${compile.debug}"
|
||||||
deprecation="${compile.deprecation}"
|
deprecation="${compile.deprecation}"
|
||||||
optimize="${compile.optimize}">
|
optimize="${compile.optimize}"
|
||||||
|
source="${source.version}"
|
||||||
|
target="${target.version}">
|
||||||
<classpath refid="test.classpath.log4j12"/>
|
<classpath refid="test.classpath.log4j12"/>
|
||||||
<include name='**/log4j/**'/>
|
<include name='**/log4j/**'/>
|
||||||
<!-- NOTE -->
|
<!-- NOTE -->
|
||||||
@@ -533,7 +537,9 @@
|
|||||||
destdir="${build.home}/tests"
|
destdir="${build.home}/tests"
|
||||||
debug="${compile.debug}"
|
debug="${compile.debug}"
|
||||||
deprecation="${compile.deprecation}"
|
deprecation="${compile.deprecation}"
|
||||||
optimize="${compile.optimize}">
|
optimize="${compile.optimize}"
|
||||||
|
source="${source.version}"
|
||||||
|
target="${target.version}">
|
||||||
<classpath refid="test.classpath"/>
|
<classpath refid="test.classpath"/>
|
||||||
<include name='**/avalon/**'/>
|
<include name='**/avalon/**'/>
|
||||||
</javac>
|
</javac>
|
||||||
@@ -544,7 +550,9 @@
|
|||||||
destdir="${build.home}/tests"
|
destdir="${build.home}/tests"
|
||||||
debug="${compile.debug}"
|
debug="${compile.debug}"
|
||||||
deprecation="${compile.deprecation}"
|
deprecation="${compile.deprecation}"
|
||||||
optimize="${compile.optimize}">
|
optimize="${compile.optimize}"
|
||||||
|
source="${source.version}"
|
||||||
|
target="${target.version}">
|
||||||
<classpath refid="test.classpath"/>
|
<classpath refid="test.classpath"/>
|
||||||
<include name='**/logkit/**'/>
|
<include name='**/logkit/**'/>
|
||||||
</javac>
|
</javac>
|
||||||
@@ -556,7 +564,9 @@
|
|||||||
destdir="${build.home}/tests"
|
destdir="${build.home}/tests"
|
||||||
debug="${compile.debug}"
|
debug="${compile.debug}"
|
||||||
deprecation="${compile.deprecation}"
|
deprecation="${compile.deprecation}"
|
||||||
optimize="${compile.optimize}">
|
optimize="${compile.optimize}"
|
||||||
|
source="${source.version}"
|
||||||
|
target="${target.version}">
|
||||||
<classpath refid="test.classpath"/>
|
<classpath refid="test.classpath"/>
|
||||||
<exclude name='**/jdk14/**'/>
|
<exclude name='**/jdk14/**'/>
|
||||||
<exclude name='**/log4j/**'/>
|
<exclude name='**/log4j/**'/>
|
||||||
|
|||||||
Reference in New Issue
Block a user