mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
Remove explicit Java version in Ant
This commit is contained in:
parent
8890b0b320
commit
2e94c12caf
@ -8,7 +8,7 @@
|
|||||||
</tstamp>
|
</tstamp>
|
||||||
|
|
||||||
<target name="jar">
|
<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"/>
|
<include name="**/*.java"/>
|
||||||
<compilerarg line="-encoding utf-8"/>
|
<compilerarg line="-encoding utf-8"/>
|
||||||
</javac>
|
</javac>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<target name="compile">
|
<target name="compile">
|
||||||
<mkdir dir="build/classes"/>
|
<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"/>
|
<include name="**/*.java"/>
|
||||||
<classpath refid="master-classpath"/>
|
<classpath refid="master-classpath"/>
|
||||||
</javac>
|
</javac>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<target name="compile">
|
<target name="compile">
|
||||||
<mkdir dir="${classes.dir}"/>
|
<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>
|
||||||
|
|
||||||
<target name="jar" depends="compile">
|
<target name="jar" depends="compile">
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<target name="compile">
|
<target name="compile">
|
||||||
<mkdir dir="${dstDir}"/>
|
<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>
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
Reference in New Issue
Block a user