mirror of
https://github.com/opencv/opencv.git
synced 2024-11-23 18:50:21 +08:00
Remove explicit Java version in Ant
This commit is contained in:
parent
8890b0b320
commit
2e94c12caf
@ -8,7 +8,7 @@
|
||||
</tstamp>
|
||||
|
||||
<target name="jar">
|
||||
<javac sourcepath="" srcdir="java" destdir="build/classes" debug="on" includeantruntime="false" source="8" target="8" @OPENCV_ANT_JAVAC_EXTRA_ATTRS@ >
|
||||
<javac sourcepath="" srcdir="java" destdir="build/classes" debug="on" includeantruntime="false" @OPENCV_ANT_JAVAC_EXTRA_ATTRS@ >
|
||||
<include name="**/*.java"/>
|
||||
<compilerarg line="-encoding utf-8"/>
|
||||
</javac>
|
||||
|
@ -25,7 +25,7 @@
|
||||
<target name="compile">
|
||||
<mkdir dir="build/classes"/>
|
||||
|
||||
<javac sourcepath="" srcdir="src" destdir="build/classes" debug="on" includeantruntime="false" source="8" target="8" >
|
||||
<javac sourcepath="" srcdir="src" destdir="build/classes" debug="on" includeantruntime="false">
|
||||
<include name="**/*.java"/>
|
||||
<classpath refid="master-classpath"/>
|
||||
</javac>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
<target name="compile">
|
||||
<mkdir dir="${classes.dir}"/>
|
||||
<javac includeantruntime="false" srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath" source="8" target="8"/>
|
||||
<javac includeantruntime="false" srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath"/>
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="compile">
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
<target name="compile">
|
||||
<mkdir dir="${dstDir}"/>
|
||||
<javac includeantruntime="false" srcdir="${srcDir}" destdir="${dstDir}" classpathref="classpath" source="8" target="8"/>
|
||||
<javac includeantruntime="false" srcdir="${srcDir}" destdir="${dstDir}" classpathref="classpath"/>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
Loading…
Reference in New Issue
Block a user