Use getResource to access CompressTest data for unit tests.
[fits.git] / build.xml
index 1228bda5e5a4c025ad80d7e06649bed3a49d94cb..1aa50d23d1a98332d59c01b4051a845d70f54b45 100644 (file)
--- a/build.xml
+++ b/build.xml
       <classpath refid="project.class.path"/>
       <classpath refid="build.class.path"/>
     </javac>
       <classpath refid="project.class.path"/>
       <classpath refid="build.class.path"/>
     </javac>
+    <copy todir="${build}">
+      <mappedresources>
+        <fileset dir="${src}" includes="**/test/test.fits*"/>
+        <!--fileset dir="${src}/nom/tam/fits/comments.txt"/-->
+        <globmapper from="*" to="*"/>
+      </mappedresources>
+    </copy>
   </target>
   <target name="test" depends="build">
     <junit>
   </target>
   <target name="test" depends="build">
     <junit>