diff --git a/build.xml b/build.xml
index c6121aa66919180d948847b7736806f39a20b04b..eaaf4a78fb0a54e3b310d2161a172621cbc61eb2 100644
--- a/build.xml
+++ b/build.xml
@@ -66,7 +66,7 @@
 		</junit>
     </target>
 	
-	<target name="compile-tests" depends="jar">
+	<target name="compile-tests" depends="compile">
 		<mkdir dir="${build.dir}"/>
         <javac srcdir="${test.src}" destdir="${build.dir}" includeantruntime="false">
 			<classpath>