missing change in previous check-in. To AntUnit integartion in Junit4, we need a test that use annotation
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/common/trunk@744476 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build.xml b/build.xml
index df3d712..516b08e 100644
--- a/build.xml
+++ b/build.xml
@@ -37,6 +37,8 @@
<!-- javac properties -->
<property name="javac.-source" value="1.2"/>
<property name="javac.-target" value="1.2"/>
+ <property name="javac.test-source" value="${javac.-source}"/>
+ <property name="javac.test-target" value="${javac.-target}"/>
<property name="javac.debug" value="on"/>
<!--you really need a proper version in version.properties-->
@@ -153,8 +155,8 @@
srcdir="${src.junit}"
destdir="${build.testclasses}"
debug="${javac.debug}"
- source="${javac.-source}"
- target="${javac.-target}"
+ source="${javac.test-source}"
+ target="${javac.test-target}"
>
<classpath>
<pathelement location="${jarname}"/>