Skip to content

Commit b237ac5

Browse files
committed
ant: Copy R code to test-output when test
Signed-off-by: Ce Gao <[email protected]>
1 parent 330a136 commit b237ac5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.xml.template

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<property name="build" value="build" />
2222
<property name="bin" value="bin" />
2323
<property name="dist" value="dist" />
24+
<property name="r.core.dir" value="src/rprocessing/r" />
2425

2526
<!-- Test -->
2627
<property name="test.build.dir" value="test-output" />
@@ -126,6 +127,9 @@
126127
</target>
127128

128129
<target name="test" depends="test-compile">
130+
<copy todir="${test.build.dir}/rprocessing/r" >
131+
<fileset dir="${r.core.dir}" includes="**"/>
132+
</copy>
129133
<jacoco:coverage destfile="${result.exec.file}">
130134
<junit printsummary="on" haltonfailure="yes" fork="true">
131135
<classpath>

0 commit comments

Comments
 (0)