sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kathl...@apache.org
Subject git commit: SQOOP-992: Allow to set target java version during compilation
Date Fri, 19 Apr 2013 20:34:58 GMT
Updated Branches:
  refs/heads/trunk 7567315de -> 389187058


SQOOP-992: Allow to set target java version during compilation

(Jarek Jarcec Cecho via Kate Ting)


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

Branch: refs/heads/trunk
Commit: 389187058f0386a807ead767f5b9e11ef5b51b4b
Parents: 7567315
Author: Kate Ting <kathleen@apache.org>
Authored: Fri Apr 19 16:33:59 2013 -0400
Committer: Kate Ting <kathleen@apache.org>
Committed: Fri Apr 19 16:33:59 2013 -0400

----------------------------------------------------------------------
 build.xml |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/38918705/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index e356ba6..1c33fee 100644
--- a/build.xml
+++ b/build.xml
@@ -167,6 +167,7 @@
   <property name="src.tar.file" location="${build.dir}/${src.artifact.name}.tar.gz" />
 
   <!-- compilation -->
+  <property name="targetJavaVersion" value="1.6" />
   <property name="javac.deprecation" value="off"/>
   <property name="javac.debug" value="on"/>
   <property name="build.encoding" value="ISO-8859-1"/>
@@ -374,6 +375,7 @@
         includes="**/*.java"
         destdir="${build.classes}"
         debug="${javac.debug}"
+        target="${targetJavaVersion}"
         deprecation="${javac.deprecation}">
       <classpath refid="compile.classpath"/>
     </javac>
@@ -385,6 +387,7 @@
         includes="**/*.java"
         destdir="${build.classes}"
         debug="${javac.debug}"
+        target="${targetJavaVersion}"
         deprecation="${javac.deprecation}">
       <classpath refid="compile.classpath"/>
     </javac>
@@ -399,6 +402,7 @@
         srcdir="${test.dir}"
         includes="**/*.java"
         destdir="${build.test.classes}"
+        target="${targetJavaVersion}"
         debug="${javac.debug}">
       <classpath>
         <path refid="test.classpath"/>
@@ -415,6 +419,7 @@
         srcdir="${perftest.src.dir}"
         includes="**/*.java"
         destdir="${build.perftest.classes}"
+        target="${targetJavaVersion}"
         debug="${javac.debug}">
       <classpath>
         <path refid="test.classpath"/>


Mime
View raw message