sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hshreedha...@apache.org
Subject git commit: SQOOP-1207. Allow user to override java source version
Date Mon, 21 Jul 2014 20:25:55 GMT
Repository: sqoop
Updated Branches:
  refs/heads/trunk 1e2bc6e72 -> 44d5f2f94


SQOOP-1207. Allow user to override java source version

(Jarcec via Hari)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/44d5f2f9
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/44d5f2f9
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/44d5f2f9

Branch: refs/heads/trunk
Commit: 44d5f2f94cf0d6f1f7f748efef5da803bfac02c4
Parents: 1e2bc6e
Author: Hari Shreedharan <harishreedharan@gmail.com>
Authored: Mon Jul 21 13:25:12 2014 -0700
Committer: Hari Shreedharan <harishreedharan@gmail.com>
Committed: Mon Jul 21 13:25:12 2014 -0700

----------------------------------------------------------------------
 build.xml | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/44d5f2f9/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 7a29d4e..a6b5da9 100644
--- a/build.xml
+++ b/build.xml
@@ -269,6 +269,7 @@
 
   <!-- compilation -->
   <property name="targetJavaVersion" value="1.6" />
+  <property name="sourceJavaVersion" value="1.6" />
   <property name="javac.deprecation" value="off"/>
   <property name="javac.debug" value="on"/>
   <property name="build.encoding" value="ISO-8859-1"/>
@@ -509,6 +510,7 @@
         includes="**/*.java"
         destdir="${build.classes}"
         debug="${javac.debug}"
+        source="${sourceJavaVersion}"
         target="${targetJavaVersion}"
         deprecation="${javac.deprecation}">
       <classpath refid="compile.classpath"/>
@@ -521,6 +523,7 @@
         includes="**/*.java"
         destdir="${build.classes}"
         debug="${javac.debug}"
+        source="${sourceJavaVersion}"
         target="${targetJavaVersion}"
         deprecation="${javac.deprecation}">
       <classpath refid="compile.classpath"/>
@@ -537,6 +540,7 @@
         srcdir="${test.dir}"
         includes="**/*.java"
         destdir="${build.test.classes}"
+        source="${sourceJavaVersion}"
         target="${targetJavaVersion}"
         debug="${javac.debug}">
       <classpath>
@@ -554,6 +558,7 @@
         srcdir="${perftest.src.dir}"
         includes="**/*.java"
         destdir="${build.perftest.classes}"
+        source="${sourceJavaVersion}"
         target="${targetJavaVersion}"
         debug="${javac.debug}">
       <classpath>


Mime
View raw message