Fix tests setup for Wikidata extension
<include name="**/*.jar" />
</fileset>
<pathelement path="${refine.classes.dir}"/>
+ <pathelement path="${classes.dir}" />
</path>
<path id="extension.tests.class.path">
<target name="build_java">
<mkdir dir="${classes.dir}" />
- <javac destdir="${classes.dir}" debug="true" includeAntRuntime="no">
+ <javac source="${java_version}" target="${java_version}" encoding="utf-8" destdir="${classes.dir}" debug="true" includeAntRuntime="no">
<src path="${src.dir}"/>
<classpath refid="class.path" />
</javac>
<copy file="${tests.src.dir}/tests.log4j.properties" tofile="${tests.classes.dir}/tests.log4j.properties"/>
</target>
- <mkdir dir="${tests.build.dir}" />
<target name="test" depends="build_tests">
<jacoco:coverage destfile="${tests.report.dir}/jacoco.exec">
- <testng verbose="2" haltOnFailure="true" workingdir="${tests.build.dir}"
+ <testng verbose="2" haltOnFailure="true" workingdir="${extension.tests.dir}"
listener="org.testng.reporters.DotTestListener" excludedgroups="broken"
classpathref="extension.tests.class.path">
<xmlfileset file="${extension.tests.dir}/conf/tests.xml"/>
