2012-09-15 19:46:34 +08:00
|
|
|
<!-- This is an Apache Ant build file. As part of the desktop java build -->
|
|
|
|
<!-- process, this config is used to package the autogenerated .java -->
|
|
|
|
<!-- interface files into OpenCV.jar -->
|
|
|
|
<project name="OpenCV">
|
2017-04-05 22:50:46 +08:00
|
|
|
|
2017-12-29 12:15:30 +08:00
|
|
|
<tstamp>
|
|
|
|
<format property="timestamp" pattern="EEE MMM d yyyy HH:mm:ss z"/>
|
|
|
|
</tstamp>
|
|
|
|
|
2012-09-15 19:46:34 +08:00
|
|
|
<target name="jar">
|
|
|
|
<!-- This is to make a jar with a source attachment, for e.g. easy -->
|
|
|
|
<!-- navigation in Eclipse. See this question: -->
|
|
|
|
<!-- http://stackoverflow.com/questions/3584968/ant-how-to-compile-jar-that-includes-source-attachment -->
|
2017-12-29 12:15:30 +08:00
|
|
|
<javac sourcepath="" srcdir="java" destdir="build/classes" debug="on" includeantruntime="false" >
|
2012-09-15 19:46:34 +08:00
|
|
|
<include name="**/*.java"/>
|
2013-03-15 17:47:52 +08:00
|
|
|
<compilerarg line="-encoding utf-8"/>
|
2012-09-15 19:46:34 +08:00
|
|
|
</javac>
|
2017-12-29 12:15:30 +08:00
|
|
|
<jar destfile="@OPENCV_JAR_FILE@">
|
|
|
|
<fileset dir="java"/>
|
|
|
|
<fileset dir="build/classes"/>
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Specification-Title" value="OpenCV"/>
|
|
|
|
<attribute name="Specification-Version" value="@OPENCV_VERSION@"/>
|
|
|
|
<attribute name="Implementation-Title" value="OpenCV"/>
|
|
|
|
<attribute name="Implementation-Version" value="@OPENCV_VCSVERSION@"/>
|
|
|
|
<attribute name="Implementation-Date" value="${timestamp}"/>
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
2012-09-15 19:46:34 +08:00
|
|
|
</target>
|
2017-04-05 22:50:46 +08:00
|
|
|
|
|
|
|
<target name="javadoc">
|
|
|
|
<javadoc
|
|
|
|
packagenames="org.opencv.*"
|
2017-12-29 12:15:30 +08:00
|
|
|
sourcepath="java"
|
2018-01-18 21:37:19 +08:00
|
|
|
destdir="@OpenCV_BINARY_DIR@/doc/doxygen/html/javadoc"
|
2017-04-05 22:50:46 +08:00
|
|
|
Windowtitle="OpenCV @OPENCV_VERSION_PLAIN@ Java documentation"
|
|
|
|
Doctitle="OpenCV Java documentation (@OPENCV_VERSION@)"
|
2017-12-29 12:15:30 +08:00
|
|
|
bottom="Generated on ${timestamp} / OpenCV @OPENCV_VCSVERSION@"
|
2017-04-05 22:50:46 +08:00
|
|
|
/>
|
|
|
|
</target>
|
|
|
|
|
2013-03-15 17:47:52 +08:00
|
|
|
</project>
|