You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ad...@apache.org on 2016/01/12 16:23:32 UTC

git commit: [flex-falcon] [refs/heads/develop] - targeting java 1.6 so we can run from Flash Builder

Repository: flex-falcon
Updated Branches:
  refs/heads/develop cce1d2209 -> a8e8425a5


targeting java 1.6 so we can run from Flash Builder


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

Branch: refs/heads/develop
Commit: a8e8425a5950967387c6d60641bea2ac5a361c93
Parents: cce1d22
Author: Andy Dufilie <ad...@apache.org>
Authored: Tue Jan 12 10:05:59 2016 -0500
Committer: Andy Dufilie <ad...@apache.org>
Committed: Tue Jan 12 10:05:59 2016 -0500

----------------------------------------------------------------------
 compiler.jx/build.xml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a8e8425a/compiler.jx/build.xml
----------------------------------------------------------------------
diff --git a/compiler.jx/build.xml b/compiler.jx/build.xml
index 219cc28..ba28040 100644
--- a/compiler.jx/build.xml
+++ b/compiler.jx/build.xml
@@ -23,6 +23,11 @@
 		<path location="${basedir}" />
     </pathconvert>
 	
+	<!-- Options for <javac> tasks -->
+	<property name="javac.debug" value="true"/>
+	<property name="javac.deprecation" value="false"/>
+	<property name="javac.src" value="1.6"/>
+
 	<property name="src" value="${basedir_clean}/src" />
 	<property name="lib" value="${basedir_clean}/lib" />
 	
@@ -70,11 +75,12 @@
     </target>
 
 	<target name="compile">
-		<javac debug="true" deprecation="false"
+		<javac debug="true" deprecation="${javac.deprecation}"
             includes="**/*.java"
             excludes=""
             destdir="${classes.dir}"
-            classpathref="classpath">
+            classpathref="classpath"
+            source="${javac.src}" target="${javac.src}">
 			<src path="${src}" />
 			<classpath>
 				<pathelement path="${falcon.basedir}/generated/classes" />