flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adufi...@apache.org
Subject git commit: [flex-falcon] [refs/heads/develop] - targeting java 1.6 so we can run from Flash Builder
Date Tue, 12 Jan 2016 15:23:32 GMT
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 <adufilie@apache.org>
Authored: Tue Jan 12 10:05:59 2016 -0500
Committer: Andy Dufilie <adufilie@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" />


Mime
View raw message