summaryrefslogtreecommitdiff
path: root/dev-java/apache-rat-tasks/files/apache-rat-tasks-0.13-fix-tests.patch
blob: 536b68371c3aacb7aba76d74979fe6d32dee4f6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff --git a/src/test/resources/antunit/report-junit.xml b/src/test/resources/antunit/report-junit.xml
index 54b0c9c..d12fee4 100644
--- a/src/test/resources/antunit/report-junit.xml
+++ b/src/test/resources/antunit/report-junit.xml
@@ -48,7 +48,7 @@
   <target name="all"/>
 
   <target name="testWithReportSentToFile">
-    <property name="report.file" location="${output.dir}/selftest.report"/>
+    <property name="report.file" location="../../../../target/anttasks/selftest.report"/>
     <rat:report reportFile="${report.file}">
       <file file="${ant.file}"/>
     </rat:report>
@@ -88,22 +88,22 @@
   <target name="testAddLicenseHeaders">
     <delete dir="${output.dir}/it-sources"/>
     <mkdir dir="${output.dir}/it-sources"/>
-    <copy file="src/test/resources/antunit/index.apt" tofile="${output.dir}/it-sources/index.apt"/>
+    <copy file="index.apt" tofile="../../../../target/anttasks/it-sources/index.apt"/>
     <rat:report addLicenseHeaders="true">
-       <file file="${output.dir}/it-sources/index.apt"/>
+       <file file="../../../../target/anttasks/it-sources/index.apt"/>
     </rat:report>
   </target>
 
   <target name="testISO88591">
     <rat:report format="xml">
-      <file file="src/test/resources/org/example/iso-8859-1.html"/>
+      <file file="../../../../src/test/resources/org/example/iso-8859-1.html"/>
     </rat:report>
   </target>
 
   <target name="testISO88591WithReportFile">
-    <property name="report.file" location="${output.dir}/selftest.report"/>
+    <property name="report.file" location="../../../../target/anttasks/selftest.report"/>
     <rat:report reportFile="${report.file}" format="xml">
-      <file file="src/test/resources/org/example/iso-8859-1.html"/>
+      <file file="../../../../src/test/resources/org/example/iso-8859-1.html"/>
     </rat:report>
   </target>
 </project>