Repository: flex-falcon
Updated Branches:
  refs/heads/develop 3c27b0f81 -> eeb5fc1cf


switch to 1.6 for FB compatibility.  Generates lots of warnings so may not be 
the perfect configuration.


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

Branch: refs/heads/develop
Commit: b4da485d385e445c3b6f3b6a146a03e0bab8cfa9
Parents: 3c27b0f
Author: Alex Harui <[email protected]>
Authored: Wed Apr 2 23:01:51 2014 -0700
Committer: Alex Harui <[email protected]>
Committed: Wed Apr 2 23:01:51 2014 -0700

----------------------------------------------------------------------
 compiler/build.xml | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b4da485d/compiler/build.xml
----------------------------------------------------------------------
diff --git a/compiler/build.xml b/compiler/build.xml
index ea33477..1a71926 100644
--- a/compiler/build.xml
+++ b/compiler/build.xml
@@ -72,6 +72,7 @@
     <!-- Options for <javac> tasks -->
     <property name="javac.debug" value="true"/>
     <property name="javac.deprecation" value="false"/>
+    <property name="javac.src" value="1.6"/>
 
     <!-- JAR manifest entries -->
     <property name="manifest.sealed" value="false"/>
@@ -243,7 +244,8 @@
        <target name="annotate.class"
                    description="Compiles the AnnotateClass build tool" >
         <mkdir dir="${compiler}/generated/classes"/>
-        <javac debug="${javac.debug}" deprecation="${javac.deprecation}" 
destdir="${compiler}/generated/classes" includeAntRuntime="true">
+        <javac debug="${javac.debug}" deprecation="${javac.deprecation}" 
destdir="${compiler}/generated/classes" includeAntRuntime="true"
+            source="${javac.src}" target="${javac.src}">
             <compilerarg value="-Xlint:all,-path,-fallthrough"/>
             <src path="${compiler}/tools/AnnotateClass"/>
             <classpath>
@@ -256,7 +258,8 @@
     <target name="unknown.tree.pattern.input.output"
             description="Compiles the UnknownTreePatternInputOutput tool">
         <mkdir dir="${compiler}/generated/classes"/>
-        <javac debug="${javac.debug}" deprecation="${javac.deprecation}" 
destdir="${compiler}/generated/classes" classpathref="classpath" 
includeAntRuntime="true">
+        <javac debug="${javac.debug}" deprecation="${javac.deprecation}" 
destdir="${compiler}/generated/classes" classpathref="classpath"
+            includeAntRuntime="true" source="${javac.src}" 
target="${javac.src}">
             <src path="${compiler}/src"/>
             <include 
name="org/apache/flex/compiler/internal/as/codegen/UnknownTreePatternInputOutput.java"/>
             <compilerarg value="-Xlint:all,-path,-fallthrough"/>
@@ -268,7 +271,8 @@
        <target name="problem.localizer"
                description="Compiles the ProblemLocalizer build tool">
            <mkdir dir="${compiler}/generated/classes"/>
-           <javac debug="${javac.debug}" deprecation="${javac.deprecation}" 
destdir="${compiler}/generated/classes" includeAntRuntime="true">
+           <javac debug="${javac.debug}" deprecation="${javac.deprecation}" 
destdir="${compiler}/generated/classes" includeAntRuntime="true"
+            source="${javac.src}" target="${javac.src}">
                <compilerarg value="-Xlint:all,-path,-fallthrough"/>
                <src path="${compiler}/tools/problemlocalizer"/>
                <classpath>
@@ -422,7 +426,8 @@
  
     <target name="node.adapter">
         <mkdir dir="${compiler}/generated/classes"/>
-        <javac debug="${javac.debug}" deprecation="${javac.deprecation}" 
destdir="${compiler}/generated/classes" classpathref="classpath" 
includeAntRuntime="true">
+        <javac debug="${javac.debug}" deprecation="${javac.deprecation}" 
destdir="${compiler}/generated/classes" classpathref="classpath"
+            includeAntRuntime="true" source="${javac.src}" 
target="${javac.src}">
             <src path="${compiler}/src"/>
                <include 
name="org/apache/flex/compiler/internal/as/codegen/IASNodeAdapter.java"/>
             <compilerarg value="-Xlint:all,-path,-fallthrough"/>
@@ -545,7 +550,8 @@
 
     <target name="compile" depends="eclipse, src.depend" description="compile">
         <javac debug="${javac.debug}" deprecation="${javac.deprecation}"
-                  includes="**/*.java" destdir="${compiler}/generated/classes" 
classpathref="classpath" includeAntRuntime="true">
+                  includes="**/*.java" destdir="${compiler}/generated/classes" 
classpathref="classpath" includeAntRuntime="true"
+               source="${javac.src}" target="${javac.src}">
             <src path="${compiler}/src"/>
             <src path="${compiler}/generated/src"/>
             <compilerarg value="-Xlint:all,-path,-fallthrough,-cast"/>

Reply via email to