1<!-- This is an Apache Ant build file. As part of the desktop java build -->
2<!-- process, this config is used to package the autogenerated .java -->
3<!-- interface files into OpenCV.jar -->
4<project name="OpenCV">
5  <target name="jar">
6    <!-- This is to make a jar with a source attachment, for e.g. easy -->
7    <!-- navigation in Eclipse. See this question: -->
8    <!-- http://stackoverflow.com/questions/3584968/ant-how-to-compile-jar-that-includes-source-attachment -->
9    <javac sourcepath="" srcdir="src" destdir="src" debug="on" includeantruntime="false" >
10      <include name="**/*.java"/>
11      <compilerarg line="-encoding utf-8"/>
12    </javac>
13
14    <jar basedir="src" destfile="bin/@JAR_NAME@"/>
15  </target>
16</project>
17