You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by br...@apache.org on 2009/05/06 19:22:11 UTC

svn commit: r772373 - /incubator/thrift/trunk/lib/java/build.xml

Author: bryanduxbury
Date: Wed May  6 17:22:11 2009
New Revision: 772373

URL: http://svn.apache.org/viewvc?rev=772373&view=rev
Log:
THRIFT-482. java: build.xml does not specify a target version for compiled java classes

This patch updates the build file to target java 1.5.


Modified:
    incubator/thrift/trunk/lib/java/build.xml

Modified: incubator/thrift/trunk/lib/java/build.xml
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/java/build.xml?rev=772373&r1=772372&r2=772373&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/java/build.xml (original)
+++ incubator/thrift/trunk/lib/java/build.xml Wed May  6 17:22:11 2009
@@ -107,7 +107,7 @@
   </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">