Skip to content

Commit 8cf1e8e

Browse files
committed
added use of JAVA_VERSION_PREFIX environment variable
1 parent d5e9663 commit 8cf1e8e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

ant/bc+-build.xml

+1
Original file line numberDiff line numberDiff line change
@@ -991,6 +991,7 @@
991991
</fileset>
992992
</classpath>
993993
<sysproperty key="bc.test.data.home" value="../../core/src/test/data" />
994+
<sysproperty key="test.java.version.prefix" value="${env.JAVA_VERSION_PREFIX}" />
994995

995996
<formatter type="xml" />
996997
<batchtest todir="${artifacts.reports.xml.dir}" unless="testcase">

build1-8+

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ export JAVA_HOME
1717
PATH=$JDKPATH/bin:$PATH
1818
export PATH
1919

20+
if [ "${JAVA_VERSION_PREFIX}" = "" ]
21+
then
22+
JAVA_VERSION_PREFIX=1.8
23+
export JAVA_VERSION_PREFIX
24+
fi
25+
2026
if [ "$1" = "test" ]
2127
then
2228
ant -f ant/jdk18+.xml test

0 commit comments

Comments
 (0)