]> git.pld-linux.org Git - packages/opencv.git/blame - java-ant-sourcelevel.patch
- release 2 (by relup.sh)
[packages/opencv.git] / java-ant-sourcelevel.patch
CommitLineData
a4737151
ER
1--- opencv-2.4.5/modules/java/build.xml.in~ 2013-04-05 12:00:20.000000000 +0300
2+++ opencv-2.4.5/modules/java/build.xml.in 2013-06-21 20:08:55.908749180 +0300
3@@ -6,7 +6,10 @@
4 <!-- This is to make a jar with a source attachment, for e.g. easy -->
5 <!-- navigation in Eclipse. See this question: -->
6 <!-- http://stackoverflow.com/questions/3584968/ant-how-to-compile-jar-that-includes-source-attachment -->
7- <javac sourcepath="" srcdir="src" destdir="src" debug="on" includeantruntime="false" >
8+ <property name="javac.target" value="1.5"/>
9+ <property name="javac.source" value="1.5"/>
10+
11+ <javac sourcepath="" srcdir="src" destdir="src" debug="on" includeantruntime="false" target="${javac.target}" source="${javac.source}">
12 <include name="**/*.java"/>
13 <compilerarg line="-encoding utf-8"/>
14 </javac>
This page took 0.035081 seconds and 4 git commands to generate.