mirror of
https://github.com/opencv/opencv.git
synced 2024-12-31 05:28:46 +08:00
c66cf08ced
The generated OpenCV Java source can contain characters outside of ASCII on some systems – this patch allows the ant task to compile them.
(cherry picked from commit f3ee55e042
)
17 lines
735 B
XML
17 lines
735 B
XML
<!-- 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">
|
|
<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 -->
|
|
<javac sourcepath="" srcdir="src" destdir="src" debug="on" includeantruntime="false" >
|
|
<include name="**/*.java"/>
|
|
<compilerarg line="-encoding utf-8"/>
|
|
</javac>
|
|
|
|
<jar basedir="src" destfile="bin/@JAR_NAME@"/>
|
|
</target>
|
|
</project>
|