THRIFT-482. java: build.xml does not specify a target version for compiled java classes
authorBryan Duxbury <bryanduxbury@apache.org>
Wed, 6 May 2009 17:22:11 +0000 (17:22 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Wed, 6 May 2009 17:22:11 +0000 (17:22 +0000)
This patch updates the build file to target java 1.5.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@772373 13f79535-47bb-0310-9956-ffa450edef68

lib/java/build.xml

index 0a7c894..90a8eaf 100644 (file)
   </target>
 
   <target name="compile" depends="init,resolve">
-    <javac srcdir="${src}" destdir="${build}" source="1.5" debug="true" classpathref="compile.classpath" />
+    <javac srcdir="${src}" destdir="${build}" source="1.5" target="1.5" debug="true" classpathref="compile.classpath" />
   </target>
 
   <target name="javadoc" depends="init">